Round 2 candidate 7a585aa9606863a0d44a26094b585160914e3d8fd5f13436b56470cd69e6d867
(Rocko, packet fafee2f22), approved by Filbert in comment 28707.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
40 lines
708 B
JSON
40 lines
708 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "mosaic:project-layout:1:requirement",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"recordVersion",
|
|
"id",
|
|
"title",
|
|
"text",
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"recordVersion": {
|
|
"const": 1
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 512
|
|
},
|
|
"text": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 262144
|
|
},
|
|
"status": {
|
|
"enum": [
|
|
"draft",
|
|
"accepted",
|
|
"complete"
|
|
]
|
|
}
|
|
}
|
|
}
|