66 lines
1.3 KiB
JSON
66 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"
|
||
|
|
}
|