Otter · Schema

SuspensionStatus

The type of suspension this will be.

RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Properties

Name Type Description
isIndefinite boolean True if the suspension is indefinite
suspendedUntil string ISO-8601 timestamp representing the time the saleStatus value is supposed to change to FOR_SALE. Set only when current saleStatus value is TEMPORARILY_NOT_FOR_SALE. E.g.: 2020-11-23T21:33:51Z, 2007-12
View JSON Schema on GitHub

JSON Schema

public-api-suspension-status-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SuspensionStatus",
  "description": "The type of suspension this will be.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-suspension-status-schema.json",
  "type": "object",
  "properties": {
    "isIndefinite": {
      "type": "boolean",
      "description": "True if the suspension is indefinite",
      "example": true
    },
    "suspendedUntil": {
      "type": "string",
      "nullable": true,
      "description": "ISO-8601 timestamp representing the time the saleStatus value is supposed to change to FOR_SALE. Set only when current saleStatus value is TEMPORARILY_NOT_FOR_SALE. E.g.: 2020-11-23T21:33:51Z, 2007-12-03T10:15:30+01:00",
      "format": "date-time",
      "example": "2007-12-03T10:15:30+01:00"
    }
  },
  "required": [
    "isIndefinite"
  ]
}