This document is the field-level guide to the public capsule and validator-envelope schemas.
If you first need to decide which schema file to open, start with schema-family-reference.md. If you need source-level consumer artifacts, continue with type-projections.md.
../schemas/capsule-schema.jsonCanonical public schema for the five-element capsule artifact.../schemas/neuro-concentrate.schema.jsonPublic schema for the semantic summary layer nested underneuro_concentrate.../schemas/validator-api-envelopes.schema.jsonPublic schema bundle for validator request and response envelopes.../schemas/archive-bundle.schema.jsonPublic portability/export contract for archive bundles.type-projections.mdPublic-safe TypeScript and Zod projections for consumers who need source-level artifacts alongside JSON Schema.
- Read
../schemas/capsule-schema.jsonfor the outer artifact contract. - Read
../schemas/neuro-concentrate.schema.jsonfor the nested semantic layer. - Read
../schemas/validator-api-envelopes.schema.jsonfor HTTP request and response shapes. - Use
../openapi/validate.openapi.jsonwhen route and transport-level semantics matter.
Every public capsule contains exactly five top-level roots, and the top-level object is additionalProperties: false:
metadatacore_payloadneuro_concentraterecursive_layerintegrity_sha3_512
This means outside consumers should not expect sixth top-level roots to be preserved by the public contract.
metadata is required and keeps identity, lifecycle, timestamps, and semantic hash material. It allows extra properties, so the public schema is intentionally strict about the common structural contract but not closed against every future metadata extension.
Required fields:
capsule_idNon-empty string identity for the artifact.typeEnum:foundation,concept,operations,physical_object,project.subtypeEnum:atomic,hub.statusEnum:draft,active,frozen,archived,legacy,sovereign,quarantined.versionSemantic-version-like string matchingX.Y.Z.semantic_hashDash-separated lowercase token sequence matching the semantic identity used by the public neuro layer.
Common optional fields:
authorHuman-readable author string when the public artifact needs authorship context.created_atTimestamp string. The public schema does not force a timestamp format, so consumers should not assume ISO parsing unless their own contract requires it.updated_atTimestamp string for later edits.nameHuman-readable label for browsing or review.sourceNested provenance pointer object.
source is optional, but when present it is additionalProperties: false and only permits:
uriUpstream location or source pointer.sha256Upstream file hash when available.typeShort source-type label.
This is one of the few nested public objects that is intentionally closed, so consumers should not depend on arbitrary extra keys under source.
core_payload is required and is intentionally open for domain-specific content. It allows extra properties.
Required fields:
content_typeString. Preferred public values aremarkdown,json, ortext, but validator-compatible runtimes may allow more.contentString payload body.
Optional common field:
truncation_noteString note explaining a public-safe truncation or projection cut.
The important contract boundary here is that the public schema fixes a small structural wrapper while leaving most payload semantics to the owning capsule type and validator behavior.
neuro_concentrate is required and delegates to ../schemas/neuro-concentrate.schema.json. The nested object allows extra properties, but it requires four public fields:
summaryString. Validator policy expects roughly 70 to 160 words even though the JSON Schema itself does not count words.keywordsArray of 5 to 15 non-empty strings.confidence_vectorClosed object with exactly six dimensions:extractionsynthesislinkingprovenance_coveragevalidation_scorecontradiction_pressure
semantic_hashString matching the same dash-separated semantic-hash pattern used inmetadata.semantic_hash.
The public expectation is semantic-hash parity between metadata.semantic_hash and neuro_concentrate.semantic_hash, even though that parity is validator behavior rather than a plain JSON Schema cross-field constraint.
recursive_layer is required and intentionally open for future nested graph context. It allows extra properties, but it requires:
linksArray of link objects.
Optional common field:
epistemic_ledgerArray with unconstrained item shape in the public contract.
Each link object allows extra properties, but it requires:
target_idNon-empty string identifier for the linked capsule.relation_typeEnum:supports,contradicts,extends,derived_from,depends_on,references,duplicates,implements,part_of.
Use relation-types.md when you need human-readable meaning for relation semantics. Use the schema when you need enum enforcement.
integrity_sha3_512 is required and must match a 128-character lowercase hex string.
The public contract treats this as the digest of the canonicalized first four roots. In other words, integrity is not a decorative checksum field. It is the final sealing boundary for the published artifact.
For the shortest public-safe recomputation path, see integrity-recipes.md and ../references/contract-constants.json.
The validator HTTP contract is published separately under ../schemas/validator-api-envelopes.schema.json. The main public envelope families are:
- request families:
validateSingleRequestvalidateBatchRequestvalidateFixRequest
- response families:
validatePassResponsevalidateFailResponsevalidateBatchResponsevalidateFixResponsegatesResponsestatsResponsesimpleErrorResponse
Shared nested definitions include:
validationOptionsPublic request flags such asskipG16,allowRefutes, andexistingIds.validatorIssueIssue object withgate,path, andmessage.warningItemCurrently open object shape for bounded warning payloads.gateDescriptorPublic gate metadata withid,name,description,severity, andautoFixable.
Use api-envelopes.md when you want the prose view of those envelopes. Use route-reference.md and ../examples/api/ when you want real request and response examples.
capsule-schema.jsonis strongest for outer artifact shape, but the live validator remains stronger for edge-case semantics.neuro-concentrate.schema.jsonis strongest for the nested summary structure, but validator policy still adds word-count and parity expectations not fully expressible in plain JSON Schema.validator-api-envelopes.schema.jsonis strongest for public request and response object shape, but OpenAPI and live validator behavior remain stronger for route-level semantics and runtime-only details.type-projections.mdandprojections/are convenience layers. They do not outrank the schema files.