-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGetPlaceATDWWinery.graphql
71 lines (70 loc) · 1.64 KB
/
GetPlaceATDWWinery.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Load information about a winery from Australian Tourism Data Warehouse.
query getPlaceATDWWinery($placeId: ID!) {
# use the place() query to load information about a specific winery
# This example is a winery in Mornington Peninsula/Red Hill
place(id: $placeId) {
# Identifiers/Type
id
__typename
# Basic information
name
description
# Various contact methods for the place
contact {
facebookUrl
twitterUrl
instagramUrl
bookingUrl
}
# Required attribution/tracking for the place for ATDW
attribution {
pixel
}
# Address Information
address {
addressLineOne
locality
region
postalCode
}
# Geo Coordinates
position {
lon
lat
}
# Layers/Categories
layers {
name
}
# Wine specific attributes...
# There are many attributes that can be obtain about places which we have
# catalogued, this example draws from specific wine information
# Wine Varieties
wineVarieties: attr(id: "place/wine-varieties") {
value
}
# Wine Alternative Styles
wineAlternativeStyles: attr(id: "place/wine-alternative-styles") {
value
}
# Wine Viticultural Practices
wineViticulturalPractices: attr(
id: "place/winemaking-viticultural-practices"
) {
value
}
# Some additional...
# Accreditations for Venue
accreditations: attr(id: "place/accreditations") {
value
}
# Cuisine Types
cuisineTypes: attr(id: "place/cuisine-types") {
value
}
# Accessibility
accessibility: attr(id: "place/accessibility") {
value
}
}
}