{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://objectsgrid.com/.well-known/objects-catalog/PaymentMethod/v1/schema.json",
  "title": "PaymentMethod",
  "description": "Objects Grid PaymentMethod. How a payment was made, for display: its kind and a name such as \"Visa ending 4242\". Never card numbers, expiry dates, security codes or provider tokens: there is no field for them. Modeled in compliance with https://schema.org/PaymentMethod.",
  "type": "object",
  "properties": {
    "at_type": {
      "description": "PaymentCard, PaymentService (a wallet or bank service) or PaymentMethod",
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "PaymentMethod",
        "PaymentCard",
        "PaymentService"
      ]
    },
    "paymentMethodType": {
      "description": "The provider's name for the method, e.g. card, sepa_debit, paypal",
      "type": [
        "string",
        "null"
      ],
      "maxLength": 50
    },
    "name": {
      "description": "A name to show, e.g. Visa ending 4242",
      "type": [
        "string",
        "null"
      ],
      "maxLength": 100
    }
  },
  "unevaluatedProperties": false
}
