Fitness examples

Merchants

{
   "metadata": {
    "total_shards": 1,
    "processing_instruction": "PROCESS_AS_COMPLETE",
    "shard_number": 0,
    "generation_timestamp": 1462926569
  },
  "merchant": [
    {
      "category": "fitness",
      "merchant_id": "merch1",
      "name": "Merchant's Actual Business Name",
      "url": "www.merchantspublicsite.com",
      "telephone": "+01 123-456-7890",
      "geo": {
        "latitude": 37.422113,
        "longitude": -122.084041,
        "address": {
          "locality": "Mountain View",
          "country": "USA",
          "region": "CA",
          "street_address": "1600 Amphitheatre Pkwy",
          "postal_code": "94043"
        }
      }
    }
  ]
}

Services

{
   "metadata": {
    "total_shards": 1,
    "processing_instruction": "PROCESS_AS_COMPLETE",
    "shard_number": 0,
    "generation_timestamp": 1462926569
  },
  "service": [
    {
      "name": "Hatha Yoga Class",
      "price": {
        "currency_code": "USD",
        "price_micros": 30000000
      },
      "service_id": "hathayogaclass",
      "prepayment_type": "NOT_SUPPORTED",
      "merchant_id": "merch1",
      "description": "A Hatha Yoga Class"
    },
    {
      "name": "Hot Yoga Class",
      "price": {
        "currency_code": "USD",
        "price_micros": 30000000
      },
      "service_id": "hotyogaclass",
      "prepayment_type": "NOT_SUPPORTED",
      "merchant_id": "merch1",
      "description": "A Hot Yoga Class"
    }
  ]
}

Availability

{
   "metadata": {
    "total_shards": 1,
    "processing_instruction": "PROCESS_AS_COMPLETE",
    "shard_number": 0,
    "generation_timestamp": 1462926569
  },
  "service_availability": [
    {
      "availability": [
        {
          "spots_total": 20,
          "spots_open": 15,
          "duration_sec": 5400,
          "service_id": "hathayogaclass",
          "start_sec": 1535806800,
          "merchant_id": "merch1"
        },
        {
          "spots_total": 20,
          "spots_open": 20,
          "duration_sec": 5400,
          "service_id": "hotayogaclass",
          "start_sec": 1535817600,
          "merchant_id": "merch1"
        },
        {
          "spots_total": 20,
          "spots_open": 17,
          "duration_sec": 5400,
          "service_id": "hathayogaclass",
          "start_sec": 1535832000,
          "merchant_id": "merch1"
        }
      ]
    }
  ]
}