All checks were successful
Deploy mindnet to llm-node / deploy (push) Successful in 3s
34 lines
1.2 KiB
JSON
34 lines
1.2 KiB
JSON
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
|