Skip to main content

Schema

The Schema Guide is sequenced by default for "practical use": basic information that will let you be productive quickly. You'll have a solid grasp of what's possible just reading the first few guides and poking at the examples.

If you prefer to understand things from first principles,

The Configurator uses the schema for two purposes:

  • process maps of property path assignments (dotted hierarchical property names with values) produced by configuration sources.
  • validate a candidate configuration object

Each concept is described separately.

For the following sections, we'll assume we've done this:

import { Schema } from '@versionzero/configurator';

const schema = new Schema('object');