experience-data-modeling.html

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

150 rules experience: data-modeling 124 in the file · 26 built-in or validator-only

Run this ruleset

Lint any matching artifact against this ruleset with the OpenLint CLI (the Spectral CLI gives the same results):

npx openlint lint api.yaml \
  --ruleset https://apicommons.org/assets/rulesets/experience-data-modeling.yaml

Or run every rule, including the 26 that are engine built-ins or need the validator's own functions, in the API Commons validator. The other 124 are inlined in the file below.

Ruleset definition

Download YAML

Loading…

Rules in this ruleset (150)

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