PMAS SCHEMA

PMAS 1.0 RC1 commerce-receipt-binding

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/commerce-receipt-binding
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/commerce-receipt-binding",
    "title": "PMAS 1.0 RC1 commerce-receipt-binding",
    "properties": {
        "pmas_version": {
            "const": "1.0-rc1"
        },
        "receipt_reference": {
            "type": "string",
            "minLength": 1
        },
        "authority_decision_hash": {
            "type": "string",
            "pattern": "^[A-Fa-f0-9]{64}$"
        },
        "machine_authority_proof_hash": {
            "type": "string",
            "pattern": "^[A-Fa-f0-9]{64}$"
        },
        "execution_rail": {
            "type": "string",
            "minLength": 1
        },
        "execution_reference": {
            "type": "string",
            "minLength": 1
        },
        "executed_terms_hash": {
            "type": "string",
            "pattern": "^[A-Fa-f0-9]{64}$"
        },
        "outcome": {
            "type": "string",
            "minLength": 1
        },
        "evidence_hash": {
            "type": "string",
            "pattern": "^[A-Fa-f0-9]{64}$"
        }
    },
    "required": [
        "pmas_version",
        "receipt_reference",
        "authority_decision_hash",
        "machine_authority_proof_hash",
        "execution_rail",
        "execution_reference",
        "executed_terms_hash",
        "outcome",
        "evidence_hash"
    ]
}