expanding the schemas
parent
6bd6a8406e
commit
b6cd9100a5
@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://ndumas.com/schemas/post.json",
|
||||
"title":"post",
|
||||
"description":"properties all notes must have",
|
||||
"type":"object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"$ref":"https://ndumas.com/schemas/note.json"
|
||||
},
|
||||
"date": {
|
||||
"type":"date"
|
||||
},
|
||||
"series": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type":"string",
|
||||
"uniqueItems": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["title","aliases"]
|
||||
}
|
Loading…
Reference in New Issue