Services feed

An example services feed is provided below:

Example

JSON

{
  "metadata": {
    "generation_timestamp": 1467993600,
    "processing_instruction": "PROCESS_AS_COMPLETE",
    "total_shards": 1
  },
  "service": [
    {
      "description": "1000-0, Service 0",
      "form": [
        {
          "field": [
            {
              "is_required": true,
              "label": "First time user question 1",
              "type": "BOOLEAN",
              "value": []
            },
            {
              "is_required": true,
              "label": "First time user question 2",
              "type": "DROPDOWN",
              "value": [
                "option 1",
                "option 2",
                "option 3"
              ]
            }
          ],
          "first_time_customers": true
        },
        {
          "field": [
            {
              "is_required": true,
              "label": "Returning user question",
              "type": "SHORT_ANSWER",
              "value": []
            }
          ],
          "returning_customers": true
        }
      ],
      "merchant_id": "1000-0",
      "name": "Service 0",
      "payment_option_id": [
        "universal1",
        "pack10"
      ],
      "prepayment_type": "NOT_SUPPORTED",
      "price": {
        "currency_code": "USD",
        "price_micros": 20000000
      },
      "rules": {
        "min_advance_booking": 86400,
        "min_advance_online_canceling": 86400
      },
      "service_id": "2000-0",
      "tax_rate": {
        "micro_percent": 8500000
      }
    },
    {
      "description": "1000-0, Service 1",
      "form": [
        {
          "field": [
            {
              "is_required": true,
              "label": "First time user question 1",
              "type": "BOOLEAN",
              "value": []
            },
            {
              "is_required": true,
              "label": "First time user question 2",
              "type": "DROPDOWN",
              "value": [
                "option 1",
                "option 2",
                "option 3"
              ]
            }
          ],
          "first_time_customers": true
        },
        {
          "field": [
            {
              "is_required": true,
              "label": "Returning user question",
              "type": "SHORT_ANSWER",
              "value": []
            }
          ],
          "returning_customers": true
        }
      ],
      "merchant_id": "1000-0",
      "name": "Service 1",
      "payment_option_id": [
        "pack10"
      ],
      "prepayment_type": "NOT_SUPPORTED",
      "price": {
        "currency_code": "USD",
        "price_micros": 20000000
      },
      "rules": {
        "min_advance_booking": 86400,
        "min_advance_online_canceling": 86400
      },
      "service_id": "2000-1",
      "tax_rate": {
        "micro_percent": 8500000
      }
    },
    {
      "description": "1000-0, Service 2",
      "form": [
        {
          "field": [
            {
              "is_required": true,
              "label": "First time user question 1",
              "type": "BOOLEAN",
              "value": []
            },
            {
              "is_required": true,
              "label": "First time user question 2",
              "type": "DROPDOWN",
              "value": [
                "option 1",
                "option 2",
                "option 3"
              ]
            }
          ],
          "first_time_customers": true
        },
        {
          "field": [
            {
              "is_required": true,
              "label": "Returning user question",
              "type": "SHORT_ANSWER",
              "value": []
            }
          ],
          "returning_customers": true
        }
      ],
      "merchant_id": "1000-0",
      "name": "Service 2",
      "payment_option_id": [
        "universal1"
      ],
      "prepayment_type": "NOT_SUPPORTED",
      "price": {
        "currency_code": "USD",
        "price_micros": 20000000
      },
      "rules": {
        "min_advance_booking": 86400,
        "min_advance_online_canceling": 86400
      },
      "service_id": "2000-2",
      "tax_rate": {
        "micro_percent": 8500000
      }
    },
    {
      "description": "1000-1, Service 0",
      "form": [
        {
          "field": [
            {
              "is_required": true,
              "label": "First time user question 1",
              "type": "BOOLEAN",
              "value": []
            },
            {
              "is_required": true,
              "label": "First time user question 2",
              "type": "DROPDOWN",
              "value": [
                "option 1",
                "option 2",
                "option 3"
              ]
            }
          ],
          "first_time_customers": true
        },
        {
          "field": [
            {
              "is_required": true,
              "label": "Returning user question",
              "type": "SHORT_ANSWER",
              "value": []
            }
          ],
          "returning_customers": true
        }
      ],
      "merchant_id": "1000-1",
      "name": "Service 0",
      "payment_option_id": [
        "universal1",
        "pack20"
      ],
      "prepayment_type": "NOT_SUPPORTED",
      "price": {
        "currency_code": "USD",
        "price_micros": 20000000
      },
      "rules": {
        "min_advance_booking": 86400,
        "min_advance_online_canceling": 86400
      },
      "service_id": "2000-0",
      "tax_rate": {
        "micro_percent": 8500000
      }
    },
    {
      "description": "1000-1, Service 1",
      "form": [
        {
          "field": [
            {
              "is_required": true,
              "label": "First time user question 1",
              "type": "BOOLEAN",
              "value": []
            },
            {
              "is_required": true,
              "label": "First time user question 2",
              "type": "DROPDOWN",
              "value": [
                "option 1",
                "option 2",
                "option 3"
              ]
            }
          ],
          "first_time_customers": true
        },
        {
          "field": [
            {
              "is_required": true,
              "label": "Returning user question",
              "type": "SHORT_ANSWER",
              "value": []
            }
          ],
          "returning_customers": true
        }
      ],
      "merchant_id": "1000-1",
      "name": "Service 1",
      "payment_option_id": [
        "pack20"
      ],
      "prepayment_type": "NOT_SUPPORTED",
      "price": {
        "currency_code": "USD",
        "price_micros": 20000000
      },
      "rules": {
        "min_advance_booking": 86400,
        "min_advance_online_canceling": 86400
      },
      "service_id": "2000-1",
      "tax_rate": {
        "micro_percent": 8500000
      }
    },
    {
      "description": "1000-1, Service 2",
      "form": [
        {
          "field": [
            {
              "is_required": true,
              "label": "First time user question 1",
              "type": "BOOLEAN",
              "value": []
            },
            {
              "is_required": true,
              "label": "First time user question 2",
              "type": "DROPDOWN",
              "value": [
                "option 1",
                "option 2",
                "option 3"
              ]
            }
          ],
          "first_time_customers": true
        },
        {
          "field": [
            {
              "is_required": true,
              "label": "Returning user question",
              "type": "SHORT_ANSWER",
              "value": []
            }
          ],
          "returning_customers": true
        }
      ],
      "merchant_id": "1000-1",
      "name": "Service 2",
      "payment_option_id": [
        "universal1"
      ],
      "prepayment_type": "NOT_SUPPORTED",
      "price": {
        "currency_code": "USD",
        "price_micros": 20000000
      },
      "rules": {
        "min_advance_booking": 86400,
        "min_advance_online_canceling": 86400
      },
      "service_id": "2000-2",
      "tax_rate": {
        "micro_percent": 8500000
      }
    },
    {
      "description": "1000-2, Service 0",
      "form": [
        {
          "field": [
            {
              "is_required": true,
              "label": "First time user question 1",
              "type": "BOOLEAN",
              "value": []
            },
            {
              "is_required": true,
              "label": "First time user question 2",
              "type": "DROPDOWN",
              "value": [
                "option 1",
                "option 2",
                "option 3"
              ]
            }
          ],
          "first_time_customers": true
        },
        {
          "field": [
            {
              "is_required": true,
              "label": "Returning user question",
              "type": "SHORT_ANSWER",
              "value": []
            }
          ],
          "returning_customers": true
        }
      ],
      "merchant_id": "1000-2",
      "name": "Service 0",
      "payment_option_id": [
        "universal1",
        "pack10"
      ],
      "prepayment_type": "NOT_SUPPORTED",
      "price": {
        "currency_code": "USD",
        "price_micros": 20000000
      },
      "rules": {
        "min_advance_booking": 86400,
        "min_advance_online_canceling": 86400
      },
      "service_id": "2000-0",
      "tax_rate": {
        "micro_percent": 8500000
      }
    },
    {
      "description": "1000-2, Service 1",
      "form": [
        {
          "field": [
            {
              "is_required": true,
              "label": "First time user question 1",
              "type": "BOOLEAN",
              "value": []
            },
            {
              "is_required": true,
              "label": "First time user question 2",
              "type": "DROPDOWN",
              "value": [
                "option 1",
                "option 2",
                "option 3"
              ]
            }
          ],
          "first_time_customers": true
        },
        {
          "field": [
            {
              "is_required": true,
              "label": "Returning user question",
              "type": "SHORT_ANSWER",
              "value": []
            }
          ],
          "returning_customers": true
        }
      ],
      "merchant_id": "1000-2",
      "name": "Service 1",
      "payment_option_id": [
        "pack10"
      ],
      "prepayment_type": "NOT_SUPPORTED",
      "price": {
        "currency_code": "USD",
        "price_micros": 20000000
      },
      "rules": {
        "min_advance_booking": 86400,
        "min_advance_online_canceling": 86400
      },
      "service_id": "2000-1",
      "tax_rate": {
        "micro_percent": 8500000
      }
    },
    {
      "description": "1000-2, Service 2",
      "form": [
        {
          "field": [
            {
              "is_required": true,
              "label": "First time user question 1",
              "type": "BOOLEAN",
              "value": []
            },
            {
              "is_required": true,
              "label": "First time user question 2",
              "type": "DROPDOWN",
              "value": [
                "option 1",
                "option 2",
                "option 3"
              ]
            }
          ],
          "first_time_customers": true
        },
        {
          "field": [
            {
              "is_required": true,
              "label": "Returning user question",
              "type": "SHORT_ANSWER",
              "value": []
            }
          ],
          "returning_customers": true
        }
      ],
      "merchant_id": "1000-2",
      "name": "Service 2",
      "payment_option_id": [
        "universal1"
      ],
      "prepayment_type": "NOT_SUPPORTED",
      "price": {
        "currency_code": "USD",
        "price_micros": 20000000
      },
      "rules": {
        "min_advance_booking": 86400,
        "min_advance_online_canceling": 86400
      },
      "service_id": "2000-2",
      "tax_rate": {
        "micro_percent": 8500000
      }
    }
  ]
}
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