docs/content/reference/guides/schemas.md
The following reference material documents some of the schemas we publish.
Authelia publishes several JSON Schema documents. These files are published in the following URL format (with the URL also being the schema ID):
https://www.authelia.com/schemas/<version>/json-schema/<name>.json
These schemas can be added to the top of a YAML file using the following format:
# yaml-language-server: $schema=https://www.authelia.com/schemas/<version>/json-schema/<name>.json
example: 'this is just an example'
Where:
<version> placeholder is in the format v<major>.<minor> i.e. for version 4.38.1 the <version> is replaced
by v4.38.<name> placeholder replaced by the name of the individual JSON Schema below.latest version refers to the latest released version of Authelia.next version refers to the latest commit to the master branch.Schema Name: configuration
The JSON Schema document for the main configuration file.
Schema Name: user-database
The JSON Schema document for the users database configuration file.
Schema Name: exports.totp
The JSON Schema document for the TOTP export file.
Schema Name: exports.webauthn
The JSON Schema document for the WebAuthn export file.
Schema Name: exports.identifiers
The JSON Schema document for the Identifiers export file.