JSON Structure
12 rulesJSON Structure documents — data shapes and modeling.
Document JSON Structure ID URI
info
experience: consistencyexperience: discoverability
spec: document
$id should be a stable absolute URI (https:// or urn:) identifying the schema.
Document Require ID
info
experience: data-modelingexperience: consistency
spec: schemas
The `$id` property should be present.
Document Require Name
info
experience: data-modelingexperience: consistency
spec: schemas
The `name` property should be present.
Document Require Property
info
experience: data-modelingexperience: consistency
spec: schemas
The `properties` property should be present.
Document Require Type
info
experience: data-modelingexperience: consistency
spec: schemas
The `type` property should be present.
Schema JSON Structure Property Camel Case
info
experience: namingexperience: consistency
spec: schemas
Property names should be camelCase.
Schema JSON Structure Property Require Description
info
experience: documentation
spec: schemas
Properties should be documented with a description.
Schema JSON Structure Property Require Type
info
experience: data-modeling
spec: schemas
Properties should declare a type.
Schema JSON Structure Root Type Object
info
experience: data-modeling
spec: document
The root type of a JSON Structure document is typically object.
Schema JSON Structure URI
info
experience: consistencyexperience: discoverability
spec: schemas
$schema should be the URI of the JSON Structure meta-schema.
Schema Property Require Type
info
experience: data-modelingexperience: consistency
spec: properties
The `type` property of each property should be present.
Schema Require
info
experience: data-modelingexperience: consistency
spec: schemas
The `$schema` property should be present.
12 of 12 rules shown · ← all artifacts