{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Rezonans public research graph", "description": "An extensible exchange format; reference integrity is checked by tools/validate.mjs.", "type": "object", "required": [ "schema_version", "version", "title", "intention", "nodes", "edges", "regions", "paths", "evidence", "transformations", "revisions", "challenge_index", "release_scope" ], "properties": { "schema_version": { "const": "1.0.0" }, "version": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 }, "intention": { "type": "object" }, "release_scope": { "type": "object" }, "nodes": { "type": "array", "items": { "$ref": "#/$defs/node" } }, "edges": { "type": "array", "items": { "$ref": "#/$defs/edge" } }, "regions": { "type": "array", "items": { "$ref": "#/$defs/region" } }, "paths": { "type": "array", "items": { "$ref": "#/$defs/path" } }, "evidence": { "type": "array", "items": { "$ref": "#/$defs/evidence" } }, "transformations": { "type": "array", "items": { "$ref": "#/$defs/transformation" } }, "revisions": { "type": "array", "items": { "$ref": "#/$defs/revision" } }, "challenge_index": { "type": "array", "items": { "$ref": "#/$defs/challenge" } }, "documents": { "type": "array", "items": { "type": "object", "required": [ "id", "title", "language", "epistemic_kind", "markdown", "path", "sha256", "linked_nodes", "section_ids" ], "properties": { "id": { "type": "string" }, "title": { "type": "string" }, "language": { "const": "en" }, "epistemic_kind": { "enum": [ "reconstruction", "model_proposed" ] }, "markdown": { "type": "string" }, "path": { "type": "string", "pattern": "^documents/[a-z0-9-]+\\.md$" }, "sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" }, "linked_nodes": { "type": "array", "items": { "type": "string" } }, "section_ids": { "type": "array", "items": { "type": "string" } } } } }, "document_sections": { "type": "array", "items": { "type": "object", "required": [ "id", "document", "order", "title", "markdown", "epistemic_kind" ], "properties": { "order": { "type": "integer", "minimum": 1 }, "contains_editorial_intervention": { "type": "boolean" } } } }, "document_links": { "type": "array", "items": { "type": "object", "required": [ "id", "document", "node", "relation", "epistemic_kind", "warrant" ] } } }, "additionalProperties": true, "$defs": { "representation": { "type": "object", "required": [ "name", "affords", "loses", "epistemic_kind" ], "properties": { "name": { "type": "string", "minLength": 1 }, "affords": { "type": "string", "minLength": 1 }, "loses": { "type": "string", "minLength": 1 }, "epistemic_kind": { "const": "reconstruction" } }, "additionalProperties": true }, "node": { "type": "object", "required": [ "id", "title", "question", "formulation", "regions", "epistemic_kind", "evidence", "representations", "tension", "challenge", "next_move", "development", "formal_status", "version" ], "properties": { "id": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 }, "question": { "type": "string", "minLength": 1 }, "formulation": { "type": "string", "minLength": 1 }, "regions": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "epistemic_kind": { "const": "reconstruction" }, "evidence": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "representations": { "type": "array", "minItems": 2, "items": { "$ref": "#/$defs/representation" } }, "tension": { "type": "string", "minLength": 1 }, "challenge": { "type": "string", "minLength": 1 }, "next_move": { "type": "object", "required": [ "text", "epistemic_kind" ], "properties": { "text": { "type": "string", "minLength": 1 }, "epistemic_kind": { "const": "model_proposed" } }, "additionalProperties": true }, "development": { "type": "string", "minLength": 1 }, "formal_status": { "const": "open_problem" }, "version": { "type": "integer", "minimum": 1 } }, "additionalProperties": true }, "edge": { "type": "object", "required": [ "id", "from", "to", "relation", "warrant", "epistemic_kind", "evidence" ], "properties": { "id": { "type": "string", "minLength": 1 }, "from": { "type": "string", "minLength": 1 }, "to": { "type": "string", "minLength": 1 }, "relation": { "type": "string", "minLength": 1 }, "warrant": { "type": "string", "minLength": 1 }, "epistemic_kind": { "enum": [ "corpus_evidence", "reconstruction", "retrospective_connection", "model_proposed" ] }, "evidence": { "type": "array", "items": { "type": "string", "minLength": 1 } } }, "additionalProperties": true }, "evidence": { "type": "object", "required": [ "id", "statement", "epistemic_kind", "rendering", "scope" ], "properties": { "id": { "type": "string", "minLength": 1 }, "statement": { "type": "string", "minLength": 1 }, "epistemic_kind": { "const": "corpus_evidence" }, "rendering": { "const": "editorial_paraphrase" }, "witnessed_periods": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "scope": { "type": "string", "minLength": 1 } }, "additionalProperties": true }, "region": { "type": "object", "required": [ "id", "title", "description", "nodes" ], "properties": { "id": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 }, "description": { "type": "string", "minLength": 1 }, "nodes": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "epistemic_kind": { "enum": [ "corpus_evidence", "reconstruction", "retrospective_connection", "model_proposed" ] } }, "additionalProperties": true }, "path": { "type": "object", "required": [ "id", "title", "purpose", "steps", "epistemic_kind", "kind", "caution" ], "properties": { "id": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 }, "purpose": { "type": "string", "minLength": 1 }, "steps": { "type": "array", "minItems": 2, "items": { "type": "object", "required": [ "node", "reason" ], "properties": { "node": { "type": "string", "minLength": 1 }, "reason": { "type": "string", "minLength": 1 } }, "additionalProperties": true } }, "epistemic_kind": { "const": "model_proposed" }, "kind": { "const": "suggested_reading_route" }, "caution": { "type": "string", "minLength": 1 } }, "additionalProperties": true }, "transformation": { "type": "object", "required": [ "id", "node", "from_representation", "to_representation", "operation", "candidate_invariants", "possible_losses", "epistemic_kind", "evidence", "validation_status" ], "properties": { "id": { "type": "string", "minLength": 1 }, "node": { "type": "string", "minLength": 1 }, "from_representation": { "type": "string", "minLength": 1 }, "to_representation": { "type": "string", "minLength": 1 }, "operation": { "type": "string", "minLength": 1 }, "candidate_invariants": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "possible_losses": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "epistemic_kind": { "enum": [ "corpus_evidence", "reconstruction", "retrospective_connection", "model_proposed" ] }, "evidence": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "validation_status": { "type": "string", "minLength": 1 } }, "additionalProperties": true }, "revision": { "type": "object", "required": [ "id", "title", "nodes", "epistemic_kind", "stages", "unresolved" ], "properties": { "id": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 }, "nodes": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "epistemic_kind": { "enum": [ "corpus_evidence", "reconstruction", "retrospective_connection", "model_proposed" ] }, "period": { "type": "string", "minLength": 1 }, "stages": { "type": "array", "minItems": 2, "items": { "type": "object", "required": [ "label", "statement", "epistemic_kind", "evidence" ], "properties": { "label": { "type": "string", "minLength": 1 }, "statement": { "type": "string", "minLength": 1 }, "epistemic_kind": { "enum": [ "corpus_evidence", "reconstruction", "retrospective_connection", "model_proposed" ] }, "evidence": { "type": "array", "items": { "type": "string", "minLength": 1 } } }, "additionalProperties": true } }, "unresolved": { "type": "string", "minLength": 1 } }, "additionalProperties": true }, "challenge": { "type": "object", "required": [ "id", "node", "question", "epistemic_kind", "context_evidence" ], "properties": { "id": { "type": "string", "minLength": 1 }, "node": { "type": "string", "minLength": 1 }, "question": { "type": "string", "minLength": 1 }, "epistemic_kind": { "const": "model_proposed" }, "context_evidence": { "type": "array", "items": { "type": "string", "minLength": 1 } } }, "additionalProperties": true } } }