Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cat out.txt
- {
- "merchants": {
- "couchbaseCheckpoint": {
- "properties": {
- "meta": {
- "include_in_all": false,
- "type": "object"
- }
- },
- "_source": {
- "includes": [
- "meta.*",
- "doc.*"
- ]
- },
- "dynamic_templates": [
- {
- "store_no_index": {
- "match": "*",
- "mapping": {
- "store": "no",
- "index": "no",
- "include_in_all": false
- }
- }
- }
- ]
- },
- "products": {
- "properties": {
- "meta": {
- "include_in_all": false,
- "type": "object"
- },
- "category": {
- "type": "nested"
- }
- },
- "_source": {
- "includes": [
- "meta.*"
- ]
- }
- },
- "venues": {
- "properties": {
- "products": {
- "type": "nested"
- },
- "meta": {
- "include_in_all": false,
- "type": "object"
- },
- "categories": {
- "type": "nested"
- }
- },
- "_source": {
- "includes": [
- "meta.*"
- ]
- }
- },
- "_default_": {
- "properties": {
- "meta": {
- "include_in_all": false,
- "type": "object"
- }
- },
- "_source": {
- "includes": [
- "meta.*"
- ]
- }
- },
- "merchants": {
- "properties": {
- "venues": {
- "type": "nested"
- },
- "meta": {
- "include_in_all": false,
- "type": "object"
- },
- "employees": {
- "type": "nested"
- }
- },
- "_source": {
- "includes": [
- "meta.*"
- ]
- }
- },
- "couchbaseDocument": {
- "properties": {
- "meta": {
- "properties": {
- "rev": {
- "include_in_all": false,
- "type": "string"
- },
- "id": {
- "include_in_all": false,
- "type": "string"
- },
- "flags": {
- "include_in_all": false,
- "type": "long"
- },
- "expiration": {
- "include_in_all": false,
- "type": "long"
- }
- },
- "include_in_all": false
- },
- "doc": {
- "properties": {
- "venues": {
- "properties": {
- "venueInfo": {
- "properties": {
- "regionalProperties": {
- "properties": {
- "vatID": {
- "type": "string"
- }
- }
- },
- "legalName": {
- "type": "string"
- },
- "companyNumber": {
- "type": "string"
- }
- }
- },
- "products": {
- "properties": {
- "title": {
- "type": "string"
- },
- "tax": {
- "type": "long"
- },
- "price": {
- "type": "double"
- },
- "_id": {
- "type": "string"
- },
- "altPrice": {
- "type": "long"
- },
- "altTax": {
- "type": "double"
- },
- "apiV": {
- "type": "string"
- },
- "categories": {
- "properties": {
- "title": {
- "type": "string"
- },
- "colour": {
- "type": "string"
- },
- "_id": {
- "type": "string"
- }
- }
- },
- "categoryId": {
- "type": "string"
- },
- "isFavourite": {
- "type": "boolean"
- },
- "modifiers": {
- "properties": {
- "variants": {
- "properties": {
- "title": {
- "type": "string"
- },
- "priceDelta": {
- "type": "double"
- },
- "isDefault": {
- "type": "boolean"
- }
- }
- },
- "title": {
- "type": "string"
- },
- "allowNone": {
- "type": "boolean"
- },
- "allowMultiples": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "name": {
- "type": "string"
- },
- "contacts": {
- "properties": {
- "value": {
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- }
- },
- "categories": {
- "properties": {
- "title": {
- "type": "string"
- },
- "colour": {
- "type": "string"
- },
- "_id": {
- "type": "string"
- }
- }
- },
- "address": {
- "properties": {
- "streetAddress": {
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "postalCode": {
- "type": "string"
- },
- "locality": {
- "type": "string"
- },
- "isAddressFor": {
- "type": "string"
- },
- "country": {
- "type": "string"
- }
- }
- },
- "_id": {
- "type": "string"
- }
- }
- },
- "state": {
- "type": "long"
- },
- "name": {
- "type": "string"
- },
- "employees": {
- "properties": {
- "state": {
- "type": "long"
- },
- "role": {
- "type": "long"
- },
- "lastName": {
- "type": "string"
- },
- "firstName": {
- "type": "string"
- },
- "email": {
- "type": "string"
- },
- "credentials": {
- "properties": {
- "uid": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "_id": {
- "type": "string"
- }
- }
- },
- "apiV": {
- "type": "string"
- },
- "_id": {
- "type": "string"
- }
- }
- },
- "__v": {
- "type": "long"
- }
- }
- }
- },
- "_source": {
- "includes": [
- "meta.*"
- ]
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement