FILE / ScuroNeko/scuroneko.dev
data/schemas/stack.schema.json
Исходный файл и его история в репозитории.
40 lines
821 B
JSON
40 lines
821 B
JSON
{
|
|
"$id": "https://scuroneko.dev/schemas/stack.schema.json",
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"hide": {
|
|
"type": "boolean"
|
|
},
|
|
"key": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"tags": {
|
|
"items": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
"tone": {
|
|
"$ref": "./shared.schema.json#/$defs/tone"
|
|
},
|
|
"years": {
|
|
"minimum": 0,
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": ["key", "name", "tone", "years"],
|
|
"type": "object"
|
|
},
|
|
"title": "Stack",
|
|
"type": "array"
|
|
}
|