ConfigurationSchema

ConfigurationSchema is the root class of one configuration definition.

A configuration file carries $schema, $definition, and $definitionVersion in front of its data. $schema is kept on the instance as schema_ref so that a re-exported file references the same schema it was read from; the other two are derived from the class when exporting.

Inherits from: ConfigModel: The base configuration model class.

Member Functions:

schema_ref (field)

Returns

Annotated[str | None, Field(default=None, alias=SCHEMA_KEY, exclude=True, repr=False)]