Topology Schema Reference#
DPS uses JSON schemas to validate topology definitions and ensure data consistency. These schemas are based on the DMTF Redfish specification with DPS-specific extensions.
These pages are generated from the schema files in the dcpower
repository. Do not edit them by hand; edit
scripts/generate-schema-pages.sh instead.
Available Schemas#
Usage#
These schemas are used for:
Validation - Both
dpsctlanddps-servervalidate topology files against these schemasDevelopment - Use as reference when creating topology definitions
Tooling - IDE integration for JSON validation and autocompletion
Schema Validation#
To validate your topology files against these schemas:
# Using dpsctl (recommended)
dpsctl topology validate topology.json
# Using an external JSON schema validator
npm install -g ajv-cli
ajv validate -s schemas/topology/topology.schema.json -d topology.json
Further Reading#
Topologies - Understanding topology structure
Managing Topologies - Practical topology management
DMTF Redfish Specification - Official Redfish documentation