Files
pikasTech-HWLAB/protocol/schemas/project.schema.json
T
2026-05-21 14:27:53 +00:00

41 lines
984 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://hwlab.pikastech.local/protocol/schemas/project.schema.json",
"title": "HWLAB Project",
"type": "object",
"required": ["projectId", "name", "status", "environment", "createdAt", "updatedAt"],
"properties": {
"projectId": {
"$ref": "common.json#/$defs/id"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"description": {
"type": "string",
"maxLength": 2000
},
"status": {
"$ref": "common.json#/$defs/lifecycleStatus"
},
"environment": {
"$ref": "common.json#/$defs/environment"
},
"labels": {
"$ref": "common.json#/$defs/labels"
},
"createdBy": {
"$ref": "common.json#/$defs/id"
},
"createdAt": {
"$ref": "common.json#/$defs/timestamp"
},
"updatedAt": {
"$ref": "common.json#/$defs/timestamp"
}
},
"additionalProperties": false
}