PMAS SCHEMA

PMAS 1.0 RC1 action-request

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/action-request
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/action-request",
    "title": "PMAS 1.0 RC1 action-request",
    "properties": {
        "pmas_version": {
            "const": "1.0-rc1"
        },
        "request_id": {
            "type": "string",
            "minLength": 1
        },
        "principal": {
            "type": "string",
            "minLength": 1
        },
        "agent": {
            "type": "string",
            "minLength": 1
        },
        "action": {
            "type": "string",
            "minLength": 1
        },
        "resource": {
            "type": "string",
            "minLength": 1
        },
        "parameters": {
            "type": "object"
        },
        "environment": {
            "type": "string",
            "minLength": 1
        },
        "counterparty": {
            "type": [
                "string",
                "null"
            ]
        },
        "amount": {
            "type": [
                "string",
                "null"
            ]
        },
        "currency": {
            "type": [
                "string",
                "null"
            ]
        },
        "rail": {
            "type": [
                "string",
                "null"
            ]
        },
        "authority_reference": {
            "type": "string",
            "minLength": 1
        },
        "idempotency_key": {
            "type": "string",
            "minLength": 1
        },
        "requested_at": {
            "type": "string",
            "format": "date-time"
        }
    },
    "required": [
        "pmas_version",
        "request_id",
        "principal",
        "agent",
        "action",
        "resource",
        "parameters",
        "environment",
        "authority_reference",
        "idempotency_key",
        "requested_at"
    ]
}