FILE / ScuroNeko/scuroneko.dev
data/schemas/workstations.schema.json
Исходный файл и его история в репозитории.
88 lines
2.0 KiB
JSON
88 lines
2.0 KiB
JSON
{
|
|
"$id": "https://scuroneko.dev/schemas/workstations.schema.json",
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"actual": {
|
|
"type": "boolean"
|
|
},
|
|
"devices": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"key": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["key", "name"],
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"key": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"specs": {
|
|
"properties": {
|
|
"cpu": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"gpu": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"os": {
|
|
"type": "string"
|
|
},
|
|
"ram": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"storage": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"capacity": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["name", "capacity"],
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"tone": {
|
|
"$ref": "./shared.schema.json#/$defs/tone"
|
|
}
|
|
},
|
|
"required": ["key", "name", "tone"],
|
|
"type": "object"
|
|
},
|
|
"title": "Workstations",
|
|
"type": "array"
|
|
}
|