feat: prepare ARR for controlled public deployment
This commit is contained in:
38
prompts/arr_opera_daily_processing_request.schema.json
Normal file
38
prompts/arr_opera_daily_processing_request.schema.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"$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}$"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user