Files
GEWU/schema/v1/records/ProjectRecord.schema.json
T
2026-10-14 20:35:48 +08:00

140 lines
2.8 KiB
JSON

{
"$defs": {
"ProjectStatus": {
"enum": [
"active",
"paused",
"archived"
],
"title": "ProjectStatus",
"type": "string"
}
},
"additionalProperties": false,
"properties": {
"autonomy_policy_id": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
"title": "Autonomy Policy Id",
"type": "string"
},
"default_includes": {
"default": [
"shared"
],
"items": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
"type": "string"
},
"title": "Default Includes",
"type": "array"
},
"description": {
"default": "",
"maxLength": 4000,
"title": "Description",
"type": "string"
},
"key_questions": {
"items": {
"type": "string"
},
"maxItems": 30,
"minItems": 1,
"title": "Key Questions",
"type": "array"
},
"north_star": {
"maxLength": 4000,
"minLength": 1,
"title": "North Star",
"type": "string"
},
"owners": {
"default": [],
"items": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
"type": "string"
},
"title": "Owners",
"type": "array"
},
"project_id": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
"title": "Project Id",
"type": "string"
},
"research_lenses": {
"default": [
"technical",
"conceptual",
"cultural-historical",
"financial-market"
],
"items": {
"enum": [
"technical",
"conceptual",
"cultural-historical",
"financial-market"
],
"type": "string"
},
"title": "Research Lenses",
"type": "array"
},
"schema_version": {
"const": 1,
"default": 1,
"title": "Schema Version",
"type": "integer"
},
"status": {
"$ref": "#/$defs/ProjectStatus"
},
"taxonomy_extensions": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"maxProperties": 100,
"title": "Taxonomy Extensions",
"type": "object"
},
"title": {
"maxLength": 200,
"minLength": 1,
"title": "Title",
"type": "string"
},
"watch_list": {
"default": [],
"items": {
"type": "string"
},
"maxItems": 100,
"title": "Watch List",
"type": "array"
}
},
"required": [
"project_id",
"title",
"status",
"north_star",
"key_questions",
"autonomy_policy_id"
],
"title": "ProjectRecord",
"type": "object"
}