{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "PODReq",
  "description": "PODReq schema from Uber Direct (DaaS) API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/uber-eats/refs/heads/main/json-schema/uber-direct-podreq-schema.json",
  "type": "object",
  "properties": {
    "waypoint": {
      "type": "string",
      "enum": [
        "pickup",
        "dropoff",
        "return"
      ],
      "description": "The waypoint where the verification requirement was taken.",
      "example": "pickup"
    },
    "type": {
      "type": "string",
      "enum": [
        "picture",
        "signature",
        "pincode"
      ],
      "description": "The type of delivery verification requirement.",
      "example": "picture"
    }
  },
  "required": [
    "waypoint",
    "type"
  ]
}