Uber · Schema

VoucherProgramRequest

Ride-SharingRidesTaxisTransportationFood DeliveryDeliveryLogistics

Properties

Name Type Description
name string Program display name.
type string Type of voucher program.
budget number Total budget for the program.
currency_code string ISO 4217 currency code.
start_date string
end_date string
View JSON Schema on GitHub

JSON Schema

uber-voucherprogramrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/VoucherProgramRequest",
  "title": "VoucherProgramRequest",
  "type": "object",
  "required": [
    "name",
    "type"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Program display name."
    },
    "type": {
      "type": "string",
      "enum": [
        "rides",
        "eats"
      ],
      "description": "Type of voucher program."
    },
    "budget": {
      "type": "number",
      "description": "Total budget for the program."
    },
    "currency_code": {
      "type": "string",
      "description": "ISO 4217 currency code."
    },
    "start_date": {
      "type": "string",
      "format": "date-time"
    },
    "end_date": {
      "type": "string",
      "format": "date-time"
    }
  }
}