{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rctp.dev/schemas/deal-create-request.schema.json",
  "title": "Redeem checkout request",
  "description": "Body of POST /deals. Signed by the buyer agent key the checkout is bound to.",
  "type": "object",
  "properties": {
    "checkout": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$"
    }
  },
  "additionalProperties": false,
  "required": [
    "checkout"
  ]
}
