|
1 | 1 | { |
2 | | - "$schema": "https://json-schema.org/draft/2020-12/schema", |
3 | | - "$id": "https://www.triadicframeworks.org/schemas/rttcode.v1.json", |
4 | | - "title": "RTTcode Packet (v1)", |
5 | | - "description": "Master RTTcode packet schema composed of tick, entities, environment, and intent blocks.", |
| 2 | + "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | + "$id": "https://www.triadicframeworks.org/schemas/rttcode.v1.json", |
| 4 | + "$comment": "Canonical RTTcode packet schema — TriadicFrameworks. Refreshed 2026-05-06 to align with /docs/rtt/codes/ module migration and session context conventions.", |
| 5 | + |
| 6 | + "title": "RTTcode Packet (v1)", |
| 7 | + "description": "Master RTTcode packet schema composed of tick, entities, environment, and intent blocks. Defines the canonical payload structure for QR-compatible metadata identifiers across all TriadicFrameworks domains.", |
| 8 | + |
| 9 | + "_meta": { |
| 10 | + "module": "RTT/codes", |
| 11 | + "canonical_id": "RTT_CODES", |
| 12 | + "module_type": "Infrastructure-Schema", |
| 13 | + "role": "engine", |
| 14 | + "version": "1.1", |
| 15 | + "status": "canon-stable", |
| 16 | + "author": "Nawder Loswin", |
| 17 | + "license": "MIT", |
| 18 | + "canonical_path": "/docs/schemas/rttcode.v1.json", |
| 19 | + "module_home": "/docs/rtt/codes/", |
| 20 | + "module_url": "https://www.triadicframeworks.org/rtt/codes/", |
| 21 | + "module_json": "https://www.triadicframeworks.org/rtt/codes/RTT_codes_module.json", |
| 22 | + "repository": "https://github.com/umaywant2/TriadicFrameworks", |
| 23 | + "last_updated": "2026-05-06", |
| 24 | + "migration_note": "Module content relocated from /docs/rttcodes/ to /docs/rtt/codes/ — schema location at /docs/schemas/ unchanged. All $ref paths remain valid (relative to schemas directory)." |
| 25 | + }, |
| 26 | + |
| 27 | + "_session_context": { |
| 28 | + "canon": "active (rtt-codes-core)", |
| 29 | + "modules": "schema → validators → generators → style → examples → domain payloads", |
| 30 | + "drift": "minimal (metadata-locked)", |
| 31 | + "coherence": "stable (metadata grammar)", |
| 32 | + "version": "1.1 (codes-refreshed)", |
| 33 | + "format": "json-schema + metadata", |
| 34 | + "front_door": "exists (RTT/codes root)", |
| 35 | + "every_page": "stands alone + AI-parsable + schema-aware", |
| 36 | + "audience": "developers + researchers + tool authors + AIs" |
| 37 | + }, |
| 38 | + |
| 39 | + "_version_history": [ |
| 40 | + { |
| 41 | + "version": "1.0", |
| 42 | + "date": "2025-01-01", |
| 43 | + "note": "Initial schema release at /docs/schemas/rttcode.v1.json. Module home at /docs/rttcodes/." |
| 44 | + }, |
| 45 | + { |
| 46 | + "version": "1.1", |
| 47 | + "date": "2026-05-06", |
| 48 | + "note": "Metadata and session context refresh. Module home migrated to /docs/rtt/codes/. Added _meta, _session_context, _domains, _related_schemas, _version_history. All $ref paths and $id unchanged." |
| 49 | + } |
| 50 | + ], |
| 51 | + |
| 52 | + "_domains": { |
| 53 | + "description": "Recognized RTTcode domain values. Each domain maps to a color palette and artifact classification.", |
| 54 | + "values": [ |
| 55 | + "rtt", |
| 56 | + "set", |
| 57 | + "substrate", |
| 58 | + "observer", |
| 59 | + "governance", |
| 60 | + "docs", |
| 61 | + "other" |
| 62 | + ] |
| 63 | + }, |
| 64 | + |
| 65 | + "_related_schemas": [ |
| 66 | + { "name": "tick.v1.json", "path": "./tick.v1.json", "role": "Monotonic tick block" }, |
| 67 | + { "name": "entity.v1.json", "path": "./entity.v1.json", "role": "Entity participation block" }, |
| 68 | + { "name": "environment.v1.json", "path": "./environment.v1.json", "role": "Environment context block" }, |
| 69 | + { "name": "intent.v1.json", "path": "./intent.v1.json", "role": "Intent classification block" } |
| 70 | + ], |
| 71 | + |
6 | 72 | "type": "object", |
7 | 73 | "additionalProperties": false, |
8 | 74 |
|
|
15 | 81 | ], |
16 | 82 |
|
17 | 83 | "properties": { |
| 84 | + |
18 | 85 | "rtt_version": { |
19 | | - "type": "string", |
20 | | - "const": "1.0.0", |
| 86 | + "type": "string", |
| 87 | + "const": "1.0.0", |
21 | 88 | "description": "Version of the RTTcode packet schema." |
22 | 89 | }, |
23 | 90 |
|
24 | 91 | "tick": { |
25 | | - "$ref": "./tick.v1.json" |
| 92 | + "$ref": "./tick.v1.json", |
| 93 | + "description": "Monotonic tick block — discrete time reference for the packet." |
26 | 94 | }, |
27 | 95 |
|
28 | 96 | "entities": { |
29 | | - "type": "array", |
30 | | - "items": { |
31 | | - "$ref": "./entity.v1.json" |
32 | | - }, |
33 | | - "minItems": 1, |
| 97 | + "type": "array", |
| 98 | + "items": { "$ref": "./entity.v1.json" }, |
| 99 | + "minItems": 1, |
34 | 100 | "description": "List of entities participating in the RTT micro‑regime." |
35 | 101 | }, |
36 | 102 |
|
37 | 103 | "environment": { |
38 | | - "$ref": "./environment.v1.json" |
| 104 | + "$ref": "./environment.v1.json", |
| 105 | + "description": "Environment context block — boundary conditions and observability frame." |
39 | 106 | }, |
40 | 107 |
|
41 | 108 | "intent": { |
42 | | - "$ref": "./intent.v1.json" |
| 109 | + "$ref": "./intent.v1.json", |
| 110 | + "description": "Intent classification block — purpose and domain routing metadata." |
43 | 111 | } |
| 112 | + |
44 | 113 | } |
45 | 114 | } |
0 commit comments