Files
GEWU/schema/v1/records/IngestReviewDecision.schema.json
2026-10-15 10:53:30 +08:00

67 lines
1.3 KiB
JSON

{
"additionalProperties": false,
"properties": {
"decision": {
"enum": [
"include",
"exclude",
"defer"
],
"title": "Decision",
"type": "string"
},
"decision_id": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
"title": "Decision Id",
"type": "string"
},
"guidance_rule": {
"anyOf": [
{
"maxLength": 1000,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Guidance Rule"
},
"rationale": {
"maxLength": 2000,
"minLength": 1,
"title": "Rationale",
"type": "string"
},
"review_id": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
"title": "Review Id",
"type": "string"
},
"save_as_guidance": {
"default": false,
"title": "Save As Guidance",
"type": "boolean"
},
"schema_version": {
"const": 1,
"default": 1,
"title": "Schema Version",
"type": "integer"
}
},
"required": [
"decision_id",
"review_id",
"decision",
"rationale"
],
"title": "IngestReviewDecision",
"type": "object"
}