PMAS SCHEMA

PMAS 1.0 RC1 approval-proof

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/approval-proof
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/approval-proof",
    "title": "PMAS 1.0 RC1 approval-proof",
    "properties": {
        "pmas_version": {
            "const": "1.0-rc1"
        },
        "approval_id": {
            "type": "string",
            "minLength": 1
        },
        "request_hash": {
            "type": "string",
            "pattern": "^[A-Fa-f0-9]{64}$"
        },
        "terms_hash": {
            "type": "string",
            "pattern": "^[A-Fa-f0-9]{64}$"
        },
        "approvers": {
            "type": "array",
            "items": {
                "type": "string",
                "minLength": 1
            },
            "uniqueItems": true
        },
        "quorum": {
            "type": "integer",
            "minimum": 1
        },
        "approved_at": {
            "type": "string",
            "format": "date-time"
        },
        "expires_at": {
            "type": [
                "string",
                "null"
            ],
            "format": "date-time"
        },
        "evidence_hash": {
            "type": "string",
            "pattern": "^[A-Fa-f0-9]{64}$"
        }
    },
    "required": [
        "pmas_version",
        "approval_id",
        "request_hash",
        "terms_hash",
        "approvers",
        "quorum",
        "approved_at",
        "evidence_hash"
    ]
}