Copyright © 2025 MetaSolutions AB
Ett exempel ur klassen Boende:
{
"@context": {
"schema": "http://schema.org/",
"dcterms": "http://purl.org/dc/terms/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"visit": "http://data.visitsweden.com/terms/"
},
"schema:geo": {
"@type": "schema:GeoCoordinates",
"schema:latitude": 62.2315,
"schema:longitude": 16.1932
},
"@type": "schema:LodgingBusiness",
"@id": "https://www.example.com/hotel/example-hotel-12345",
"schema:url": {
"@id": "https://www.example.com/hotel/example-hotel-12345"
},
"schema:name": "Example Hotel",
"schema:image": {
"@id": "https://www.example.com/image.jpg",
"@type": "schema:ImageObject",
"schema:name": "Example Hotel"
},
"dcterms:spatial": {
"@id": "http://data.visitsweden.com/region/vasternorrland"
},
"schema:address": {
"@type": "schema:PostalAddress",
"schema:streetAddress": "Example Street 2",
"schema:addressCountry": "sweden",
"schema:addressLocality": "Example city"
},
"schema:telephone": "+4612345678",
"schema:checkinTime": {
"@type": "xsd:time",
"@value": "15:00"
},
"schema:description": [
{
"@language": "en",
"@value": "Example of descriptive text."
},
{
"@language": "sv",
"@value": "Exempel på beskrivande text."
}
],
"schema:checkoutTime": {
"@type": "xsd:time",
"@value": "11:00"
},
"schema:alternateName": "Exempel hotell",
"schema:additionalType": {
"@id": "http://schema.org/Hotel"
},
"schema:starRating": {
"@type": "schema:Rating",
"schema:ratingValue": 4
}
}
Ett exempel ur klassen Mat och dryck:
{
"@context": {
"schema": "http://schema.org/",
"dcterms": "http://purl.org/dc/terms/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"visit": "http://data.visitsweden.com/terms/"
},
"schema:geo": {
"@type": "schema:GeoCoordinates",
"schema:latitude": 62.2315,
"schema:longitude": 16.1932
},
"@type": "schema:FoodEstablishment",
"@id": "https://www.example.com/hotel/example-restaurant-12345",
"schema:url": {
"@id": "https://www.example.com/hotel/example-restaurant-12345"
},
"schema:name": "Example Restaurant",
"schema:image": {
"@id": "https://www.example.com/image.jpg",
"@type": "schema:ImageObject",
"schema:name": "Example Restaurant"
},
"dcterms:spatial": {
"@id": "http://data.visitsweden.com/region/vastragotaland"
},
"schema:address": {
"@type": "schema:PostalAddress",
"schema:streetAddress": "Example Street 2",
"schema:addressCountry": "sweden",
"schema:addressLocality": "Example city"
},
"schema:openingHoursSpecification": {
"@type": "schema:OpeningHoursSpecification",
"schema:dayOfWeek": [
"schema:Monday",
"schema:Tuesday",
"schema:Wednesday",
"schema:Thursday",
"schema:Friday",
"schema:Saturday"
],
"schema:opens": "17:00",
"schema:closes": "23:00",
"schema:validTo": {
"@value": "02-26",
"@type": "xsd:gMonthDay"
},
"schema:validFrom": {
"@value": "02-12",
"@type": "xsd:gMonthDay"
}
},
"schema:aggregateRating": {
"@type": "schema:AggregateRating",
"schema:ratingValue": 4.5,
"schema:reviewCount": 1200
},
"schema:telephone": "+4612345678",
"schema:description": [
{
"@language": "en",
"@value": "Example of descriptive text."
},
{
"@language": "sv",
"@value": "Exempel på beskrivande text."
}
],
"schema:alternateName": "Restaurant and fine dining",
"schema:additionalType": {
"@id": "http://schema.org/Restaurant"
}
}
Ett exempel ur klassen Platser och sevärdheter:
{
"@context": {
"schema": "http://schema.org/",
"dcterms": "http://purl.org/dc/terms/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"visit": "http://data.visitsweden.com/terms/"
},
"schema:geo": {
"@type": "schema:GeoCoordinates",
"schema:latitude": 62.2315,
"schema:longitude": 16.1932
},
"@type": "schema:Place",
"@id": "https://www.example.com/hotel/example-library-12345",
"schema:url": {
"@id": "https://www.example.com/hotel/example-library-12345"
},
"schema:name": "Example Library",
"schema:image": {
"@id": "https://www.example.com/image.jpg",
"@type": "schema:ImageObject",
"schema:name": "Library Image"
},
"dcterms:spatial": {
"@id": "http://data.visitsweden.com/region/vasterbotten"
},
"schema:address": {
"@type": "schema:PostalAddress",
"schema:streetAddress": "Example Street 2",
"schema:addressCountry": "sweden",
"schema:addressLocality": "Example city"
},
"schema:openingHoursSpecification": {
"@type": "schema:OpeningHoursSpecification",
"schema:dayOfWeek": [
"schema:Monday",
"schema:Tuesday",
"schema:Wednesday",
"schema:Thursday",
"schema:Friday",
"schema:Saturday"
],
"schema:opens": "17:00",
"schema:closes": "23:00",
"schema:validTo": {
"@value": "02-26",
"@type": "xsd:gMonthDay"
},
"schema:validFrom": {
"@value": "02-12",
"@type": "xsd:gMonthDay"
}
},
"schema:telephone": "+4612345678",
"schema:description": [
{
"@language": "en",
"@value": "Example of descriptive text."
},
{
"@language": "sv",
"@value": "Exempel på beskrivande text."
}
],
"schema:alternateName": "Library and study",
"schema:additionalType": {
"@id": "http://schema.org/Library"
}
}
Ett exempel ur klassen Evenemang:
{
"@context": {
"schema": "http://schema.org/",
"dcterms": "http://purl.org/dc/terms/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"visit": "http://data.visitsweden.com/terms/"
},
"schema:geo": {
"@type": "schema:GeoCoordinates",
"schema:latitude": 62.2315,
"schema:longitude": 16.1932
},
"@type": "schema:Event",
"@id": "https://www.example.com/hotel/example-event-12345",
"schema:url": {
"@id": "https://www.example.com/hotel/example-event-12345"
},
"schema:name": "Example Event",
"schema:image": {
"@id": "https://www.example.com/image.jpg",
"@type": "schema:ImageObject",
"schema:name": "Event Image"
},
"dcterms:spatial": {
"@id": "http://data.visitsweden.com/region/varmland"
},
"schema:address": {
"@type": "schema:PostalAddress",
"schema:streetAddress": "Example Street 2",
"schema:addressCountry": "sweden",
"schema:addressLocality": "Example city"
},
"schema:telephone": "+4612345678",
"schema:description": [
{
"@language": "en",
"@value": "Example of descriptive text."
},
{
"@language": "sv",
"@value": "Exempel på beskrivande text."
}
],
"schema:alternateName": "Music and dance",
"schema:additionalType": {
"@id": "http://schema.org/MusicEvent"
},
"schema:startDate": "20250215T17:00",
"schema:duration": "PT2H",
"schema:endDate": "20250215"
}