The snapshot and manifest schemas, both example dataspaces, and the shared text renderer now pass the fixture validator and the negative contract tests. JSON, NDJSON, and Markdown frontmatter publish a snapshot only when rights, identity, and references allow it. CONTENT-WP-0001 and CONTENT-WP-0003 are marked finished against those artifacts. CONTENT-WP-0000-T04 stays open. SCOPE.md and the 19:05 scope-against-intent note record the stop. Assistant: grok Assistant-Session: 01a130f1-abfb-7d71-9cd6-a8b75ec7f95a
73 lines
2.2 KiB
JSON
73 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://content-explorer.local/schemas/manifest-0.1.json",
|
|
"title": "Content Explorer dataspace manifest v0.1",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["schemaVersion", "id", "home", "navigation", "kindViews", "panels", "relationLabels", "factPolicy"],
|
|
"properties": {
|
|
"schemaVersion": {"const": "0.1"},
|
|
"id": {"type": "string", "pattern": "^[a-z0-9-]+$"},
|
|
"home": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["heading", "featuredKinds"],
|
|
"properties": {
|
|
"heading": {"type": "string", "minLength": 1},
|
|
"featuredKinds": {"type": "array", "items": {"type": "string"}, "minItems": 1}
|
|
}
|
|
},
|
|
"navigation": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["label", "kinds"],
|
|
"properties": {
|
|
"label": {"type": "string"},
|
|
"kinds": {"type": "array", "items": {"type": "string"}, "minItems": 1}
|
|
}
|
|
}
|
|
},
|
|
"kindViews": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["columns", "facets"],
|
|
"properties": {
|
|
"columns": {"type": "array", "items": {"type": "string"}, "minItems": 1},
|
|
"facets": {"type": "array", "items": {"type": "string"}}
|
|
}
|
|
}
|
|
},
|
|
"panels": {
|
|
"type": "array",
|
|
"items": {"enum": ["summary", "relations", "evidence", "claims"]}
|
|
},
|
|
"relationLabels": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["forward", "inverse"],
|
|
"properties": {
|
|
"forward": {"type": "string"},
|
|
"inverse": {"type": "string"}
|
|
}
|
|
}
|
|
},
|
|
"acyclicPredicates": {
|
|
"type": "array",
|
|
"items": {"type": "string"}
|
|
},
|
|
"factPolicy": {"enum": ["show-all", "preferred", "withhold"]},
|
|
"theme": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["accent"],
|
|
"properties": {"accent": {"type": "string"}}
|
|
}
|
|
}
|
|
}
|