--- title: "State Schema" html_title: "Enroll State Schema" description: "The current JSON schema for Enroll harvest state.json bundles." ---
Schema

Harvest state.json schema

The schema below is served from /schema/state.schema.json and should match the schema vendored with the current Enroll codebase.

Validation behavior

enroll validate uses the vendored schema by default. You may pass a local schema path with --schema. HTTP(S) schemas are blocked unless --allow-remote-schema is explicitly set.

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

Current schema

Open JSON
Loading schema…