Zapier · Schema

Choice

A single element from a set of Choices, variants in an enumeration.

IntegrationsiPaaS

Properties

Name Type Description
id string The ID of this variant
type string The type of this object
label stringnull An optional human-readable label for this variant. Useful if the actual value is not a human-readable value, such as an identifier.
value string The value of this variant.
View JSON Schema on GitHub

JSON Schema

partner-api-choice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Choice",
  "description": "A single element from a set of Choices, variants in an enumeration.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zapier/refs/heads/main/json-schema/partner-api-choice-schema.json",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of this variant",
      "example": "500123"
    },
    "type": {
      "type": "string",
      "description": "The type of this object",
      "example": "standard"
    },
    "label": {
      "type": [
        "string",
        "null"
      ],
      "description": "An optional human-readable label for this variant. Useful if the actual value is not a human-readable value, such as an identifier.",
      "example": "Example Name"
    },
    "value": {
      "type": "string",
      "description": "The value of this variant.",
      "example": "example-value"
    }
  },
  "required": [
    "id",
    "type",
    "value"
  ]
}