{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"acceptanceState":{"enum":["ACCEPTED","ACCEPTED_WITH_BLOCKERS","REJECTED"],"type":"string"},"acceptedAt":{"format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","type":"string"},"acceptedAuthorityCeiling":{"enum":["NONE","ANALYSIS_ONLY","RECOMMENDATION","GOVERNED_PROPOSAL","HUMAN_APPROVED_ACTION","POLICY_BOUND_ACTION"],"type":"string"},"acceptedDecisionBoundary":{"maxLength":1200,"minLength":1,"type":"string"},"accountableActor":{"additionalProperties":false,"properties":{"actorType":{"const":"HUMAN","type":"string"},"identityAssurance":{"enum":["SELF_ATTESTED","EXTERNAL_REFERENCE"],"type":"string"},"name":{"maxLength":240,"minLength":1,"type":"string"},"role":{"maxLength":240,"minLength":1,"type":"string"}},"required":["actorType","name","role","identityAssurance"],"type":"object"},"designSha256":{"pattern":"^[a-f0-9]{64}$","type":"string"},"externalApprovalReferences":{"items":{"maxLength":240,"minLength":1,"type":"string"},"maxItems":30,"type":"array"},"rationale":{"maxLength":1200,"minLength":1,"type":"string"},"recordId":{"pattern":"^[a-z][a-z0-9-]{1,99}$","type":"string"},"rejectedOrProposedChanges":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":1200,"minLength":1,"type":"string"},"id":{"pattern":"^[a-z][a-z0-9-]{1,99}$","type":"string"},"state":{"enum":["REJECTED","PROPOSED"],"type":"string"}},"required":["id","state","description"],"type":"object"},"maxItems":100,"type":"array"},"schemaVersion":{"const":"decision-design-acceptance-record-v1","type":"string"},"unresolvedBlockerIds":{"items":{"pattern":"^[a-z][a-z0-9-]{1,99}$","type":"string"},"maxItems":100,"type":"array"}},"required":["schemaVersion","recordId","designSha256","acceptedAt","accountableActor","acceptedAuthorityCeiling","acceptedDecisionBoundary","unresolvedBlockerIds","rejectedOrProposedChanges","externalApprovalReferences","rationale","acceptanceState"],"type":"object"}
