39 lines
973 B
JSON
39 lines
973 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"title": "ARR Opera daily processing request",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"contract_version",
|
|
"job_id",
|
|
"attempt_no",
|
|
"source_file_id",
|
|
"processor_version",
|
|
"rule_set_sha256"
|
|
],
|
|
"properties": {
|
|
"contract_version": {
|
|
"type": "string",
|
|
"const": "arr-opera-daily-request-1"
|
|
},
|
|
"job_id": { "$ref": "#/$defs/opaqueId" },
|
|
"attempt_no": { "type": "integer", "minimum": 1, "maximum": 9999 },
|
|
"source_file_id": { "$ref": "#/$defs/opaqueId" },
|
|
"processor_version": {
|
|
"type": "string",
|
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._+-]{0,63}$"
|
|
},
|
|
"rule_set_sha256": { "$ref": "#/$defs/sha256" }
|
|
},
|
|
"$defs": {
|
|
"opaqueId": {
|
|
"type": "string",
|
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"
|
|
},
|
|
"sha256": {
|
|
"type": "string",
|
|
"pattern": "^[0-9a-f]{64}$"
|
|
}
|
|
}
|
|
}
|