JSON contract overview¶
CCB's JSON contract is not defined by one universal Schema. Runtime loaders and tests define
behaviour; DynamicDataLoader registrations define top-level type dispatch; schemas,
validators, and generated inventories record the subset that machines can prove. Legacy prose
and data examples are leads, not overrides for those contracts.
Current machine coverage¶
- The JSON object-type registry indexes 190 unique registered types and 191 registration calls.
- 183 registered types have top-level instance candidates among 6,731 audited tracked JSON files.
- Seven registered types have no instance candidate; the inventory found no observed, unregistered top-level string type.
- All 190 general Schema statuses are
none; the registry must not be presented as a complete game JSON Schema. - Field contracts are
unclassifiedfor 189 types and currentlypartialforeffect_on_condition.
These figures describe the generated inventories at commit
71f403ecea0dcf16be8fe93c661acbe2a4906cc6. They do not claim that every field, default,
inheritance rule, or cross-ID reference has been classified.
How an object acquires meaning¶
- The JSON parser proves that the file syntax and root container are readable.
- A top-level object's string
typeenters registry dispatch. - Its loader or factory decides mandatory and optional fields, defaults, and errors in source.
- Factory finalization/checks and cross-reference validation may reject it later.
- Runtime tests prove specific behaviour and compatibility.
An occurrence in data is therefore only lexical instance evidence. A mention in legacy prose is
also only lexical_only evidence. Confirm a field in the loader, tests, and validators named by
the registry.
Where to start¶
- To determine whether a
typeis registered, use the generated registry. - Before changing inherited objects, read inheritance and copy-from.
- Before submitting, follow JSON validation and evidence levels.
- For EOCs, start with EOC contracts and lifecycle.
- For a reproducible fixture, use the complete JSON/EOC mod tutorial.
If this page conflicts with an inventory, Schema, registration, or test, mark the page stale and repair it. Do not change runtime contracts merely to match prose.