Applikationsprofil för turism - version 2.0

Metadataprofiler för bo, äta, göra, resa och handla baserade på schema.org, 25 februari 2025

Senaste versionen - svenska:
https://lankadedata.se/spec/tourism/sv/
Senaste versionen - engelska:
https://lankadedata.se/spec/tourism/en/
Denna version:
https://lankadedata.se/spec/tourism/2.0/sv/
Tidigare stabil version:
https://lankadedata.se/spec/tourism/1.0/sv/
Redaktörer:
Alex Akkila Forsberg - MetaSolutions AB
Matthias Palmér - MetaSolutions AB
På uppdrag av:
Visit Sweden AB
Licens:
CC-BY 4.0

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"
  }