{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/verifone/refs/heads/main/json-schema/paypal-ecommerce-api-model50.json",
  "title": "Model50",
  "description": "Model50 from PayPal eComm API",
  "required": [
    "captureId",
    "createdAt",
    "id",
    "instoreReference"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Transaction UUID from create transaction API"
    },
    "captureId": {
      "type": "string",
      "description": "PayPal capture identifier"
    },
    "isFinalCapture": {
      "type": "boolean",
      "description": "Flag telling if capture is final or not"
    },
    "instoreReference": {
      "type": "string",
      "description": "Reference to the transaction for internal usage for instore"
    },
    "createdAt": {
      "type": "string",
      "description": "Capture creation date (ISO-8601)",
      "format": "date"
    },
    "status": {
      "type": "string",
      "description": "Transaction status",
      "enum": [
        "AUTHORISED"
      ]
    },
    "payer": {
      "$ref": "#/components/schemas/Capture_Payer_Info"
    }
  }
}