Skip to content

Instantly share code, notes, and snippets.

@vharmain
Last active October 28, 2024 12:05
Show Gist options
  • Save vharmain/ace43a7f66f7b14c526baab0f29c91d9 to your computer and use it in GitHub Desktop.
Save vharmain/ace43a7f66f7b14c526baab0f29c91d9 to your computer and use it in GitHub Desktop.
LIPAS - UTP aktiviteetit json-skeema
{
"type" : "object",
"properties" : {
"outdoor-recreation-areas" : {
"type" : "object",
"properties" : {
"additional-info-link" : {
"type" : "string"
},
"arrival" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"accessibility" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"contacts" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"organization" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"role" : {
"type" : "string",
"enum" : [ "admin", "content-creator", "customer-service" ]
},
"email" : {
"type" : "string"
},
"www" : {
"type" : "string"
},
"phone-number" : {
"type" : "string"
}
}
}
},
"geo-park" : {
"type" : "boolean"
},
"images" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"url" : {
"type" : "string"
},
"description" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"alt-text" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"copyright" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"required" : [ "url" ]
}
},
"highlights" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"videos" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"url" : {
"type" : "string"
},
"description" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"required" : [ "url" ]
}
},
"status" : {
"type" : "string",
"enum" : [ "draft", "active" ]
},
"rules-structured" : {
"type" : "object",
"properties" : {
"common-rules" : {
"type" : "array",
"items" : {
"type" : "string",
"enum" : [ "everymans-rights-valid", "bring-garbage-bag-bins-available", "overnight-stay-guest-harbour-allowed", "keep-pets-leashed-poop-not-ok", "bring-garbage-bag-no-bins", "fire-only-at-marked-fireplaces", "use-delivered-firewood-or-bring-own", "bring-own-firewood", "temporary-camping-allowed", "overnight-stay-not-allowed", "only-fire-in-designated-places", "camping-forbidden", "keep-pets-leashed-poop-ok", "only-fire-in-designated-places-during-wildfire-warning", "disposable-grills-forbidden" ]
}
},
"custom-rules" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"label" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"description" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"value" : {
"type" : "string",
"minLength" : 2
}
}
}
}
},
"required" : [ "common-rules" ]
},
"description-short" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"description-long" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
}
},
"outdoor-recreation-facilities" : {
"type" : "object",
"properties" : {
"additional-info-link" : {
"type" : "string"
},
"arrival" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"accessibility" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"contacts" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"organization" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"role" : {
"type" : "string",
"enum" : [ "admin", "content-creator", "customer-service" ]
},
"email" : {
"type" : "string"
},
"www" : {
"type" : "string"
},
"phone-number" : {
"type" : "string"
}
}
}
},
"images" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"url" : {
"type" : "string"
},
"description" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"alt-text" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"copyright" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"required" : [ "url" ]
}
},
"videos" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"url" : {
"type" : "string"
},
"description" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"required" : [ "url" ]
}
},
"rules" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"status" : {
"type" : "string",
"enum" : [ "draft", "active" ]
},
"description-short" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
}
},
"outdoor-recreation-routes" : {
"type" : "object",
"properties" : {
"status" : {
"type" : "string",
"enum" : [ "draft", "active" ]
},
"routes" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"additional-info-link" : {
"type" : "string"
},
"arrival" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"contacts" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"organization" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"role" : {
"type" : "string",
"enum" : [ "admin", "content-creator", "customer-service" ]
},
"email" : {
"type" : "string"
},
"www" : {
"type" : "string"
},
"phone-number" : {
"type" : "string"
}
}
}
},
"images" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"url" : {
"type" : "string"
},
"description" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"alt-text" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"copyright" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"required" : [ "url" ]
}
},
"highlights" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"videos" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"url" : {
"type" : "string"
},
"description" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"required" : [ "url" ]
}
},
"description-short" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"description-long" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"id" : {
"type" : "string"
},
"geometries" : {
"type" : "object",
"properties" : {
"type" : {
"type" : "string",
"enum" : [ "FeatureCollection" ]
},
"features" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"id" : {
"type" : "string"
},
"type" : {
"type" : "string",
"enum" : [ "Feature" ]
},
"properties" : {
"type" : "object",
"properties" : { }
},
"geometry" : {
"type" : "object",
"properties" : {
"type" : {
"type" : "string",
"enum" : [ "LineString" ]
},
"coordinates" : {
"type" : "array",
"items" : {
"anyOf" : [ {
"type" : "array",
"items" : [ {
"type" : "number"
}, {
"type" : "number"
} ],
"additionalItems" : false
}, {
"type" : "array",
"items" : [ {
"type" : "number"
}, {
"type" : "number"
}, {
"type" : "number"
} ],
"additionalItems" : false
} ]
}
}
},
"required" : [ "type", "coordinates" ]
}
},
"required" : [ "type", "geometry" ]
}
}
},
"required" : [ "type", "features" ]
},
"accessibility-categorized" : {
"type" : "object",
"properties" : {
"mobility-impaired" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"hearing-impaired" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"visually-impaired" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"developmentally-disabled" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
}
},
"route-name" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"outdoor-recreation-activities" : {
"type" : "array",
"items" : {
"enum" : [ [ "camping", "hiking", "outdoor-recreation", "mountain-biking", "paddling", "skiing" ] ]
}
},
"duration" : {
"type" : "object",
"properties" : {
"min" : {
"anyOf" : [ {
"type" : "integer"
}, {
"type" : "number"
} ]
},
"max" : {
"anyOf" : [ {
"type" : "integer"
}, {
"type" : "number"
} ]
},
"unit" : {
"type" : "string",
"enum" : [ "days", "hours", "minutes" ]
}
}
},
"travel-direction" : {
"type" : "string",
"enum" : [ "clockwise", "counter-clockwise" ]
},
"route-marking" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"rules-structured" : {
"type" : "object",
"properties" : {
"common-rules" : {
"type" : "array",
"items" : {
"type" : "string",
"enum" : [ "everymans-rights-valid", "bring-garbage-bag-bins-available", "overnight-stay-guest-harbour-allowed", "keep-pets-leashed-poop-not-ok", "bring-garbage-bag-no-bins", "fire-only-at-marked-fireplaces", "use-delivered-firewood-or-bring-own", "bring-own-firewood", "temporary-camping-allowed", "overnight-stay-not-allowed", "only-fire-in-designated-places", "camping-forbidden", "keep-pets-leashed-poop-ok", "only-fire-in-designated-places-during-wildfire-warning", "disposable-grills-forbidden" ]
}
},
"custom-rules" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"label" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"description" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"value" : {
"type" : "string",
"minLength" : 2
}
}
}
}
},
"required" : [ "common-rules" ]
},
"route-length-km" : {
"anyOf" : [ {
"type" : "integer"
}, {
"type" : "number"
} ]
},
"surface-material" : {
"type" : "array",
"items" : {
"type" : "string",
"enum" : [ "gravel", "natural-surface", "fiberglass", "brick-crush", "water", "concrete", "textile", "asphalt", "ceramic", "rock-dust", "deinked-pulp", "carpet", "stone", "metal", "soil", "woodchips", "grass", "synthetic", "sand", "artificial-turf", "wood", "sawdust", "sand-infilled-artificial-turf", "resin" ]
}
},
"accessibility-classification" : {
"type" : "string",
"enum" : [ "accessible", "advanced-accessible", "inaccessible", "unknown" ]
},
"independent-entity" : {
"type" : "boolean"
},
"pilgrimage" : {
"type" : "boolean"
}
},
"required" : [ "id", "geometries", "accessibility-classification" ]
}
}
}
},
"cycling" : {
"type" : "object",
"properties" : {
"status" : {
"type" : "string",
"enum" : [ "draft", "active" ]
},
"routes" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"additional-info-link" : {
"type" : "string"
},
"arrival" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"accessibility" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"contacts" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"organization" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"role" : {
"type" : "string",
"enum" : [ "admin", "content-creator", "customer-service" ]
},
"email" : {
"type" : "string"
},
"www" : {
"type" : "string"
},
"phone-number" : {
"type" : "string"
}
}
}
},
"images" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"url" : {
"type" : "string"
},
"description" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"alt-text" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"copyright" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"required" : [ "url" ]
}
},
"highlights" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"videos" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"url" : {
"type" : "string"
},
"description" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"required" : [ "url" ]
}
},
"rules" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"description-short" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"description-long" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"id" : {
"type" : "string"
},
"geometries" : {
"type" : "object",
"properties" : {
"type" : {
"type" : "string",
"enum" : [ "FeatureCollection" ]
},
"features" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"id" : {
"type" : "string"
},
"type" : {
"type" : "string",
"enum" : [ "Feature" ]
},
"properties" : {
"type" : "object",
"properties" : { }
},
"geometry" : {
"type" : "object",
"properties" : {
"type" : {
"type" : "string",
"enum" : [ "LineString" ]
},
"coordinates" : {
"type" : "array",
"items" : {
"anyOf" : [ {
"type" : "array",
"items" : [ {
"type" : "number"
}, {
"type" : "number"
} ],
"additionalItems" : false
}, {
"type" : "array",
"items" : [ {
"type" : "number"
}, {
"type" : "number"
}, {
"type" : "number"
} ],
"additionalItems" : false
} ]
}
}
},
"required" : [ "type", "coordinates" ]
}
},
"required" : [ "type", "geometry" ]
}
}
},
"required" : [ "type", "features" ]
},
"route-name" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"cycling-activities" : {
"type" : "array",
"items" : {
"type" : "string",
"enum" : [ "gravel-and-bikepacking", "road-cycling", "bike-touring", "mountain-biking", "winter-cycling" ]
}
},
"cycling-difficulty" : {
"type" : "string",
"enum" : [ "1-easy", "2-somewhat-challenging", "3-moderately-challenging", "4-challenging", "5-extremely-challenging" ]
},
"cycling-route-difficulty" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"duration" : {
"type" : "object",
"properties" : {
"min" : {
"anyOf" : [ {
"type" : "integer"
}, {
"type" : "number"
} ]
},
"max" : {
"anyOf" : [ {
"type" : "integer"
}, {
"type" : "number"
} ]
},
"unit" : {
"type" : "string",
"enum" : [ "days", "hours", "minutes" ]
}
}
},
"food-and-water" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"accommodation" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"good-to-know" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"route-notes" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"route-length-km" : {
"anyOf" : [ {
"type" : "integer"
}, {
"type" : "number"
} ]
},
"surface-material" : {
"type" : "array",
"items" : {
"type" : "string",
"enum" : [ "gravel", "natural-surface", "fiberglass", "brick-crush", "water", "concrete", "textile", "asphalt", "ceramic", "rock-dust", "deinked-pulp", "carpet", "stone", "metal", "soil", "woodchips", "grass", "synthetic", "sand", "artificial-turf", "wood", "sawdust", "sand-infilled-artificial-turf", "resin" ]
}
},
"unpaved-percentage" : {
"anyOf" : [ {
"type" : "integer",
"minimum" : 0,
"maximum" : 100
}, {
"type" : "number",
"minimum" : 0,
"maximum" : 100
} ]
},
"trail-percentage" : {
"anyOf" : [ {
"type" : "integer",
"minimum" : 0,
"maximum" : 100
}, {
"type" : "number",
"minimum" : 0,
"maximum" : 100
} ]
},
"cyclable-percentage" : {
"anyOf" : [ {
"type" : "integer",
"minimum" : 0,
"maximum" : 100
}, {
"type" : "number",
"minimum" : 0,
"maximum" : 100
} ]
},
"pilgrimage" : {
"type" : "boolean"
}
},
"required" : [ "id", "geometries" ]
}
}
}
},
"paddling" : {
"type" : "object",
"properties" : {
"status" : {
"type" : "string",
"enum" : [ "draft", "active" ]
},
"equipment-rental?" : {
"type" : "boolean"
},
"rapid-canoeing-centre?" : {
"type" : "boolean"
},
"canoeing-club?" : {
"type" : "boolean"
},
"activity-service-company?" : {
"type" : "boolean"
},
"routes" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"additional-info-link" : {
"type" : "string"
},
"arrival" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"accessibility" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"contacts" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"organization" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"role" : {
"type" : "string",
"enum" : [ "admin", "content-creator", "customer-service" ]
},
"email" : {
"type" : "string"
},
"www" : {
"type" : "string"
},
"phone-number" : {
"type" : "string"
}
}
}
},
"images" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"url" : {
"type" : "string"
},
"description" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"alt-text" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"copyright" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"required" : [ "url" ]
}
},
"highlights" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"videos" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"url" : {
"type" : "string"
},
"description" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"required" : [ "url" ]
}
},
"rules" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"description-short" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"description-long" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"id" : {
"type" : "string"
},
"geometries" : {
"type" : "object",
"properties" : {
"type" : {
"type" : "string",
"enum" : [ "FeatureCollection" ]
},
"features" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"id" : {
"type" : "string"
},
"type" : {
"type" : "string",
"enum" : [ "Feature" ]
},
"properties" : {
"type" : "object",
"properties" : { }
},
"geometry" : {
"type" : "object",
"properties" : {
"type" : {
"type" : "string",
"enum" : [ "LineString" ]
},
"coordinates" : {
"type" : "array",
"items" : {
"anyOf" : [ {
"type" : "array",
"items" : [ {
"type" : "number"
}, {
"type" : "number"
} ],
"additionalItems" : false
}, {
"type" : "array",
"items" : [ {
"type" : "number"
}, {
"type" : "number"
}, {
"type" : "number"
} ],
"additionalItems" : false
} ]
}
}
},
"required" : [ "type", "coordinates" ]
}
},
"required" : [ "type", "geometry" ]
}
}
},
"required" : [ "type", "features" ]
},
"route-name" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"paddling-activities" : {
"type" : "array",
"items" : {
"type" : "string",
"enum" : [ "trip-padding", "whitewater-paddling" ]
}
},
"paddling-route-type" : {
"type" : "array",
"items" : {
"type" : "string",
"enum" : [ "open-water", "sheltered", "river", "rapids" ]
}
},
"paddling-properties" : {
"type" : "array",
"items" : {
"type" : "string",
"enum" : [ "includes-portage-sections", "includes-canals-or-locks", "ideal-for-fishing", "scenic-vistas" ]
}
},
"paddling-difficulty" : {
"type" : "string",
"enum" : [ "easy", "medium", "hard" ]
},
"travel-direction" : {
"type" : "string",
"enum" : [ "clockwise", "counter-clockwise" ]
},
"safety" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"good-to-know" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"duration" : {
"type" : "object",
"properties" : {
"min" : {
"anyOf" : [ {
"type" : "integer"
}, {
"type" : "number"
} ]
},
"max" : {
"anyOf" : [ {
"type" : "integer"
}, {
"type" : "number"
} ]
},
"unit" : {
"type" : "string",
"enum" : [ "days", "hours", "minutes" ]
}
}
},
"pilgrimage" : {
"type" : "boolean"
}
},
"required" : [ "id", "geometries", "paddling-difficulty" ]
}
}
}
},
"birdwatching" : {
"type" : "object",
"properties" : {
"additional-info-link" : {
"type" : "string"
},
"arrival" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"birdwatching-character" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"accessibility" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"contacts" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"organization" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"role" : {
"type" : "string",
"enum" : [ "admin", "content-creator", "customer-service" ]
},
"email" : {
"type" : "string"
},
"www" : {
"type" : "string"
},
"phone-number" : {
"type" : "string"
}
}
}
},
"images" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"url" : {
"type" : "string"
},
"description" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"alt-text" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"copyright" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"required" : [ "url" ]
}
},
"highlights" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"videos" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"url" : {
"type" : "string"
},
"description" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"required" : [ "url" ]
}
},
"birdwatching-season" : {
"type" : "array",
"items" : {
"type" : "string",
"enum" : [ "spring", "summer", "autumn", "winter" ]
}
},
"birdwatching-habitat" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"rules" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"birdwatching-type" : {
"type" : "array",
"items" : {
"type" : "string",
"enum" : [ "bird-observation-tower", "other-bird-observation-spot" ]
}
},
"birdwatching-species" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"status" : {
"type" : "string",
"enum" : [ "draft", "active" ]
},
"description-short" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"description-long" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
}
},
"fishing" : {
"type" : "object",
"properties" : {
"additional-info-link" : {
"type" : "string"
},
"arrival" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"accessibility" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"contacts" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"organization" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"role" : {
"type" : "string",
"enum" : [ "admin", "content-creator", "customer-service" ]
},
"email" : {
"type" : "string"
},
"www" : {
"type" : "string"
},
"phone-number" : {
"type" : "string"
}
}
}
},
"images" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"url" : {
"type" : "string"
},
"description" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"alt-text" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"copyright" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"required" : [ "url" ]
}
},
"highlights" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"videos" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"url" : {
"type" : "string"
},
"description" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
},
"required" : [ "url" ]
}
},
"rules" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"status" : {
"type" : "string",
"enum" : [ "draft", "active" ]
},
"description-short" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"description-long" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"fish-population" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"fishing-permit" : {
"type" : "array",
"items" : {
"type" : "string",
"enum" : [ "general-fishing-rights", "fee-for-lure-fishing", "local-fishing-permit", "special-permit-or-restrictions" ]
}
},
"fishing-methods" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"fishing-permit-additional-info" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"fishing-waters" : {
"type" : "string",
"enum" : [ "sea", "river", "lake" ]
},
"fishing-type" : {
"type" : "array",
"items" : {
"type" : "string",
"enum" : [ "shore", "on-the-water" ]
}
},
"fishing-activities" : {
"type" : "array",
"items" : {
"type" : "string",
"enum" : [ "angling", "ice-fishing", "fly-fishing", "lure-fishing", "herring-jigging" ]
}
},
"fishing-species" : {
"type" : "array",
"items" : {
"type" : "string",
"enum" : [ "whitefish", "rainbow-trout", "herring", "salmon", "pike", "bream", "trout", "cyprinids", "arctic-char", "zander", "perch" ]
}
},
"accessibility-categorized" : {
"type" : "object",
"properties" : {
"mobility-impaired" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"hearing-impaired" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"visually-impaired" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
},
"developmentally-disabled" : {
"type" : "object",
"properties" : {
"fi" : {
"type" : "string"
},
"se" : {
"type" : "string"
},
"en" : {
"type" : "string"
}
}
}
}
},
"accessibility-classification" : {
"type" : "string",
"enum" : [ "accessible", "advanced-accessible", "inaccessible", "unknown" ]
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment