PMAS SCHEMA

PMAS 1.0 RC1 revocation-event

Human-readable view of the canonical PMAS 1.0-rc1 JSON Schema. The raw machine-readable artifact remains available unchanged.

ARTIFACT VERSION1.0-rc1https://spec.paylogee.dev/pmas/1.0-rc1/revocation-event
JSON 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/revocation-event",
    "title": "PMAS 1.0 RC1 revocation-event",
    "properties": {
        "pmas_version": {
            "const": "1.0-rc1"
        },
        "event_id": {
            "type": "string",
            "minLength": 1
        },
        "authority_reference": {
            "type": "string",
            "minLength": 1
        },
        "event": {
            "enum": [
                "SUSPEND",
                "REVOKE",
                "EXPIRE",
                "CONSUME",
                "QUARANTINE",
                "SUPERSEDE",
                "REACTIVATE"
            ]
        },
        "reason_code": {
            "type": "string",
            "minLength": 1
        },
        "effective_at": {
            "type": "string",
            "format": "date-time"
        },
        "actor": {
            "type": "string",
            "minLength": 1
        },
        "evidence_hash": {
            "type": "string",
            "pattern": "^[A-Fa-f0-9]{64}$"
        }
    },
    "required": [
        "pmas_version",
        "event_id",
        "authority_reference",
        "event",
        "reason_code",
        "effective_at",
        "actor",
        "evidence_hash"
    ]
}