feat: establish read-only DocForge MCP foundation
This commit is contained in:
commit
9702ed1265
32 changed files with 3323 additions and 0 deletions
24
schemas/node.schema.json
Normal file
24
schemas/node.schema.json
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://docforge.local/schema/node-v1.json",
|
||||
"title": "DocForge generic node metadata",
|
||||
"type": "object",
|
||||
"required": ["schema_version", "id", "title", "family", "authority", "status", "tags", "summary"],
|
||||
"properties": {
|
||||
"schema_version": { "const": 1 },
|
||||
"id": { "type": "string", "pattern": "^[a-z0-9][a-z0-9._-]{1,127}$" },
|
||||
"title": { "type": "string", "minLength": 1 },
|
||||
"family": { "type": "string", "minLength": 1 },
|
||||
"authority": { "enum": ["authoritative", "approved_plan", "derived", "proposal", "historical"] },
|
||||
"status": { "type": "string", "minLength": 1 },
|
||||
"tags": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
|
||||
"summary": { "type": "string", "minLength": 1 },
|
||||
"source_anchor": { "type": "string", "minLength": 1 },
|
||||
"content": { "type": "string", "minLength": 1 }
|
||||
},
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": { "type": "string", "pattern": "^[a-z0-9][a-z0-9._-]{1,127}$" },
|
||||
"uniqueItems": true
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue