dmytro-nasyrov's picture
Add 42 draft decision records with native method registries
c1239e9 verified
Raw History Blame Contribute Delete
1.58 kB
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"config": {
"enum": [
"rag",
"build_buy",
"framework",
"architecture"
]
},
"decision_job": {
"const": "PATH_SELECTION"
},
"limitations": {
"items": {
"minLength": 1,
"type": "string"
},
"minItems": 1,
"type": "array"
},
"payload_json": {
"minLength": 1,
"type": "string"
},
"record_id": {
"minLength": 1,
"type": "string"
},
"record_type": {
"minLength": 1,
"type": "string"
},
"review_status": {
"const": "NOT_REVIEWED"
},
"snapshot_at": {
"minLength": 1,
"type": "string"
},
"source_commit_sha": {
"pattern": "^[a-f0-9]{40}$",
"type": [
"string",
"null"
]
},
"source_data_hash": {
"pattern": "^sha256:[a-f0-9]{64}$",
"type": "string"
},
"source_url": {
"pattern": "^https://",
"type": [
"string",
"null"
]
},
"status": {
"const": "DRAFT"
},
"verified_at": {
"type": "null"
}
},
"required": [
"record_id",
"config",
"record_type",
"decision_job",
"payload_json",
"limitations",
"source_commit_sha",
"source_url",
"source_data_hash",
"review_status",
"status",
"verified_at",
"snapshot_at"
],
"title": "decision-rules candidate 2.0.0-candidate.1",
"type": "object"
}