Uber · Schema

VoucherCode

Ride-SharingRidesTaxisTransportationFood DeliveryDeliveryLogistics

Properties

Name Type Description
code string The voucher code string.
status string
created_at string
View JSON Schema on GitHub

JSON Schema

uber-vouchercode-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/VoucherCode",
  "title": "VoucherCode",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "The voucher code string."
    },
    "status": {
      "type": "string",
      "enum": [
        "available",
        "distributed",
        "redeemed",
        "expired"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}