experience-data-modeling.html

Well-formed schemas, types, and constraints for clean, validatable data.

143 rules experience: data-modeling 118 inlined · 25 from the engine

Run this ruleset

Lint any matching artifact against this ruleset with the Spotlight CLI:

npm i -g @spotlight-rules/spotlight-cli
spotlight lint api.yaml \
  --ruleset https://apicommons.org/assets/rulesets/experience-data-modeling.spotlight.yaml

Or load it into the browser validator, post it to the HTTP API, or wire it into a CI gate. 25 of these rules are the engine's built-ins (they come with spotlight:*); the other 118 are inlined in the file below.

Ruleset definition

Download YAML

Loading…

Rules in this ruleset (143)

Skill Metadata Object Agent Skill
Arazzo Document Schema Arazzo engine
Asyncapi Message Examples AsyncAPI engine
Asyncapi Payload AsyncAPI engine
Asyncapi Payload Default AsyncAPI engine
Asyncapi Payload Examples AsyncAPI engine
Asyncapi Schema AsyncAPI engine
Asyncapi Schema Default AsyncAPI engine
Asyncapi Schema Examples AsyncAPI engine
Document Require ID JSON Schema
Document Require Type JSON Schema
Schema Require JSON Schema
Document Require ID JSON Structure
Document Require Name JSON Structure
Document Require Property JSON Structure
Document Require Type JSON Structure
Schema Require JSON Structure
Array Items OpenAPI engine
Duplicated Entry In Enum OpenAPI engine
OAS3 Schema OpenAPI engine
OAS3 Unused Component OpenAPI engine
OAS3 Valid Media Example OpenAPI engine
OAS3 Valid Schema Example OpenAPI engine
Typed Enum OpenAPI engine
Document Require Name Rate Limits
Limit Max Positive Rate Limits
Limit Require Name Rate Limits

← All experience rulesets