Add schema description and JSON schema files

This commit is contained in:
Olli 2025-08-28 14:36:47 +02:00
commit 529efb3668
4 changed files with 156 additions and 0 deletions

22
schema/project.json Normal file
View file

@ -0,0 +1,22 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.suruatoel.xyz/codes/protime/project.json",
"title": "Project",
"description": "A project entry",
"type": "object",
"properties": {
"id": {
"description": "",
"type": "string",
"format": "uuid"
},
"title": {
"description": "",
"type": "string"
}
},
"required": [
"id",
"title"
]
}