schema change
This commit is contained in:
parent
32803e7ed4
commit
312ee9ac7f
37 changed files with 147 additions and 57 deletions
56
schema.json
56
schema.json
|
@ -3,24 +3,26 @@
|
|||
"title": "Markdown Note",
|
||||
"description": "Knowledge Base Markdown note on a topic",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"required": ["obj"],
|
||||
"required": [
|
||||
"obj"
|
||||
],
|
||||
"properties": {
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Note Tags",
|
||||
"description": "List of tags asssociated with the note"
|
||||
},
|
||||
"aliases": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Note Aliases",
|
||||
"description": "List of aliases of the note"
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Note Tags",
|
||||
"description": "List of tags asssociated with the note"
|
||||
},
|
||||
"aliases": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Note Aliases",
|
||||
"description": "List of aliases of the note"
|
||||
},
|
||||
"website": {
|
||||
"title": "Website",
|
||||
"description": "Associated website with the note",
|
||||
|
@ -64,6 +66,22 @@
|
|||
"type": "string",
|
||||
"format": "uri"
|
||||
},
|
||||
"mime": {
|
||||
"title": "MIME Type",
|
||||
"description": "The MIME Type of the item the note is about",
|
||||
"type": "string"
|
||||
},
|
||||
"extension": {
|
||||
"title": "File Extension",
|
||||
"description": "The file extension of the item the note is about",
|
||||
"type": [
|
||||
"string",
|
||||
"array"
|
||||
],
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"obj": {
|
||||
"title": "Object Type",
|
||||
"description": "Meta information about the notes general classification",
|
||||
|
@ -71,7 +89,7 @@
|
|||
"enum": [
|
||||
"application",
|
||||
"os",
|
||||
"codec",
|
||||
"format",
|
||||
"filesystem",
|
||||
"emulator",
|
||||
"concept",
|
||||
|
@ -166,4 +184,4 @@
|
|||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue