Mountain Areas¶
A resource that implements the concept of Mountain Area defined in the AlpineBits® Ontology.
A JSON object representing such a resource MUST contain the following fields:
-
type
: the constant"mountainAreas"
that identifies the resource as being a mountain area. -
id
: a string that uniquely and persistently identifies the mountain area within a SERVER. See the definition in ???. -
attributes
: an object containing the attributes of the mountain area. -
relationships
: an object containing the relationships of the mountain area to other resources. -
links
: an object containing the links related to the mountain area.
A mountain area resource is structured as follows:
{
"type": "mountainAreas",
"id": "1",
"meta": { ... },
"attributes": { ... },
"relationships": { ... },
"links": { ... }
}
Meta¶
See the definition of the meta
object in ???.
Attributes¶
The attributes
object of a mountain area resource MUST contain the following fields:
-
abstract
: a ??? object containing a brief description of the mountain area. Nullable. See the definition in ???. -
area
: a number representing the total area, in square meters, of the mountain area. Nullable. -
description
: *description
: a ??? object containing a description of the mountain area. Nullable. Conditional Assignment. See the definition in ???. -
geometries
: an array of ??? objects each of which represents the location of the mountain area in terms of GPS coordinates. There should be at most one geometry object of each type (e.g. Point, LineString). Nullable. Non-empty. -
howToArrive
: a ??? object containing instructions on how to arrive at the mountain area. Nullable. -
maxAltitude
: a number representing the highest elevation point of the mountain area in meters above sea level. Nullable. -
minAltitude
: a number representing the lowest elevation point of the mountain area in meters above sea level. Nullable. -
name
: a ??? object containing the complete name of the mountain area. Non-nullable. Conditional Assignment. See the definition in ???. -
openingHours
: an ??? object representing the hours in which the mountain area is open to the public. Nullable. -
shortName
: a ??? object containing a short name of the mountain area. Nullable. See the definition in ???. -
snowCondition
: a ??? object containing the latest reported condition of the snow in the mountain area. Nullable. -
totalParkLength
: an integer representing the total length, in meters, of all snowparks located within the mountain area. Nullable. -
totalSlopeLength
: an integer representing the total length, in meters, of all ski slopes located within the mountain area. Nullable. -
url
: a ??? object or string describing the mountain area, such as a website or a Wikipedia page. Nullable. See the definition in ???.
A summary of the attributes
object is presented in the table below:
Field | Type | Constraints |
---|---|---|
abstract |
Nullable |
|
area |
number |
Nullable, Unit of Measure, Greater than Zero |
description |
Nullable |
|
geometries |
Array of ??? |
Nullable, Non-empty |
howToArrive |
Nullable |
|
maxAltitude |
number |
Nullable, Unit of Measure |
minAltitude |
number |
Nullable, Unit of Measure |
name |
Non-nullable |
|
openingHours |
Nullable |
|
shortName |
Nullable |
|
snowCondition |
Nullable |
|
totalParkArea |
number |
Nullable, Unit of Measure, Greater than Zero |
totalTrailLength |
number |
Nullable, Unit of Measure, Greater than Zero |
url |
Nullable |
Relationships¶
The relationships
object of a mountain area resource MUST contain the following fields:
-
areaOwner
: a ??? agent resource (see ???) who owns the mountain area. Nullable. -
categories
: a ??? category resources that are instantiated by the mountain area. See Section ???. Nullable. Non-empty.No category is pre-defined by the standard.
-
connections
: a ??? place resources that identify the places that are physically accessible from the mountain area, which may include other Mountain Areas, ???, ???, and ???. Nullable. Non-empty.Notice that connections between place resources may not be symmetrical (i.e., bidirectional). For example, a place like a lift may give access to a snowpark, but the snowpark may not give access back to it.
-
lifts
: a ??? lift resources (see ???) that identify the lifts located within the mountain area. Nullable. Non-empty. -
multimediaDescriptions
: a ??? media object resources (see ???) that are related to the mountain area. See Section ???. Nullable. Non-empty. -
skiSlopes
: a ??? ski slope resources (see ???) that identify the slopes located within the mountain area. Nullable. Non-empty. -
snowparks
: a ??? snowpark resources (see ???) that identify the snowparks located within the mountain area. Nullable. Non-empty. -
subAreas
: a ??? mountain area resources (see Mountain Areas) that identify the mountain areas located within the mountain area. Nullable. Non-empty.
A summary of the relationships is presented in the table below:
Field | Type | Constraints |
---|---|---|
areaOwner |
Nullable, Non-empty |
|
categories |
Nullable, Non-empty |
|
connections |
??? object to Mountain Areas, ???, ???, and ??? |
Nullable, Non-empty |
lifts |
Nullable, Non-empty |
|
multimediaDescriptions |
Nullable, Non-empty |
|
snowparks |
Nullable, Non-empty |
|
subAreas |
??? object to Mountain Areas |
Nullable, Non-empty |
skiSlopes |
Nullable, Non-empty |
Links¶
See the definition of the links
object in ???.
Examples¶
The following example contains the minimal information required for a mountain area resource:
{
"id": "1",
"type": "mountainAreas",
"meta": {
"dataProvider": null,
"lastUpdate": null
},
"attributes": {
"name": {
"eng": "Meran 2000"
},
"shortName": null,
"description": null,
"abstract": null,
"url": null,
"geometries": null,
"howToArrive": null,
"openingHours": null,
"area": null,
"minAltitude": null,
"maxAltitude": null,
"totalTrailLength": null,
"totalParkArea": null,
"totalParkLength": null,
"snowCondition": null
},
"relationships": {
"areaOwner": null,
"connections": null,
"categories": null,
"multimediaDescriptions": null,
"lifts": null,
"skiSlopes": null,
"snowparks": null,
"subAreas": null
},
"links": {
"self": "https://example.com/2022-04/mountainAreas/1"
}
}
|
The following example illustrates the fields defined for mountain area resources:
{
"id": "1",
"type": "mountainAreas",
"meta": {
"dataProvider": "https://example.com",
"lastUpdate": "2020-04-01T08:00:00+02:00"
},
"attributes": {
"name": {
"ita": "Merano 2000",
"deu": "Meran 2000",
"eng": "Meran 2000"
},
"shortName": {
"eng": "Meran 2000"
},
"description": {
"deu": "Das Skigebiet Meran 2000 liegt unter dem Berg Ifinger im Burggrafenamt auf einem Hochplateau oberhalb Meran am Tschögglberg in Südtirol. Es hat 45 km Alpin-Pisten und reicht von 1670 bis 2300 m Höhe. Von Meran aus ist das Gebiet direkt über die Ifinger-Seilbahn ab Naif oder durch eine Umlaufseilbahn ab Falzeben erreichbar. Das Skigebiet erstreckt sich hauptsächlich auf dem Gemeindegebiet von Hafling, berührt aber auch zu den Gemeinden Schenna und Sarntal gehörende Flächen."
},
"abstract": {
"deu": "Das Skigebiet Meran 2000 liegt unter dem Berg Ifinger im Burggrafenamt auf einem Hochplateau oberhalb Meran am Tschögglberg in Südtirol. Es hat 45 km Alpin-Pisten und reicht von 1670 bis 2300 m Höhe."
},
"url": "https://www.meran2000.com",
"geometries": [
{
"type": "Polygon",
"coordinates": [
[
[
11.310853958129883,
46.66958283253642
],
[
11.304588317871094,
46.668817160723044
],
[
11.301412582397461,
46.666696782172096
],
[
11.305532455444336,
46.66457632044435
],
[
11.31265640258789,
46.66646117942096
],
[
11.314373016357422,
46.66869936409677
],
[
11.310853958129883,
46.66958283253642
]
]
]
}
],
"howToArrive": {
"ita": "L'area sciistica ed escursionistica di Merano è situata ai piedi della montagna Picco Ivigna ed è raggiungibile in pochi minuti dalle destinazioni di Merano, Avelengo, Scena e Tirolo. La cima di Merano 2000 è raggiungibile con due impianti di risalita diversi e ha dunque due stazioni a valle, una presso Merano con la Funivia e una ad Avelengo con la Cabinovia Falzeben.",
"deu": "Die Sonnenterrasse Merans liegt am Fuße des Ifingers und ist von den Ferienorten Meran, Hafling, Schenna und Dorf Tirol in wenigen Minuten leicht erreichbar. Die Bergstation von Meran 2000 kann man mit zwei verschiedenen Aufstiegsanlagen erreichen: von Meran aus mit der Bergbahn und von Hafling aus mit der Umlaufbahn Falzeben.",
"eng": "The skiing and hiking area of Merano 2000 is best located next to the biggest vacation hotspots of South Tyrol and so reachable within few minutes from Merano, Avelengo, Scena and Tirolo. Two lifts can bring you to the mountain station of Merano 2000: the Ropeway in Merano or the Gondola Falzeben in Avelengo."
},
"openingHours": {
"dailySchedules": {
"2020-12-25": null
},
"weeklySchedules": [
{
"validFrom": "2020-01-01",
"validTo": "2020-12-31",
"monday": [
{
"opens": "08:00:00+01:00",
"closes": "18:00:00+01:00"
}
],
"tuesday": [
{
"opens": "08:00:00+01:00",
"closes": "18:00:00+01:00"
}
],
"wednesday": [
{
"opens": "08:00:00+01:00",
"closes": "18:00:00+01:00"
}
],
"thursday": [
{
"opens": "08:00:00+01:00",
"closes": "18:00:00+01:00"
}
],
"friday": [
{
"opens": "08:00:00+01:00",
"closes": "18:00:00+01:00"
}
],
"saturday": [
{
"opens": "08:00:00+01:00",
"closes": "18:00:00+01:00"
}
],
"sunday": [
{
"opens": "08:00:00+01:00",
"closes": "18:00:00+01:00"
}
]
}
]
},
"area": 36000,
"minAltitude": 1200,
"maxAltitude": 2000,
"totalTrailLength": 4000,
"totalParkArea": 20000,
"totalParkLength": 1000,
"snowCondition": {
"primarySurface": "powder",
"secondarySurface": "packed-powder",
"baseSnow": 50,
"baseSnowRange": {
"lower": 40,
"upper": 60
},
"latestStorm": 40,
"obtainedIn": "2019-12-20",
"snowOverNight": 5,
"groomed": true,
"snowMaking": false
}
},
"relationships": {
"areaOwner": {
"data": {
"type": "agents",
"id": "1"
},
"links": {
"related": "https://example.com/2022-04/mountainAreas/1/areaOwner/"
}
},
"connections": {
"data": [
{
"type": "lifts",
"id": "1"
},
{
"type": "skiSlopes",
"id": "1"
}
],
"links": {
"related": "https://example.com/2022-04/mountainAreas/1/connections/"
}
},
"categories": {
"data": [
{
"type": "categories",
"id": "example:skiarea"
}
],
"links": {
"related": "https://example.com/2022-04/mountainAreas/1/categories"
}
},
"multimediaDescriptions": {
"data": [
{
"type": "mediaObjects",
"id": "1"
}
],
"links": {
"related": "https://example.com/2022-04/mountainAreas/1/multimediaDescriptions/"
}
},
"lifts": {
"data": [
{
"type": "lifts",
"id": "1"
}
],
"links": {
"related": "https://example.com/2022-04/mountainAreas/1/lifts/"
}
},
"skiSlopes": {
"data": [
{
"type": "skiSlopes",
"id": "1"
}
],
"links": {
"related": "https://example.com/2022-04/mountainAreas/1/skiSlopes/"
}
},
"snowparks": {
"data": [
{
"type": "snowparks",
"id": "1"
}
],
"links": {
"related": "https://example.com/2022-04/mountainAreas/1/snowparks/"
}
},
"subAreas": {
"data": [
{
"type": "mountainAreas",
"id": "2"
},
{
"type": "mountainAreas",
"id": "3"
}
],
"links": {
"related": "https://example.com/2022-04/mountainAreas/1/subAreas/"
}
}
},
"links": {
"self": "https://example.com/2022-04/mountainAreas/1"
}
}
|