FILE / ScuroNeko/scuroneko.dev
data/schemas/projects.schema.json
Исходный файл и его история в репозитории.
48 lines
1.0 KiB
JSON
48 lines
1.0 KiB
JSON
{
|
|
"$id": "https://scuroneko.dev/schemas/projects.schema.json",
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"description": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"key": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"links": {
|
|
"additionalProperties": {
|
|
"format": "uri",
|
|
"type": "string"
|
|
},
|
|
"type": "object"
|
|
},
|
|
"name": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"stack": {
|
|
"items": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
"status": {
|
|
"enum": ["active", "archive", "wip", "paused"],
|
|
"type": "string"
|
|
},
|
|
"tone": {
|
|
"$ref": "./shared.schema.json#/$defs/tone"
|
|
}
|
|
},
|
|
"required": ["key", "name", "description", "stack", "status", "tone"],
|
|
"type": "object"
|
|
},
|
|
"title": "Projects",
|
|
"type": "array"
|
|
}
|