agama/rust/share/system.dasd.schema.json
David Díaz González a8f3155d21
Fix CI schema validation
Co-Authored-By: José Iván López González <jlopez@suse.com>
2026-02-25 09:20:51 +00:00

44 lines
1.1 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://github.com/openSUSE/agama/blob/master/rust/share/system.dasd.schema.json",
"title": "System",
"description": "API description of the DASD system",
"type": "object",
"additionalProperties": false,
"required": ["devices"],
"properties": {
"devices": {
"description": "DASD devices",
"type": "array",
"items": { "$ref": "#/$defs/device" }
}
},
"$defs": {
"device": {
"type": "object",
"additionalProperties": false,
"required": [
"channel",
"deviceName",
"type",
"diag",
"accessType",
"partitionInfo",
"status",
"active",
"formatted"
],
"properties": {
"channel": { "type": "string" },
"deviceName": { "type": "string" },
"type": { "type": "string" },
"diag": { "type": "boolean" },
"accessType": { "type": "string" },
"partitionInfo": { "type": "string" },
"status": { "type": "string" },
"active": { "type": "boolean" },
"formatted": { "type": "boolean" }
}
}
}
}