{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/verifone/refs/heads/main/json-schema/paypal-ecommerce-api-customid.json",
  "title": "customId",
  "description": "customId from PayPal eComm API",
  "required": [
    "value"
  ],
  "type": "object",
  "properties": {
    "op": {
      "type": "string",
      "enum": [
        "add",
        "replace"
      ]
    },
    "value": {
      "maxLength": 127,
      "minLength": 1,
      "pattern": "^[ -~]+",
      "type": "string",
      "description": "The custom id for the subscription. Can be invoice id"
    }
  }
}