schema change

This commit is contained in:
JMARyA 2024-03-06 13:15:41 +01:00
parent 32803e7ed4
commit 312ee9ac7f
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
37 changed files with 147 additions and 57 deletions

View file

@ -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 @@
}
}
]
}
}