Json Structure

A complement to JSON Schema that describes the shape of resources in a way that is optimized for human comprehension and code-generation — what fields exist, how they relate, and what each is for — rather than for runtime validation. JSON Structure files sit alongside JSON Schema files in the same repository; the schema enforces correctness, the structure communicates intent. Together they form a richer picture of a resource than either provides alone.

Also known as: Structure, Resource Structure

Example

json-structure.yaml
- type: JSONStructure
  url: json-structure/example-resource-structure.json

Standards

Media Types

Risk & Compliance

Security: Structure documents describe the surface area of an API's resources in detail; treat them as you would JSON Schema or OpenAPI. Field names that suggest internal-only attributes (debug, internal_id, source_record) should be omitted from public structure documents, not just hidden behind authorization.

Tools

Suggested Metrics

Example Implementations

Related Properties

Tags


All Community Properties