--- title: "Schema" layout: "schema" html_title: "Enroll state.json schema" description: "The current JSON Schema for Enroll harvest state.json bundles." og_title: "Enroll state.json schema" og_description: "View the current Enroll JSON Schema and use it to validate harvest bundles." og_type: "article" ---
Harvest schema

Current state.json schema

Enroll validates harvest bundles against the vendored JSON Schema unless you pass --no-schema. The same schema is published here for inspection and CI pinning.

Validate with the vendored schema

$ enroll validate ./harvest

Validate with this hosted schema

$ enroll validate ./harvest \
  --schema https://enroll.sh/schema/state.schema.json \
  --allow-remote-schema

Remote schema fetching is disabled by default and must be explicitly allowed.

Loading schema...