schemas/note.schema.json hinzugefügt
All checks were successful
Deploy mindnet to llm-node / deploy (push) Successful in 3s
All checks were successful
Deploy mindnet to llm-node / deploy (push) Successful in 3s
This commit is contained in:
parent
a77176d10f
commit
1b47acea45
33
schemas/note.schema.json
Normal file
33
schemas/note.schema.json
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
cd ~/mindnet
|
||||||
|
mkdir -p schemas
|
||||||
|
cat > schemas/note.schema.json << 'JSON'
|
||||||
|
{
|
||||||
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||||
|
"title": "mindnet_note",
|
||||||
|
"type": "object",
|
||||||
|
"required": ["note_id", "title", "type", "status", "created", "path"],
|
||||||
|
"properties": {
|
||||||
|
"note_id": { "type": "string" },
|
||||||
|
"title": { "type": "string" },
|
||||||
|
"type": { "type": "string" },
|
||||||
|
"status": { "type": "string" },
|
||||||
|
"created": { "type": "string" },
|
||||||
|
"updated": { "type": "string" },
|
||||||
|
"tags": { "type": "array", "items": { "type": "string" } },
|
||||||
|
"area": { "type": "string" },
|
||||||
|
"project": { "type": "string" },
|
||||||
|
"priority": { "type": "number" },
|
||||||
|
"effort_min": { "type": "number" },
|
||||||
|
"due": { "type": "string" },
|
||||||
|
"people": { "type": "array", "items": { "type": "string" } },
|
||||||
|
"aliases": { "type": "array", "items": { "type": "string" } },
|
||||||
|
"references": { "type": "array", "items": { "type": "string" } },
|
||||||
|
"depends_on": { "type": "array", "items": { "type": "string" } },
|
||||||
|
"assigned_to":{ "type": "array", "items": { "type": "string" } },
|
||||||
|
"lang": { "type": "string" },
|
||||||
|
"path": { "type": "string" },
|
||||||
|
"hash_fulltext": { "type": "string" }
|
||||||
|
},
|
||||||
|
"additionalProperties": true
|
||||||
|
}
|
||||||
|
JSON
|
||||||
Loading…
Reference in New Issue
Block a user