Availability feed

An example availability feed is provided below:

Example

JSON

{
  "metadata": {
    "processing_instruction": "PROCESS_AS_COMPLETE",
    "shard_number": 0,
    "total_shards": 1,
    "generation_timestamp": 1462926569
  },
  "service_availability": [{
      "availability": [
        {
          "duration_sec": 1800,
          "merchant_id": "1000-0",
          "payment_option_id": [
            "merch-1000-0-staff-Alice"
          ],
          "resources": {
            "room_id": "room_0",
            "room_name": "Room-A",
            "staff_id": "staff_0",
            "staff_name": "Alice"
          },
          "service_id": "2000-0",
          "spots_open": 1,
          "spots_total": 1,
          "start_sec": 1468080000
        },
        {
          "duration_sec": 1800,
          "merchant_id": "1000-0",
          "payment_option_id": [
            "merch-1000-0-staff-Bob"
          ],
          "resources": {
            "room_id": "room_1",
            "room_name": "Room-B",
            "staff_id": "staff_1",
            "staff_name": "Bob"
          },
          "service_id": "2000-0",
          "spots_open": 1,
          "spots_total": 1,
          "start_sec": 1468080000
        },
        {
          "duration_sec": 1800,
          "merchant_id": "1000-0",
          "payment_option_id": [
            "merch-1000-0-staff-Chris"
          ],
          "resources": {
            "room_id": "room_2",
            "room_name": "Room-C",
            "staff_id": "staff_2",
            "staff_name": "Chris"
          },
          "service_id": "2000-0",
          "spots_open": 1,
          "spots_total": 1,
          "start_sec": 1468080000
        },
        {
          "duration_sec": 1800,
          "merchant_id": "1000-0",
          "payment_option_id": [
            "merch-1000-0-staff-Alice"
          ],
          "resources": {
            "room_id": "room_0",
            "room_name": "Room-A",
            "staff_id": "staff_0",
            "staff_name": "Alice"
          },
          "service_id": "2000-0",
          "spots_open": 1,
          "spots_total": 1,
          "start_sec": 1468081800
        },
        {
          "duration_sec": 1800,
          "merchant_id": "1000-0",
          "payment_option_id": [
            "merch-1000-0-staff-Bob"
          ],
          "resources": {
            "room_id": "room_1",
            "room_name": "Room-B",
            "staff_id": "staff_1",
            "staff_name": "Bob"
          },
          "service_id": "2000-0",
          "spots_open": 1,
          "spots_total": 1,
          "start_sec": 1468081800
        },
        {
          "duration_sec": 1800,
          "merchant_id": "1000-0",
          "payment_option_id": [
            "merch-1000-0-staff-Chris"
          ],
          "resources": {
            "room_id": "room_2",
            "room_name": "Room-C",
            "staff_id": "staff_2",
            "staff_name": "Chris"
          },
          "service_id": "2000-0",
          "spots_open": 1,
          "spots_total": 1,
          "start_sec": 1468081800
        },
        {
          "duration_sec": 1800,
          "merchant_id": "1000-0",
          "payment_option_id": [
            "merch-1000-0-staff-Alice"
          ],
          "resources": {
            "room_id": "room_0",
            "room_name": "Room-A",
            "staff_id": "staff_0",
            "staff_name": "Alice"
          },
          "service_id": "2000-0",
          "spots_open": 1,
          "spots_total": 1,
          "start_sec": 1468083600
        },
        {
          "duration_sec": 1800,
          "merchant_id": "1000-0",
          "payment_option_id": [
            "merch-1000-0-staff-Bob"
          ],
          "resources": {
            "room_id": "room_1",
            "room_name": "Room-B",
            "staff_id": "staff_1",
            "staff_name": "Bob"
          },
          "service_id": "2000-0",
          "spots_open": 1,
          "spots_total": 1,
          "start_sec": 1468083600
        },
        {
          "duration_sec": 1800,
          "merchant_id": "1000-0",
          "payment_option_id": [
            "merch-1000-0-staff-Chris"
          ],
          "resources": {
            "room_id": "room_2",
            "room_name": "Room-C",
            "staff_id": "staff_2",
            "staff_name": "Chris"
          },
          "service_id": "2000-0",
          "spots_open": 1,
          "spots_total": 1,
          "start_sec": 1468083600
        }
      ]
  }]
}
Download single-shard example in JSON format
Download multi-shard example in JSON format

PB3

Download single-shard example in PB3 format
Download multi-shard example in PB3 format