Schemas
Schemas
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.
Available Schemas
- #ComputerSystem.v1_23_0.ComputerSystem
- Odata-V4
- #PowerDistribution.v1_4_0.PowerDistribution
- #PowerDomain.v1_2_2.PowerDomain
- #PowerSupply.v1_6_0.PowerSupply
- Redfish-Schema-Pack-V1 Schema
- Redfish Schema Extension
- #Resource
- #Resource.v1_20_0
- DPS topology
Download All Schemas
Download Complete Schema Package - Contains all schema files in a single ZIP archive.
Usage
These schemas are used for:
- Validation - Both
dpsctlanddps-servervalidate topology files against these schemas - Development - 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 --filename topology.json
# Using external JSON schema validator
npm install -g ajv-cli
ajv validate -s schemas/topology/topology.schema.json -d topology.jsonFurther Reading
- Topologies Concept - Understanding topology structure
- Managing Topologies - Practical topology management
- DMTF Redfish Specification - Official Redfish documentation