forked from JayHoltslander/Structured-Data-JSON-LD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WebSite.json
170 lines (167 loc) · 4.41 KB
/
WebSite.json
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<script type="application/ld+json">
[
{
"@context": "http://schema.org",
"@type": "Webpage",
"specialty": "CNBC homepage, stock markets, business news, financial news",
"mainContentOfPage": {
"@context": "http://schema.org/",
"@type": "WebPageElement",
"cssSelector": ".body-content"
},
"primaryImageOfPage": "https://placehold.it/640x480"
},
{
"@context": "http://schema.org",
"@type": "WebSite",
"@id": "https://jay.holtslander.ca/#website",
"additionalType": ["CreativeWork", "Person"],
"url": "https://jay.holtslander.ca",
"name": "Jay Holtslander",
"alternateName": "j_holtslander",
"headline": "Like a page title",
"image": "https://jay.holtslander.ca/facebook.jpg",
"inLanguage": "en-CA",
"author": "Jay Holtslander",
"description": "Personal website of Jay Holtslander. Co-founder of CodeCore Bootcamp.",
"disambiguatingDescription": "Personal website of Jay Holtslander",
"isFamilyFriendly": "http://schema.org/True",
"contentRating": "NR",
"sourceOrganization": "CNBC",
"publisher": {
"@type": "Organization",
"name": "ThinkwithGoogle",
"logo": {
"@type": "ImageObject",
"url": "https://www.thinkwithgoogle.com/_qs/static/img/global/twg-logo-small.jpg",
"height": 60,
"width": 107
}
},
"mainEntity": {
"@context": "http://schema.org",
"@type": "localBusiness",
"name": "Jay Holtslander",
"image":"http://placehold.it/512",
"priceRange":"$$",
"telephone":"555-321-7654",
"address": {
"@type": "PostalAddress",
"streetAddress": "#600 - 55 Water Street, Vancouver, BC V6B 1A1",
"addressLocality": "Vancouver",
"addressRegion": "British Columbia",
"addressCountry": "Canada",
"postalCode": "v6b1a1"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.5",
"reviewCount": "50"
}
},
"potentialAction": {
"@type": "SearchAction",
"target": "https://jay.holtslander.ca/?s={search_term}",
"query-input": "required name=search_term"
},
"keywords":[
"Social Networking",
"Social Media",
"News",
"Web",
"Technology",
"Web 2.0",
"Tech",
"Information",
"Blog",
"Facebook",
"YouTube",
"Google",
"Top"
],
"hasPart": [
{
"@context": "http://schema.org/",
"@type": "WPHeader",
"@id": "#header",
"headline": "headline-string",
"cssSelector": "#header",
"potentialAction": {
"@type": "Action",
"name": "Contact",
"target": "http://google.ca/"
}
},
{
"@context": "http://schema.org/",
"@type": "WPSidebar",
"cssSelector": "#sidebar",
"citation": [
"https://domain.com/link",
"https://domain2.com/link2",
"https://domain2.com/link3"
],
"comment": [
"This is a user comment that may appear in the sidebar.",
"This is another user comment that may be there as well."
]
},
{
"@context": "http://schema.org/",
"@type": "WPFooter",
"cssSelector": ".footer",
"@id": "#footer",
"copyrightHolder":"Jay Holtslander",
"publisher": "Jay Holtslander",
"copyrightYear":"2017"
}
]
}
]
</script>
<!--
NOTE: Despite the below snippet for SiteNavigationElements being totally seperate, it will be "sucked into" the above snippet for "Website" because of the matching @id of #header.
-->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph":
[
{
"@context": "https://schema.org",
"@type":"SiteNavigationElement",
"@id":"#header",
"name": "Page 1",
"url": "https://www.example.com/page1"
},
{
"@context": "https://schema.org",
"@type":"SiteNavigationElement",
"@id":"#header",
"name": "Page 2",
"url": "https://www.example.com/page2"
},
{
"@context": "https://schema.org",
"@type":"SiteNavigationElement",
"@id":"#header",
"name": "Page 3",
"url": "https://www.example.com/page3"
},
{
"@context": "https://schema.org",
"@type":"SiteNavigationElement",
"@id":"#pagination",
"name": "Previous page",
"url": "https://www.example.com/page1"
},
{
"@context": "https://schema.org",
"@type":"SiteNavigationElement",
"@id":"#pagination",
"name": "Next page",
"url": "https://www.example.com/page2"
}
]
}
</script>