Skip to content

Commit ba7cf56

Browse files
authored
Update rttcode.v1.json
Signed-off-by: Nawder Loswin <umaywant2@duck.com>
1 parent 579281c commit ba7cf56

1 file changed

Lines changed: 83 additions & 14 deletions

File tree

docs/schemas/rttcode.v1.json

Lines changed: 83 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,74 @@
11
{
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+
672
"type": "object",
773
"additionalProperties": false,
874

@@ -15,31 +81,34 @@
1581
],
1682

1783
"properties": {
84+
1885
"rtt_version": {
19-
"type": "string",
20-
"const": "1.0.0",
86+
"type": "string",
87+
"const": "1.0.0",
2188
"description": "Version of the RTTcode packet schema."
2289
},
2390

2491
"tick": {
25-
"$ref": "./tick.v1.json"
92+
"$ref": "./tick.v1.json",
93+
"description": "Monotonic tick block — discrete time reference for the packet."
2694
},
2795

2896
"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,
34100
"description": "List of entities participating in the RTT micro‑regime."
35101
},
36102

37103
"environment": {
38-
"$ref": "./environment.v1.json"
104+
"$ref": "./environment.v1.json",
105+
"description": "Environment context block — boundary conditions and observability frame."
39106
},
40107

41108
"intent": {
42-
"$ref": "./intent.v1.json"
109+
"$ref": "./intent.v1.json",
110+
"description": "Intent classification block — purpose and domain routing metadata."
43111
}
112+
44113
}
45114
}

0 commit comments

Comments
 (0)