{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/assembly-payments/main/json-schema/assembly-payments-pay-id-schema.json",
  "title": "pay_id",
  "x-generated": "2026-10-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/assembly-payments-virtual-accounts-and-payids-api-openapi.yml#/components/schemas/pay_id",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "pay_id": {
      "type": "string",
      "format": "email"
    },
    "type": {
      "type": "string",
      "enum": [
        "EMAIL"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "activation_failed",
        "pending_activation",
        "deregistered"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "details": {
      "type": "object",
      "properties": {
        "pay_id_name": {
          "type": "string"
        },
        "owner_legal_name": {
          "type": "string"
        }
      }
    },
    "links": {
      "type": "object",
      "properties": {
        "self": {
          "type": "string"
        },
        "virtual_accounts": {
          "type": "string"
        }
      }
    }
  }
}