agama/rust/agama-lib/share
2026-07-13 14:10:03 +01:00
..
examples Fix the variable field in JSonnet example 2025-08-17 18:33:08 -05:00
.gitignore Fix the JSON schema and validate it in CI (#2635) 2025-08-04 12:35:34 +02:00
examples space test fixtures: do not make an infinite directory loop with symlinks 2025-04-02 10:49:38 +02:00
examples%20percent test fixtures: do not make an infinite directory loop with symlinks 2025-04-02 10:49:38 +02:00
iscsi.schema.json Fix the JSON schema and validate it in CI (#2635) 2025-08-04 12:35:34 +02:00
package-lock.json Fix the JSON schema and validate it in CI (#2635) 2025-08-04 12:35:34 +02:00
package.json Fix the JSON schema and validate it in CI (#2635) 2025-08-04 12:35:34 +02:00
profile.schema.json Fixed in the backend for handling VLAN flags 2026-07-13 14:10:03 +01:00
README-weird-filenames.md agama profile validate: integration tests 2025-03-21 14:12:44 +01:00
README.md Fix the JSON schema and validate it in CI (#2635) 2025-08-04 12:35:34 +02:00
storage.model.schema.json schema: use separate definition for mdRaid 2025-05-16 12:57:42 +01:00
storage.schema.json agama-lib: fix title+description typos in schema (#2549) 2025-08-12 13:17:16 +02:00

JSON schema definition

See the JSON schema documentation for more details. The Agama schemas uses the Draft 2019-09 version.

Autoinstallation profile

The Agama autoinstallation profile JSON schema is defined in these files:

Agama REST API

The storage.model.schema.json file describes the structure of the storage data passed via the internal REST API. This is important only for Agama developers, it is not intended to be used by end users.

Validation

To verify that the definitions are correct run these commands:

# install needed NPM packages
npm ci

# verify the schema
npm run validate

These commands are run in the CI automatically whenever a schema file is modified.