FILE / ScuroNeko/scuroneko.dev

data/schemas/workstations.schema.json

Исходный файл и его история в репозитории.
FILE bbfaf5ccc5285746d064c985567bcebc1e19d919
Files
scuroneko.dev/data/schemas/workstations.schema.json
T

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"
}