PMAS SCHEMA
PMAS 1.0 RC1 authority-decision
Human-readable view of the canonical PMAS 1.0-rc1 JSON Schema. The raw machine-readable artifact remains available unchanged.
ARTIFACT VERSION1.0-rc1
https://spec.paylogee.dev/pmas/1.0-rc1/authority-decisionJSON SchemaCanonical source
Raw artifact ↗{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"additionalProperties": false,
"$id": "https://spec.paylogee.dev/pmas/1.0-rc1/authority-decision",
"title": "PMAS 1.0 RC1 authority-decision",
"properties": {
"pmas_version": {
"const": "1.0-rc1"
},
"decision_id": {
"type": "string",
"minLength": 1
},
"request_hash": {
"type": "string",
"pattern": "^[A-Fa-f0-9]{64}$"
},
"authority_hash": {
"type": "string",
"pattern": "^[A-Fa-f0-9]{64}$"
},
"decision": {
"enum": [
"APPROVE",
"REQUIRE_APPROVAL",
"DECLINE"
]
},
"gateway_action": {
"enum": [
"ALLOW",
"ESCALATE",
"BLOCK"
]
},
"policy_version": {
"type": "string",
"minLength": 1
},
"reason_codes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"uniqueItems": true
},
"decided_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"pmas_version",
"decision_id",
"request_hash",
"authority_hash",
"decision",
"gateway_action",
"policy_version",
"reason_codes",
"decided_at"
]
}