44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://arr.local/schemas/arr-submit-processing-result-v1.json",
|
|
"title": "arr_submit_processing_result input",
|
|
"description": "One attempt-bound ARR direct result submission. ARR computes payload identity and never accepts a caller-supplied hash.",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"submission_grant",
|
|
"job_id",
|
|
"attempt_no",
|
|
"payload"
|
|
],
|
|
"properties": {
|
|
"submission_grant": {
|
|
"type": "string",
|
|
"pattern": "^[A-Za-z0-9_-]{32,128}$"
|
|
},
|
|
"job_id": {
|
|
"type": "string",
|
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"
|
|
},
|
|
"attempt_no": {
|
|
"type": "integer",
|
|
"minimum": 1,
|
|
"maximum": 9999
|
|
},
|
|
"payload": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "../../arr-opera-daily-ingest/references/structured-result.schema.json"
|
|
},
|
|
{
|
|
"properties": {
|
|
"status": { "const": "success" },
|
|
"activation_eligible": { "const": true },
|
|
"business_date": { "type": "string", "format": "date" }
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|