{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "$id": "https://smart-data-models.github.io/dataModel.TourismDestinations/TouristProfile/schema.json", "title": "General profile of a Tourist", "description": "Description of a tourist profile based on the characteristics of a person, trip, choice of stay and spending while in destination.", "modelTags": "TOURiLab, Sustainability", "derivedFrom": "", "required": [ "id", "type" ], "license": "https://smart-data-models.github.io/dataModel.TouristProfile/TouristProfile/LICENSE.md", "type": "object", "allOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" }, { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" }, { "properties": { "type": { "type": "string", "enum": [ "TouristProfile" ], "description": "Property. NGSI Entity type. It has to be TouristProfile." }, "country": { "type": "string", "description": "Property. Country of nationality - https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2." }, "ageRange": { "type": "object", "description": "Property. Age range of the person profiled.", "properties": { "range": { "type": "string", "description": "Property. Value of ageRange. It uses the ranges defined by sortingOrder." }, "sortingOrder": { "type": "array", "items": { "type": "string" }, "description": "Property. Ordered set of different age groups for ageRange. OrderedSet: '0-1, 2-5, 6-11, 12-17, 18-24, 25-29, 30-34, 35-39, 40-44, 45-49, 50-54, 55-59, 60-64, 65+'." } } }, "gender": { "type": "string", "enum": [ "Female", "Male" ], "description": "Property. Gender of the person profiled. Enum:'Female, Male'." }, "travelPartyComposition": { "type": "string", "enum": [ "Single", "Single parent", "Family", "Couple", "Friends/Relatives" ], "description": "Property. Composition of the travelling party based on the number of adults and children. Enum:'Single, Single parent, Family, Couple, Friends/Relatives'." }, "lodgingType": { "type": "string", "enum": [ "Hotel", "Resort", "Hostel", "Motel", "B&B", "Aparthotel", "Lodge" ], "description": "Property. Usual type of lodging for the stay. Could reference UNE178506 in the future. Enum:'Hotel, Resort, Hostel, Motel, B&B, Aparthotel, Lodge'." }, "lodgingCategory": { "type": "string", "enum": [ "1", "1 Superior", "2", "2 Superior", "3", "3 Superior", "4", "4 Superior", "5", "5 Superior" ], "description": "Property. Usual category of the lodging. Enum:'1, 1 Superior, 2, 2 Superior, 3, 3 Superior, 4, 4 Superior, 5, 5 Superior'." }, "lodgingSize": { "type": "object", "description": "Property. Range size in number of rooms of the lodging", "properties": { "range": { "type": "string", "description": "Property. Value of lodgingSize. It uses the ranges defined by sortingOrder." }, "sortingOrder": { "type": "array", "items": { "type": "string" }, "description": "Property. Ordered set of intervals of the quantity of rooms for lodgingSize. OrderedSet: '0 - 24 very small, 25 - 100 small, 101 - 300 medium, 301 - 700 large, 701 - 1200 very large, 1201+ massive'" } } }, "roomOfStayType": { "type": "string", "enum": [ "Apartment", "Bungalow", "Studio", "Single", "Double", "Family", "Junior Suite", "Senior/Executive Suite", "Royal/Presidential Suite" ], "description": "Property. Usual type of the accommodation room reserved. Enum:'Apartment, Bungalow, Studio, Single, Double, Family, Junior Suite, Senior/Executive Suite, Royal/Presidential Suite'." }, "board": { "type": "string", "enum": [ "RO", "BB", "HB", "FB", "AI" ], "description": "Property. Usual type of board type reserved. Enum:'RO, BB, HB, FB, AI'." }, "bookingChannel": { "type": "string", "description": "Property. Channel used by the tourist for the reservation." }, "reservationLeadTime": { "type": "object", "description": "Property. Range of days between booking and check-in.", "properties": { "range": { "type": "string", "description": "Property. Value of reservationLeadTime. It uses the ranges defined by sortingOrder." }, "sortingOrder": { "type": "array", "items": { "type": "string" }, "description": "Property. Ordered set of range of days for reservationLeadTime. OrderedSet: '1 to 7 days, 8 to 14 days, 15 to 30 days, 31 to 60 days, 61 to 90 days, 91 to 120 days, 121 to 240 days, 241 to 365 days, 366+ days'." } } }, "stayLength": { "type": "object", "description": "Property. Range of number of staying nights.", "properties": { "range": { "type": "string", "description": "Property. Value of stayLength. It uses the ranges defined by sortingOrder." }, "sortingOrder": { "type": "array", "items": { "type": "string" }, "description": "Property. Ordered set of range of nights for stayLength. OrderedSet: '1 night, 2 to 4 nights, 5 to 7 nights, 8 to 14 nights, 15 to 21 nights, 22+ nights'." } } }, "totalExpenditure": { "type": "object", "description": "Property. Range of total amount of money invoiced by the lodging establishment.", "properties": { "range": { "type": "string", "description": "Property. Value of totalExpenditure. It uses the ranges defined by sortingOrder." }, "sortingOrder": { "type": "array", "items": { "type": "string" }, "description": "Property. Ordered set of range of money amounts for totalExpenditure. OrderedSet: '0 to 249 €, 250 to 499 €, 500 to 749 €, 750 to 999 €, 1000 to 1499 €, 1500 to 1999 €, 2000 to 2999 €, 3000 to 3999 €, 4000 to 4999 €, 5000+ €'." } } }, "totalAccommodationAndBoardExpenditure": { "type": "object", "description": "Property. Range of total amount of money invoiced by the lodging establishment in accommodation and board concepts.", "properties": { "range": { "type": "string", "description": "Property. Value of totalAccommodationAndBoardExpenditure. It uses the ranges defined by sortingOrder." }, "sortingOrder": { "type": "array", "items": { "type": "string" }, "description": "Property. Ordered set of range of money amounts for totalAccommodationAndBoardExpenditure. OrderedSet: '0 to 249 €, 250 to 499 €, 500 to 749 €, 750 to 999 €, 1000 to 1499 €, 1500 to 1999 €, 2000 to 2999 €, 3000 to 3999 €, 4000 to 4999 €, 5000+ €'." } } }, "totalExtraExpenditure": { "type": "object", "description": "Property. Range of total amount of money invoiced by the lodging establishment in extra concepts.", "properties": { "range": { "type": "string", "description": "Property. Value of totalExtraExpenditure. It uses the ranges defined by sortingOrder." }, "sortingOrder": { "type": "array", "items": { "type": "string" }, "description": "Property. Ordered set of range of money amounts for totalExtraExpenditure. OrderedSet: '0 to 249 €, 250 to 499 €, 500 to 749 €, 750 to 999 €, 1000 to 1499 €, 1500 to 1999 €, 2000 to 2999 €, 3000 to 3999 €, 4000 to 4999 €, 5000+ €'." } } }, "avgDailyExpenditure": { "type": "object", "description": "Property. Range of avg daily amount of money invoiced by the lodging establishment.", "properties": { "range": { "type": "string", "description": "Property. Value of avgDailyExpenditure. It uses the ranges defined by sortingOrder." }, "sortingOrder": { "type": "array", "items": { "type": "string" }, "description": "Property. Ordered set of range of money amounts for avgDailyExpenditure. OrderedSet: '0 to 24 €, 25 to 49 €, 50 to 74 €, 75 to 99 €, 100 to 149 €, 150 to 199 €, 200 to 249 €, 250 to 299 €, 300 to 399 €, 400 to 499 €, 500 to 599 €, 600+ €'." } } }, "avgDailyAccommodationAndBoardExpenditure": { "type": "object", "description": "Property. Range of avg daily amount of money invoiced by the lodging establishment in accommodation and board concepts.", "properties": { "range": { "type": "string", "description": "Property. Value of avgDailyAccommodationAndBoardExpenditure. It uses the ranges defined by sortingOrder." }, "sortingOrder": { "type": "array", "items": { "type": "string" }, "description": "Property. Ordered set of range of money amounts for avgDailyAccommodationAndBoardExpenditure. OrderedSet: '0 to 24 €, 25 to 49 €, 50 to 74 €, 75 to 99 €, 100 to 149 €, 150 to 199 €, 200 to 249 €, 250 to 299 €, 300 to 399 €, 400 to 499 €, 500 to 599 €, 600+ €'" } } }, "avgDailyExtraExpenditure": { "type": "object", "description": "Property. Range of avg daily amount of money invoiced by the lodging establishment in extra concepts", "properties": { "range": { "type": "string", "description": "Property. Value of avgDailyExtraExpenditure. It uses the ranges defined by sortingOrder." }, "sortingOrder": { "type": "array", "items": { "type": "string" }, "description": "Property. Ordered set of range of money amounts for avgDailyExtraExpenditure. OrderedSet: '0 to 24 €, 25 to 49 €, 50 to 74 €, 75 to 99 €, 100 to 149 €, 150 to 199 €, 200 to 249 €, 250 to 299 €, 300 to 399 €, 400 to 499 €, 500 to 599 €, 600+ €'" } } } } } ] }