फ़िटनेस के उदाहरण

कंपनी

{
   "metadata": {
    "total_shards": 1,
    "processing_instruction": "PROCESS_AS_COMPLETE",
    "shard_number": 0,
    "generation_timestamp": 1462926569
  },
  "merchant": [
    {
      "category": "gym",
      "merchant_id": "fitness-1",
      "name": "Fitness Gym",
      "url": "www.merchantspublicsite.com",
      "telephone": "+1 123-456-7890",
      "geo": {
        "latitude": 37.422113,
        "longitude": -122.084041,
        "address": {
          "locality": "Mountain View",
          "country": "US",
          "region": "CA",
          "street_address": "2081 Stierlin Ct",
          "postal_code": "94043"
        }
      }
    }
  ]
}

सेवाएं

{
   "metadata": {
    "total_shards": 1,
    "processing_instruction": "PROCESS_AS_COMPLETE",
    "shard_number": 0,
    "generation_timestamp": 1462926569
  },
  "service": [
    {
      "merchant_id": "fitness-1",
      "service_id": "hathayogaclass",
      "localized_service_name": {
        "value": "Hatha Yoga Class",
        "localized_value": [
          {
            "locale": "en",
            "value": "Hatha Yoga Class"
          }
        ]
      },
      "localized_description": {
        "value": "Yoga master John will teach the basics of Hatha Yoga. Water and mat for purchase at the studio.",
        "localized_value": [
          {
            "locale": "en",
            "value": "Yoga master John will teach the basics of Hatha Yoga. Water and mat for purchase at the studio."
          }
        ]
      },
      "price": {
        "currency_code": "USD",
        "price_micros": 30000000
      },
      "prepayment_type": "NOT_SUPPORTED"
    },
    {
      "merchant_id": "fitness-1",
      "service_id": "hotyogaclass",
      "localized_service_name": {
        "value": "Hot Yoga Class",
        "localized_value": [
          {
            "locale": "en",
            "value": "Hot Yoga Class"
          }
        ]
      },
      "localized_description": {
        "value": "Yoga master Jane will teach the basics of hot yoga. Water and mat for purchase at the studio.",
        "localized_value": [
          {
            "locale": "en",
            "value": "Yoga master Jane will teach the basics of hot yoga. Water and mat for purchase at the studio."
          }
        ]
      },
      "price": {
        "currency_code": "USD",
        "price_micros": 30000000
      },
      "prepayment_type": "NOT_SUPPORTED"
    }
  ]
}

उपलब्धता

{
   "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": "fitness-1",
          "confirmation_mode": "CONFIRMATION_MODE_SYNCHRONOUS"
        },
        {
          "spots_total": 20,
          "spots_open": 20,
          "duration_sec": 5400,
          "service_id": "hotyogaclass",
          "start_sec": 1535817600,
          "merchant_id": "fitness-1",
          "confirmation_mode": "CONFIRMATION_MODE_SYNCHRONOUS"
        },
        {
          "spots_total": 20,
          "spots_open": 17,
          "duration_sec": 5400,
          "service_id": "hathayogaclass",
          "start_sec": 1535832000,
          "merchant_id": "fitness-1",
          "confirmation_mode": "CONFIRMATION_MODE_SYNCHRONOUS"
        }
      ]
    }
  ]
}