diff --git a/docs/schema/reference/addresses/address.md b/docs/schema/reference/addresses/address.md index c46eef15..fe11b987 100644 --- a/docs/schema/reference/addresses/address.md +++ b/docs/schema/reference/addresses/address.md @@ -25,10 +25,10 @@ provinces, state, and regions, and similar addressing units are found. | -----: | :----: | ------------- | | `id` | [`Id`](../system/ref/id.md) | A feature ID. This may be an ID associated with the Global Entity Reference System (GERS) if—and-only-if the feature represents an entity that is part of GERS. | | `bbox` | `bbox` (optional) | An optional bounding box for the feature | -| `geometry` | `geometry` | Position of the address. Addresses are point geometries. | -| `theme` | `"addresses"` | | -| `type` | `"address"` | | -| `version` | [`FeatureVersion`](../core/feature_version.md) | | +| `geometry` | `geometry` | Position of the address. Addresses are point geometries.
*Allowed geometry types: Point* | +| `theme` | `"addresses"` | | +| `type` | `"address"` | | +| `version` | [`FeatureVersion`](../core/feature_version.md) | | | `sources[]` | [`Sources`](../core/sources.md) (list, optional) | Information about the source data used to assemble the feature. | | `sources[].property` | [`JsonPointer`](../system/json_pointer.md) | A JSON Pointer identifying the property (field) that this source information applies to.

The root document value `""` indicates that this source information applies to the entire feature, excepting properties (fields) for which a dedicated source information record exists.

Any other JSON Pointer apart from `""` indicates that this source record provides dedicated source information for the property at the path in the JSON Pointer. As an example, the value `"/names/common/en"` indicates that the source information applies to the English common name of a named feature, while the value `"/geometry"` indicates that it applies to the feature geometry. | | `sources[].dataset` | `string` | Name of the dataset where the source data can be found. | @@ -37,14 +37,14 @@ provinces, state, and regions, and similar addressing units are found. | `sources[].update_time` | `datetime` (optional) | Last update time of the source data record. | | `sources[].confidence` | [`ConfidenceScore`](../core/confidence_score.md) (optional) | Confidence value from the source dataset.

This is a value between 0.0 and 1.0 and is particularly relevant for ML-derived data. | | `sources[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SourceItem applies to. | -| `address_levels[]` | `list<`[`AddressLevel`](types/address_level.md)`>` (optional) | Names of the sub-country addressing areas the address belongs to, including the city or locality, in descending order of generality.

The list is sorted so that the highest, or most general, level comes first (*e.g.*, region) and the lowest, or most particular level, comes last (*e.g.*, city or town).

The number of items in this list and their meaning is country-dependent. For example, in the United States, we expect two items: the state, and the locality or municipality within the state. Other countries might have as few as one, or even three or more.

When a specific level that is required for a country is not known. most likely because the data provider has not supplied it and we have not derived it from another source, the list item corresponding to that level must be present, but its `value` field should be omitted. | +| `address_levels[]` | `list<`[`AddressLevel`](types/address_level.md)`>` (optional) | Names of the sub-country addressing areas the address belongs to, including the city or locality, in descending order of generality.

The list is sorted so that the highest, or most general, level comes first (*e.g.*, region) and the lowest, or most particular level, comes last (*e.g.*, city or town).

The number of items in this list and their meaning is country-dependent. For example, in the United States, we expect two items: the state, and the locality or municipality within the state. Other countries might have as few as one, or even three or more.

When a specific level that is required for a country is not known. most likely because the data provider has not supplied it and we have not derived it from another source, the list item corresponding to that level must be present, but its `value` field should be omitted.
*`minimum length: 1`*
*`maximum length: 5`* | | `address_levels[].value` | [`StrippedString`](../system/stripped_string.md) (optional) | A string without leading or trailing whitespace | | `country` | [`CountryCodeAlpha2`](../system/country_code_alpha2.md) | The country the address belongs to, as an ISO 3166-1 alpha-2 country code. | -| `number` | [`StrippedString`](../system/stripped_string.md) (optional) | The house number.

This field does not necessarily contain an integer or even a number. Values such as "74B", "189 1/2", and "208.5", where the non-integer or non-number part is part of the house number, not a unit number, are in common use. | -| `postal_city` | [`StrippedString`](../system/stripped_string.md) (optional) | The postal authority designated city name, if applicable.

In some countries or regions, a mailing address may need to specify a different city name than the city that actually contains the address coordinates. This optional field can be used to specify the alternate city name to use.

For example:

- The postal city for the US address *716 East County Road, Winchester, Indiana* is Ridgeville. - The postal city for the Slovenian address *Tomaj 71, 6221 Tomaj, Slovenia* is Dutovlje. | -| `postcode` | [`StrippedString`](../system/stripped_string.md) (optional) | The postal code. | -| `street` | [`StrippedString`](../system/stripped_string.md) (optional) | The street name.

The street name can include a type (*e.g.*, "Street" or "St", "Boulevard" or "Blvd", *etc.*) and a directional (*e.g.*, "NW" or "Northwest", "S" or "Sud"). Both type and directional, if present, may be either a prefix or a suffix to the primary name. They may either be fully spelled-out or abbreviated. | -| `unit` | [`StrippedString`](../system/stripped_string.md) (optional) | The secondary address unit designator.

In the case where the primary street address is divided into secondary units, which may be apartments, floors, or even buildings if the primary street address is a campus, this field names the specific secondary unit being addressed. | +| `number` | [`StrippedString`](../system/stripped_string.md) (optional) | The house number.

This field does not necessarily contain an integer or even a number. Values such as "74B", "189 1/2", and "208.5", where the non-integer or non-number part is part of the house number, not a unit number, are in common use.
*`minimum length: 1`* | +| `postal_city` | [`StrippedString`](../system/stripped_string.md) (optional) | The postal authority designated city name, if applicable.

In some countries or regions, a mailing address may need to specify a different city name than the city that actually contains the address coordinates. This optional field can be used to specify the alternate city name to use.

For example:

- The postal city for the US address *716 East County Road, Winchester, Indiana* is Ridgeville. - The postal city for the Slovenian address *Tomaj 71, 6221 Tomaj, Slovenia* is Dutovlje.
*`minimum length: 1`* | +| `postcode` | [`StrippedString`](../system/stripped_string.md) (optional) | The postal code.
*`minimum length: 1`* | +| `street` | [`StrippedString`](../system/stripped_string.md) (optional) | The street name.

The street name can include a type (*e.g.*, "Street" or "St", "Boulevard" or "Blvd", *etc.*) and a directional (*e.g.*, "NW" or "Northwest", "S" or "Sud"). Both type and directional, if present, may be either a prefix or a suffix to the primary name. They may either be fully spelled-out or abbreviated.
*`minimum length: 1`* | +| `unit` | [`StrippedString`](../system/stripped_string.md) (optional) | The secondary address unit designator.

In the case where the primary street address is divided into secondary units, which may be apartments, floors, or even buildings if the primary street address is a campus, this field names the specific secondary unit being addressed.
*`minimum length: 1`* | ## Examples diff --git a/docs/schema/reference/addresses/types/address_level.md b/docs/schema/reference/addresses/types/address_level.md index 5b682acc..489b6bde 100644 --- a/docs/schema/reference/addresses/types/address_level.md +++ b/docs/schema/reference/addresses/types/address_level.md @@ -19,7 +19,7 @@ countries and regions, address levels do not necessarily correspond to administr | Name | Type | Description | | -----: | :----: | ------------- | -| `value` | [`StrippedString`](../../system/stripped_string.md) (optional) | A string without leading or trailing whitespace | +| `value` | [`StrippedString`](../../system/stripped_string.md) (optional) | A string without leading or trailing whitespace
*`minimum length: 1`* | ## Used By diff --git a/docs/schema/reference/base/bathymetry.md b/docs/schema/reference/base/bathymetry.md index 3b97e470..878bd8e2 100644 --- a/docs/schema/reference/base/bathymetry.md +++ b/docs/schema/reference/base/bathymetry.md @@ -13,10 +13,10 @@ lake beds or ocean floors. | -----: | :----: | ------------- | | `id` | [`Id`](../system/ref/id.md) | A feature ID. This may be an ID associated with the Global Entity Reference System (GERS) if—and-only-if the feature represents an entity that is part of GERS. | | `bbox` | `bbox` (optional) | An optional bounding box for the feature | -| `geometry` | `geometry` | Shape of the underwater area, which may be a polygon or multi-polygon. | -| `theme` | `"base"` | | -| `type` | `"bathymetry"` | | -| `version` | [`FeatureVersion`](../core/feature_version.md) | | +| `geometry` | `geometry` | Shape of the underwater area, which may be a polygon or multi-polygon.
*Allowed geometry types: MultiPolygon, Polygon* | +| `theme` | `"base"` | | +| `type` | `"bathymetry"` | | +| `version` | [`FeatureVersion`](../core/feature_version.md) | | | `sources[]` | [`Sources`](../core/sources.md) (list, optional) | Information about the source data used to assemble the feature. | | `sources[].property` | [`JsonPointer`](../system/json_pointer.md) | A JSON Pointer identifying the property (field) that this source information applies to.

The root document value `""` indicates that this source information applies to the entire feature, excepting properties (fields) for which a dedicated source information record exists.

Any other JSON Pointer apart from `""` indicates that this source record provides dedicated source information for the property at the path in the JSON Pointer. As an example, the value `"/names/common/en"` indicates that the source information applies to the English common name of a named feature, while the value `"/geometry"` indicates that it applies to the feature geometry. | | `sources[].dataset` | `string` | Name of the dataset where the source data can be found. | @@ -26,7 +26,7 @@ lake beds or ocean floors. | `sources[].confidence` | [`ConfidenceScore`](../core/confidence_score.md) (optional) | Confidence value from the source dataset.

This is a value between 0.0 and 1.0 and is particularly relevant for ML-derived data. | | `sources[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SourceItem applies to. | | `depth` | [`Depth`](types/depth.md) | Depth below surface level of the feature in meters. | -| `cartography` | [`CartographicHints`](../core/cartographic_hints.md) (optional) | | +| `cartography` | [`CartographicHints`](../core/cartographic_hints.md) (optional) | | | `cartography.prominence` | [`Prominence`](../core/prominence.md) (optional) | Subjective scale of feature significance or importance, with 1 being the least, and 100 being the most, significant.

This value can be used to help drive decisions about how and when to display a feature, and how to treat it relative to neighboring features.

When populated by Overture, this value is derived from various factors including, but not limited to: feature and subtype, population, and capital status. | | `cartography.min_zoom` | [`MinZoom`](../core/min_zoom.md) (optional) | Recommended minimum tile zoom level in which this feature should be displayed.

It is recommended that the feature be hidden at zoom levels below this value.

Zoom levels follow the Slippy Maps convention, documented in the following references: - https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames - https://www.maptiler.com/google-maps-coordinates-tile-bounds-projection | | `cartography.max_zoom` | [`MaxZoom`](../core/max_zoom.md) (optional) | Recommended maximum tile zoom level in which this feature should be displayed.

It is recommended that the feature be hidden at zoom levels above this value.

Zoom levels follow the Slippy Maps convention, documented in the following references: - https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames - https://www.maptiler.com/google-maps-coordinates-tile-bounds-projection | diff --git a/docs/schema/reference/base/infrastructure.md b/docs/schema/reference/base/infrastructure.md index 4c485181..4365889c 100644 --- a/docs/schema/reference/base/infrastructure.md +++ b/docs/schema/reference/base/infrastructure.md @@ -13,10 +13,10 @@ such as bridges, airports, runways, aerialways, communication towers, and power | -----: | :----: | ------------- | | `id` | [`Id`](../system/ref/id.md) | A feature ID. This may be an ID associated with the Global Entity Reference System (GERS) if—and-only-if the feature represents an entity that is part of GERS. | | `bbox` | `bbox` (optional) | An optional bounding box for the feature | -| `geometry` | `geometry` | Geometry of the infrastructure feature, which may be a point, line string, polygon, or multi-polygon. | -| `theme` | `"base"` | | -| `type` | `"infrastructure"` | | -| `version` | [`FeatureVersion`](../core/feature_version.md) | | +| `geometry` | `geometry` | Geometry of the infrastructure feature, which may be a point, line string, polygon, or multi-polygon.
*Allowed geometry types: LineString, MultiPolygon, Point, Polygon* | +| `theme` | `"base"` | | +| `type` | `"infrastructure"` | | +| `version` | [`FeatureVersion`](../core/feature_version.md) | | | `sources[]` | [`Sources`](../core/sources.md) (list, optional) | Information about the source data used to assemble the feature. | | `sources[].property` | [`JsonPointer`](../system/json_pointer.md) | A JSON Pointer identifying the property (field) that this source information applies to.

The root document value `""` indicates that this source information applies to the entire feature, excepting properties (fields) for which a dedicated source information record exists.

Any other JSON Pointer apart from `""` indicates that this source record provides dedicated source information for the property at the path in the JSON Pointer. As an example, the value `"/names/common/en"` indicates that the source information applies to the English common name of a named feature, while the value `"/geometry"` indicates that it applies to the feature geometry. | | `sources[].dataset` | `string` | Name of the dataset where the source data can be found. | @@ -25,13 +25,13 @@ such as bridges, airports, runways, aerialways, communication towers, and power | `sources[].update_time` | `datetime` (optional) | Last update time of the source data record. | | `sources[].confidence` | [`ConfidenceScore`](../core/confidence_score.md) (optional) | Confidence value from the source dataset.

This is a value between 0.0 and 1.0 and is particularly relevant for ML-derived data. | | `sources[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SourceItem applies to. | -| `class` | [`InfrastructureClass`](types/infrastructure_class.md) | | -| `subtype` | [`InfrastructureSubtype`](types/infrastructure_subtype.md) | | +| `class` | [`InfrastructureClass`](types/infrastructure_class.md) | | +| `subtype` | [`InfrastructureSubtype`](types/infrastructure_subtype.md) | | | `height` | [`Height`](types/height.md) (optional) | Height of the feature in meters. | -| `surface` | [`SurfaceMaterial`](types/surface_material.md) (optional) | | -| `names` | [`Names`](../core/names.md) (optional) | | +| `surface` | [`SurfaceMaterial`](types/surface_material.md) (optional) | | +| `names` | [`Names`](../core/names.md) (optional) | | | `names.primary` | [`StrippedString`](../system/stripped_string.md) | The most commonly used name. | -| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | +| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | | `names.rules[]` | `list<`[`NameRule`](../core/name_rule.md)`>` (optional) | Rules for names that cannot be specified in the simple common names property. These rules can cover other name variants such as official, alternate, and short; and they can optionally include geometric scoping (linear referencing) and side-of-road scoping for complex cases. | | `names.rules[].value` | [`StrippedString`](../system/stripped_string.md) | The actual name value. | | `names.rules[].variant` | [`NameVariant`](../core/name_variant.md) | The name variant for this name rule. | diff --git a/docs/schema/reference/base/land.md b/docs/schema/reference/base/land.md index fa42b1bb..e6f4b4c5 100644 --- a/docs/schema/reference/base/land.md +++ b/docs/schema/reference/base/land.md @@ -23,10 +23,10 @@ TODO: Update this description when the relationship to `land_cover` is better un | -----: | :----: | ------------- | | `id` | [`Id`](../system/ref/id.md) | A feature ID. This may be an ID associated with the Global Entity Reference System (GERS) if—and-only-if the feature represents an entity that is part of GERS. | | `bbox` | `bbox` (optional) | An optional bounding box for the feature | -| `geometry` | `geometry` | Geometry of the land feature, which may be a point, line string, polygon, or multi-polygon. | -| `theme` | `"base"` | | -| `type` | `"land"` | | -| `version` | [`FeatureVersion`](../core/feature_version.md) | | +| `geometry` | `geometry` | Geometry of the land feature, which may be a point, line string, polygon, or multi-polygon.
*Allowed geometry types: LineString, MultiPolygon, Point, Polygon* | +| `theme` | `"base"` | | +| `type` | `"land"` | | +| `version` | [`FeatureVersion`](../core/feature_version.md) | | | `sources[]` | [`Sources`](../core/sources.md) (list, optional) | Information about the source data used to assemble the feature. | | `sources[].property` | [`JsonPointer`](../system/json_pointer.md) | A JSON Pointer identifying the property (field) that this source information applies to.

The root document value `""` indicates that this source information applies to the entire feature, excepting properties (fields) for which a dedicated source information record exists.

Any other JSON Pointer apart from `""` indicates that this source record provides dedicated source information for the property at the path in the JSON Pointer. As an example, the value `"/names/common/en"` indicates that the source information applies to the English common name of a named feature, while the value `"/geometry"` indicates that it applies to the feature geometry. | | `sources[].dataset` | `string` | Name of the dataset where the source data can be found. | @@ -35,13 +35,13 @@ TODO: Update this description when the relationship to `land_cover` is better un | `sources[].update_time` | `datetime` (optional) | Last update time of the source data record. | | `sources[].confidence` | [`ConfidenceScore`](../core/confidence_score.md) (optional) | Confidence value from the source dataset.

This is a value between 0.0 and 1.0 and is particularly relevant for ML-derived data. | | `sources[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SourceItem applies to. | -| `class` | [`LandClass`](types/land_class.md) (optional) | | -| `subtype` | [`LandSubtype`](types/land_subtype.md) (optional) | | +| `class` | [`LandClass`](types/land_class.md) (optional) | | +| `subtype` | [`LandSubtype`](types/land_subtype.md) (optional) | | | `elevation` | [`Elevation`](types/elevation.md) (optional) | Elevation above sea level of the feature in meters. | -| `surface` | [`SurfaceMaterial`](types/surface_material.md) (optional) | | -| `names` | [`Names`](../core/names.md) (optional) | | +| `surface` | [`SurfaceMaterial`](types/surface_material.md) (optional) | | +| `names` | [`Names`](../core/names.md) (optional) | | | `names.primary` | [`StrippedString`](../system/stripped_string.md) | The most commonly used name. | -| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | +| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | | `names.rules[]` | `list<`[`NameRule`](../core/name_rule.md)`>` (optional) | Rules for names that cannot be specified in the simple common names property. These rules can cover other name variants such as official, alternate, and short; and they can optionally include geometric scoping (linear referencing) and side-of-road scoping for complex cases. | | `names.rules[].value` | [`StrippedString`](../system/stripped_string.md) | The actual name value. | | `names.rules[].variant` | [`NameVariant`](../core/name_variant.md) | The name variant for this name rule. | diff --git a/docs/schema/reference/base/land_cover.md b/docs/schema/reference/base/land_cover.md index 791d46c3..f90be560 100644 --- a/docs/schema/reference/base/land_cover.md +++ b/docs/schema/reference/base/land_cover.md @@ -20,10 +20,10 @@ TODO: Explain relationship to `Land` features. | -----: | :----: | ------------- | | `id` | [`Id`](../system/ref/id.md) | A feature ID. This may be an ID associated with the Global Entity Reference System (GERS) if—and-only-if the feature represents an entity that is part of GERS. | | `bbox` | `bbox` (optional) | An optional bounding box for the feature | -| `geometry` | `geometry` | Shape of the covered land area, which may be a polygon or multi-polygon. | -| `theme` | `"base"` | | -| `type` | `"land_cover"` | | -| `version` | [`FeatureVersion`](../core/feature_version.md) | | +| `geometry` | `geometry` | Shape of the covered land area, which may be a polygon or multi-polygon.
*Allowed geometry types: MultiPolygon, Polygon* | +| `theme` | `"base"` | | +| `type` | `"land_cover"` | | +| `version` | [`FeatureVersion`](../core/feature_version.md) | | | `sources[]` | [`Sources`](../core/sources.md) (list, optional) | Information about the source data used to assemble the feature. | | `sources[].property` | [`JsonPointer`](../system/json_pointer.md) | A JSON Pointer identifying the property (field) that this source information applies to.

The root document value `""` indicates that this source information applies to the entire feature, excepting properties (fields) for which a dedicated source information record exists.

Any other JSON Pointer apart from `""` indicates that this source record provides dedicated source information for the property at the path in the JSON Pointer. As an example, the value `"/names/common/en"` indicates that the source information applies to the English common name of a named feature, while the value `"/geometry"` indicates that it applies to the feature geometry. | | `sources[].dataset` | `string` | Name of the dataset where the source data can be found. | @@ -32,8 +32,8 @@ TODO: Explain relationship to `Land` features. | `sources[].update_time` | `datetime` (optional) | Last update time of the source data record. | | `sources[].confidence` | [`ConfidenceScore`](../core/confidence_score.md) (optional) | Confidence value from the source dataset.

This is a value between 0.0 and 1.0 and is particularly relevant for ML-derived data. | | `sources[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SourceItem applies to. | -| `subtype` | [`LandCoverSubtype`](types/land_cover_subtype.md) | | -| `cartography` | [`CartographicHints`](../core/cartographic_hints.md) (optional) | | +| `subtype` | [`LandCoverSubtype`](types/land_cover_subtype.md) | | +| `cartography` | [`CartographicHints`](../core/cartographic_hints.md) (optional) | | | `cartography.prominence` | [`Prominence`](../core/prominence.md) (optional) | Subjective scale of feature significance or importance, with 1 being the least, and 100 being the most, significant.

This value can be used to help drive decisions about how and when to display a feature, and how to treat it relative to neighboring features.

When populated by Overture, this value is derived from various factors including, but not limited to: feature and subtype, population, and capital status. | | `cartography.min_zoom` | [`MinZoom`](../core/min_zoom.md) (optional) | Recommended minimum tile zoom level in which this feature should be displayed.

It is recommended that the feature be hidden at zoom levels below this value.

Zoom levels follow the Slippy Maps convention, documented in the following references: - https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames - https://www.maptiler.com/google-maps-coordinates-tile-bounds-projection | | `cartography.max_zoom` | [`MaxZoom`](../core/max_zoom.md) (optional) | Recommended maximum tile zoom level in which this feature should be displayed.

It is recommended that the feature be hidden at zoom levels above this value.

Zoom levels follow the Slippy Maps convention, documented in the following references: - https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames - https://www.maptiler.com/google-maps-coordinates-tile-bounds-projection | diff --git a/docs/schema/reference/base/land_use.md b/docs/schema/reference/base/land_use.md index 0be26a22..f742bc35 100644 --- a/docs/schema/reference/base/land_use.md +++ b/docs/schema/reference/base/land_use.md @@ -18,10 +18,10 @@ TODO: Explain relationship to `Land` features. | -----: | :----: | ------------- | | `id` | [`Id`](../system/ref/id.md) | A feature ID. This may be an ID associated with the Global Entity Reference System (GERS) if—and-only-if the feature represents an entity that is part of GERS. | | `bbox` | `bbox` (optional) | An optional bounding box for the feature | -| `geometry` | `geometry` | Geometry of the land use area, which may be a point, line string, polygon, or multi-polygon. | -| `theme` | `"base"` | | -| `type` | `"land_use"` | | -| `version` | [`FeatureVersion`](../core/feature_version.md) | | +| `geometry` | `geometry` | Geometry of the land use area, which may be a point, line string, polygon, or multi-polygon.
*Allowed geometry types: LineString, MultiPolygon, Point, Polygon* | +| `theme` | `"base"` | | +| `type` | `"land_use"` | | +| `version` | [`FeatureVersion`](../core/feature_version.md) | | | `sources[]` | [`Sources`](../core/sources.md) (list, optional) | Information about the source data used to assemble the feature. | | `sources[].property` | [`JsonPointer`](../system/json_pointer.md) | A JSON Pointer identifying the property (field) that this source information applies to.

The root document value `""` indicates that this source information applies to the entire feature, excepting properties (fields) for which a dedicated source information record exists.

Any other JSON Pointer apart from `""` indicates that this source record provides dedicated source information for the property at the path in the JSON Pointer. As an example, the value `"/names/common/en"` indicates that the source information applies to the English common name of a named feature, while the value `"/geometry"` indicates that it applies to the feature geometry. | | `sources[].dataset` | `string` | Name of the dataset where the source data can be found. | @@ -30,13 +30,13 @@ TODO: Explain relationship to `Land` features. | `sources[].update_time` | `datetime` (optional) | Last update time of the source data record. | | `sources[].confidence` | [`ConfidenceScore`](../core/confidence_score.md) (optional) | Confidence value from the source dataset.

This is a value between 0.0 and 1.0 and is particularly relevant for ML-derived data. | | `sources[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SourceItem applies to. | -| `class` | [`LandUseClass`](types/land_use_class.md) | | -| `subtype` | [`LandUseSubtype`](types/land_use_subtype.md) | | +| `class` | [`LandUseClass`](types/land_use_class.md) | | +| `subtype` | [`LandUseSubtype`](types/land_use_subtype.md) | | | `elevation` | [`Elevation`](types/elevation.md) (optional) | Elevation above sea level of the feature in meters. | -| `surface` | [`SurfaceMaterial`](types/surface_material.md) (optional) | | -| `names` | [`Names`](../core/names.md) (optional) | | +| `surface` | [`SurfaceMaterial`](types/surface_material.md) (optional) | | +| `names` | [`Names`](../core/names.md) (optional) | | | `names.primary` | [`StrippedString`](../system/stripped_string.md) | The most commonly used name. | -| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | +| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | | `names.rules[]` | `list<`[`NameRule`](../core/name_rule.md)`>` (optional) | Rules for names that cannot be specified in the simple common names property. These rules can cover other name variants such as official, alternate, and short; and they can optionally include geometric scoping (linear referencing) and side-of-road scoping for complex cases. | | `names.rules[].value` | [`StrippedString`](../system/stripped_string.md) | The actual name value. | | `names.rules[].variant` | [`NameVariant`](../core/name_variant.md) | The name variant for this name rule. | diff --git a/docs/schema/reference/base/water.md b/docs/schema/reference/base/water.md index 4b7f1398..848e491c 100644 --- a/docs/schema/reference/base/water.md +++ b/docs/schema/reference/base/water.md @@ -34,10 +34,10 @@ and `water=*`. | -----: | :----: | ------------- | | `id` | [`Id`](../system/ref/id.md) | A feature ID. This may be an ID associated with the Global Entity Reference System (GERS) if—and-only-if the feature represents an entity that is part of GERS. | | `bbox` | `bbox` (optional) | An optional bounding box for the feature | -| `geometry` | `geometry` | Geometry of the water feature, which may be a point, line string, polygon, or multi-polygon. | -| `theme` | `"base"` | | -| `type` | `"water"` | | -| `version` | [`FeatureVersion`](../core/feature_version.md) | | +| `geometry` | `geometry` | Geometry of the water feature, which may be a point, line string, polygon, or multi-polygon.
*Allowed geometry types: LineString, MultiPolygon, Point, Polygon* | +| `theme` | `"base"` | | +| `type` | `"water"` | | +| `version` | [`FeatureVersion`](../core/feature_version.md) | | | `sources[]` | [`Sources`](../core/sources.md) (list, optional) | Information about the source data used to assemble the feature. | | `sources[].property` | [`JsonPointer`](../system/json_pointer.md) | A JSON Pointer identifying the property (field) that this source information applies to.

The root document value `""` indicates that this source information applies to the entire feature, excepting properties (fields) for which a dedicated source information record exists.

Any other JSON Pointer apart from `""` indicates that this source record provides dedicated source information for the property at the path in the JSON Pointer. As an example, the value `"/names/common/en"` indicates that the source information applies to the English common name of a named feature, while the value `"/geometry"` indicates that it applies to the feature geometry. | | `sources[].dataset` | `string` | Name of the dataset where the source data can be found. | @@ -46,14 +46,14 @@ and `water=*`. | `sources[].update_time` | `datetime` (optional) | Last update time of the source data record. | | `sources[].confidence` | [`ConfidenceScore`](../core/confidence_score.md) (optional) | Confidence value from the source dataset.

This is a value between 0.0 and 1.0 and is particularly relevant for ML-derived data. | | `sources[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SourceItem applies to. | -| `class` | [`WaterClass`](types/water_class.md) (optional) | | -| `subtype` | [`WaterSubtype`](types/water_subtype.md) (optional) | | -| `is_intermittent` | `boolean` (optional) | Whether the water body exists intermittently, not permanently | -| `is_salt` | `boolean` (optional) | Whether the water body contains salt water | +| `class` | [`WaterClass`](types/water_class.md) (optional) | | +| `subtype` | [`WaterSubtype`](types/water_subtype.md) (optional) | | +| `is_intermittent` | `boolean` (optional) | Whether the water body exists intermittently, not permanently
*`strict=True`* | +| `is_salt` | `boolean` (optional) | Whether the water body contains salt water
*`strict=True`* | | `level` | [`Level`](../core/level.md) (optional) | Z-order of the feature where 0 is visual level | -| `names` | [`Names`](../core/names.md) (optional) | | +| `names` | [`Names`](../core/names.md) (optional) | | | `names.primary` | [`StrippedString`](../system/stripped_string.md) | The most commonly used name. | -| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | +| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | | `names.rules[]` | `list<`[`NameRule`](../core/name_rule.md)`>` (optional) | Rules for names that cannot be specified in the simple common names property. These rules can cover other name variants such as official, alternate, and short; and they can optionally include geometric scoping (linear referencing) and side-of-road scoping for complex cases. | | `names.rules[].value` | [`StrippedString`](../system/stripped_string.md) | The actual name value. | | `names.rules[].variant` | [`NameVariant`](../core/name_variant.md) | The name variant for this name rule. | diff --git a/docs/schema/reference/buildings/building.md b/docs/schema/reference/buildings/building.md index b5c35b50..4388c32b 100644 --- a/docs/schema/reference/buildings/building.md +++ b/docs/schema/reference/buildings/building.md @@ -18,10 +18,10 @@ model of the building. | -----: | :----: | ------------- | | `id` | [`Id`](../system/ref/id.md) | A feature ID. This may be an ID associated with the Global Entity Reference System (GERS) if—and-only-if the feature represents an entity that is part of GERS. | | `bbox` | `bbox` (optional) | An optional bounding box for the feature | -| `geometry` | `geometry` | The building's footprint or roofprint (if traced from aerial/satellite imagery). | -| `theme` | `"buildings"` | | -| `type` | `"building"` | | -| `version` | [`FeatureVersion`](../core/feature_version.md) | | +| `geometry` | `geometry` | The building's footprint or roofprint (if traced from aerial/satellite imagery).
*Allowed geometry types: MultiPolygon, Polygon* | +| `theme` | `"buildings"` | | +| `type` | `"building"` | | +| `version` | [`FeatureVersion`](../core/feature_version.md) | | | `sources[]` | [`Sources`](../core/sources.md) (list, optional) | Information about the source data used to assemble the feature. | | `sources[].property` | [`JsonPointer`](../system/json_pointer.md) | A JSON Pointer identifying the property (field) that this source information applies to.

The root document value `""` indicates that this source information applies to the entire feature, excepting properties (fields) for which a dedicated source information record exists.

Any other JSON Pointer apart from `""` indicates that this source record provides dedicated source information for the property at the path in the JSON Pointer. As an example, the value `"/names/common/en"` indicates that the source information applies to the English common name of a named feature, while the value `"/geometry"` indicates that it applies to the feature geometry. | | `sources[].dataset` | `string` | Name of the dataset where the source data can be found. | @@ -32,10 +32,10 @@ model of the building. | `sources[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SourceItem applies to. | | `subtype` | [`BuildingSubtype`](types/building_subtype.md) (optional) | A broad classification of the current use and purpose of the building.

If the current use of the building no longer accords with the original built purpose, the current use should be specified. For example, a building built as a train station but later converted into a shopping mall would have the value `"commercial"` rather than `"transportation"`. | | `class` | [`BuildingClass`](types/building_class.md) (optional) | A more specific classification of the current use and purpose of the building.

If the current use of the building no longer accords with the original built purpose, the current use should be specified. | -| `has_parts` | `boolean` (optional) | Whether the building has associated building part features | -| `names` | [`Names`](../core/names.md) (optional) | | +| `has_parts` | `boolean` (optional) | Whether the building has associated building part features
*`strict=True`* | +| `names` | [`Names`](../core/names.md) (optional) | | | `names.primary` | [`StrippedString`](../system/stripped_string.md) | The most commonly used name. | -| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | +| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | | `names.rules[]` | `list<`[`NameRule`](../core/name_rule.md)`>` (optional) | Rules for names that cannot be specified in the simple common names property. These rules can cover other name variants such as official, alternate, and short; and they can optionally include geometric scoping (linear referencing) and side-of-road scoping for complex cases. | | `names.rules[].value` | [`StrippedString`](../system/stripped_string.md) | The actual name value. | | `names.rules[].variant` | [`NameVariant`](../core/name_variant.md) | The name variant for this name rule. | @@ -46,17 +46,17 @@ model of the building. | `names.rules[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing NameRule applies to. | | `names.rules[].side` | [`Side`](../core/scoping/side.md) (optional) | The side, either left or right, that the containing NameRule applies to. | | `level` | [`Level`](../core/level.md) (optional) | Z-order of the feature where 0 is visual level | -| `height` | `float64` (optional) | Height of the building or part in meters.

This is the distance from the lowest point to the highest point. | -| `is_underground` | `boolean` (optional) | Whether the entire building or part is completely below ground.

The underground flag is useful for display purposes. Buildings and building parts that are entirely below ground can be styled differently or omitted from the rendered image.

This flag is conceptually different from the `level` field, which indicates relative z-ordering and, notably, can be negative even if the building is entirely above-ground. | -| `num_floors` | `int32` (optional) | Number of above-ground floors of the building or part. | -| `num_floors_underground` | `int32` (optional) | Number of below-ground floors of the building or part. | +| `height` | `float64` (optional) | Height of the building or part in meters.

This is the distance from the lowest point to the highest point.
*`> 0`* | +| `is_underground` | `boolean` (optional) | Whether the entire building or part is completely below ground.

The underground flag is useful for display purposes. Buildings and building parts that are entirely below ground can be styled differently or omitted from the rendered image.

This flag is conceptually different from the `level` field, which indicates relative z-ordering and, notably, can be negative even if the building is entirely above-ground.
*`strict=True`* | +| `num_floors` | `int32` (optional) | Number of above-ground floors of the building or part.
*`> 0`* | +| `num_floors_underground` | `int32` (optional) | Number of below-ground floors of the building or part.
*`> 0`* | | `min_height` | `float64` (optional) | Altitude above ground where the bottom of the building or building part starts.

If present, this value indicates that the lowest part of the building or building part starts is above ground level. | -| `min_floor` | `int32` (optional) | Start floor of this building or part.

If present, this value indicates that the building or part is "floating" and its bottom-most floor is above ground level, usually because it is part of a larger building in which some parts do reach down to ground level. An example is a building that has an entry road or driveway at ground level into an interior courtyard, where part of the building bridges above the entry road. This property may sometimes be populated when `min_height` is missing and in these cases can be used as a proxy for `min_height`. | +| `min_floor` | `int32` (optional) | Start floor of this building or part.

If present, this value indicates that the building or part is "floating" and its bottom-most floor is above ground level, usually because it is part of a larger building in which some parts do reach down to ground level. An example is a building that has an entry road or driveway at ground level into an interior courtyard, where part of the building bridges above the entry road. This property may sometimes be populated when `min_height` is missing and in these cases can be used as a proxy for `min_height`.
*`> 0`* | | `facade_color` | [`HexColor`](../system/hex_color.md) (optional) | Facade color in `#rgb` or `#rrggbb` hex notation | | `facade_material` | [`FacadeMaterial`](types/facade_material.md) (optional) | Outer surface material of the facade | | `roof_material` | [`RoofMaterial`](types/roof_material.md) (optional) | Outer surface material of the roof | | `roof_shape` | [`RoofShape`](types/roof_shape.md) (optional) | Shape of the roof | -| `roof_direction` | `float64` (optional) | Bearing of the roof ridge line in degrees | +| `roof_direction` | `float64` (optional) | Bearing of the roof ridge line in degrees
*`≥ 0`*
*`< 360`* | | `roof_orientation` | [`RoofOrientation`](types/roof_orientation.md) (optional) | Orientation of the roof shape relative to the footprint shape | | `roof_color` | [`HexColor`](../system/hex_color.md) (optional) | The roof color in `#rgb` or `#rrggbb` hex notation | | `roof_height` | `float64` (optional) | Height of the roof in meters.

This is the distance from the base of the roof to its highest point. | diff --git a/docs/schema/reference/buildings/building_part.md b/docs/schema/reference/buildings/building_part.md index c8ec38f0..cb5f6c07 100644 --- a/docs/schema/reference/buildings/building_part.md +++ b/docs/schema/reference/buildings/building_part.md @@ -21,10 +21,10 @@ vertical dimension. | -----: | :----: | ------------- | | `id` | [`Id`](../system/ref/id.md) | A feature ID. This may be an ID associated with the Global Entity Reference System (GERS) if—and-only-if the feature represents an entity that is part of GERS. | | `bbox` | `bbox` (optional) | An optional bounding box for the feature | -| `geometry` | `geometry` | The footprint or roofprint of the building part. | -| `theme` | `"buildings"` | | -| `type` | `"building_part"` | | -| `version` | [`FeatureVersion`](../core/feature_version.md) | | +| `geometry` | `geometry` | The footprint or roofprint of the building part.
*Allowed geometry types: MultiPolygon, Polygon* | +| `theme` | `"buildings"` | | +| `type` | `"building_part"` | | +| `version` | [`FeatureVersion`](../core/feature_version.md) | | | `sources[]` | [`Sources`](../core/sources.md) (list, optional) | Information about the source data used to assemble the feature. | | `sources[].property` | [`JsonPointer`](../system/json_pointer.md) | A JSON Pointer identifying the property (field) that this source information applies to.

The root document value `""` indicates that this source information applies to the entire feature, excepting properties (fields) for which a dedicated source information record exists.

Any other JSON Pointer apart from `""` indicates that this source record provides dedicated source information for the property at the path in the JSON Pointer. As an example, the value `"/names/common/en"` indicates that the source information applies to the English common name of a named feature, while the value `"/geometry"` indicates that it applies to the feature geometry. | | `sources[].dataset` | `string` | Name of the dataset where the source data can be found. | @@ -33,10 +33,10 @@ vertical dimension. | `sources[].update_time` | `datetime` (optional) | Last update time of the source data record. | | `sources[].confidence` | [`ConfidenceScore`](../core/confidence_score.md) (optional) | Confidence value from the source dataset.

This is a value between 0.0 and 1.0 and is particularly relevant for ML-derived data. | | `sources[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SourceItem applies to. | -| `building_id` | [`Id`](../system/ref/id.md) | The building to which this part belongs | -| `names` | [`Names`](../core/names.md) (optional) | | +| `building_id` | [`Id`](../system/ref/id.md) | The building to which this part belongs
*References [`Building`](building.md) (belongs to)* | +| `names` | [`Names`](../core/names.md) (optional) | | | `names.primary` | [`StrippedString`](../system/stripped_string.md) | The most commonly used name. | -| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | +| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | | `names.rules[]` | `list<`[`NameRule`](../core/name_rule.md)`>` (optional) | Rules for names that cannot be specified in the simple common names property. These rules can cover other name variants such as official, alternate, and short; and they can optionally include geometric scoping (linear referencing) and side-of-road scoping for complex cases. | | `names.rules[].value` | [`StrippedString`](../system/stripped_string.md) | The actual name value. | | `names.rules[].variant` | [`NameVariant`](../core/name_variant.md) | The name variant for this name rule. | @@ -47,17 +47,17 @@ vertical dimension. | `names.rules[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing NameRule applies to. | | `names.rules[].side` | [`Side`](../core/scoping/side.md) (optional) | The side, either left or right, that the containing NameRule applies to. | | `level` | [`Level`](../core/level.md) (optional) | Z-order of the feature where 0 is visual level | -| `height` | `float64` (optional) | Height of the building or part in meters.

This is the distance from the lowest point to the highest point. | -| `is_underground` | `boolean` (optional) | Whether the entire building or part is completely below ground.

The underground flag is useful for display purposes. Buildings and building parts that are entirely below ground can be styled differently or omitted from the rendered image.

This flag is conceptually different from the `level` field, which indicates relative z-ordering and, notably, can be negative even if the building is entirely above-ground. | -| `num_floors` | `int32` (optional) | Number of above-ground floors of the building or part. | -| `num_floors_underground` | `int32` (optional) | Number of below-ground floors of the building or part. | +| `height` | `float64` (optional) | Height of the building or part in meters.

This is the distance from the lowest point to the highest point.
*`> 0`* | +| `is_underground` | `boolean` (optional) | Whether the entire building or part is completely below ground.

The underground flag is useful for display purposes. Buildings and building parts that are entirely below ground can be styled differently or omitted from the rendered image.

This flag is conceptually different from the `level` field, which indicates relative z-ordering and, notably, can be negative even if the building is entirely above-ground.
*`strict=True`* | +| `num_floors` | `int32` (optional) | Number of above-ground floors of the building or part.
*`> 0`* | +| `num_floors_underground` | `int32` (optional) | Number of below-ground floors of the building or part.
*`> 0`* | | `min_height` | `float64` (optional) | Altitude above ground where the bottom of the building or building part starts.

If present, this value indicates that the lowest part of the building or building part starts is above ground level. | -| `min_floor` | `int32` (optional) | Start floor of this building or part.

If present, this value indicates that the building or part is "floating" and its bottom-most floor is above ground level, usually because it is part of a larger building in which some parts do reach down to ground level. An example is a building that has an entry road or driveway at ground level into an interior courtyard, where part of the building bridges above the entry road. This property may sometimes be populated when `min_height` is missing and in these cases can be used as a proxy for `min_height`. | +| `min_floor` | `int32` (optional) | Start floor of this building or part.

If present, this value indicates that the building or part is "floating" and its bottom-most floor is above ground level, usually because it is part of a larger building in which some parts do reach down to ground level. An example is a building that has an entry road or driveway at ground level into an interior courtyard, where part of the building bridges above the entry road. This property may sometimes be populated when `min_height` is missing and in these cases can be used as a proxy for `min_height`.
*`> 0`* | | `facade_color` | [`HexColor`](../system/hex_color.md) (optional) | Facade color in `#rgb` or `#rrggbb` hex notation | | `facade_material` | [`FacadeMaterial`](types/facade_material.md) (optional) | Outer surface material of the facade | | `roof_material` | [`RoofMaterial`](types/roof_material.md) (optional) | Outer surface material of the roof | | `roof_shape` | [`RoofShape`](types/roof_shape.md) (optional) | Shape of the roof | -| `roof_direction` | `float64` (optional) | Bearing of the roof ridge line in degrees | +| `roof_direction` | `float64` (optional) | Bearing of the roof ridge line in degrees
*`≥ 0`*
*`< 360`* | | `roof_orientation` | [`RoofOrientation`](types/roof_orientation.md) (optional) | Orientation of the roof shape relative to the footprint shape | | `roof_color` | [`HexColor`](../system/hex_color.md) (optional) | The roof color in `#rgb` or `#rrggbb` hex notation | | `roof_height` | `float64` (optional) | Height of the roof in meters.

This is the distance from the base of the roof to its highest point. | diff --git a/docs/schema/reference/core/name_rule.md b/docs/schema/reference/core/name_rule.md index 387bd45e..a7464b92 100644 --- a/docs/schema/reference/core/name_rule.md +++ b/docs/schema/reference/core/name_rule.md @@ -18,7 +18,7 @@ Examples might include: | Name | Type | Description | | -----: | :----: | ------------- | -| `value` | [`StrippedString`](../system/stripped_string.md) | The actual name value. | +| `value` | [`StrippedString`](../system/stripped_string.md) | The actual name value.
*`minimum length: 1`* | | `variant` | [`NameVariant`](name_variant.md) | The name variant for this name rule. | | `language` | [`LanguageTag`](../system/language_tag.md) (optional) | The language in which the name `value` is specified, if known, as an IETF BCP 47 language tag. | | `perspectives` | [`Perspectives`](perspectives.md) (optional) | Political perspectives from which a named feature is viewed. | diff --git a/docs/schema/reference/core/names.md b/docs/schema/reference/core/names.md index e4e7c9b2..9da02614 100644 --- a/docs/schema/reference/core/names.md +++ b/docs/schema/reference/core/names.md @@ -6,8 +6,8 @@ Multilingual names container. | Name | Type | Description | | -----: | :----: | ------------- | -| `primary` | [`StrippedString`](../system/stripped_string.md) | The most commonly used name. | -| `common` | [`CommonNames`](common_names.md) (map, optional) | | +| `primary` | [`StrippedString`](../system/stripped_string.md) | The most commonly used name.
*`minimum length: 1`* | +| `common` | [`CommonNames`](common_names.md) (map, optional) | | | `rules[]` | `list<`[`NameRule`](name_rule.md)`>` (optional) | Rules for names that cannot be specified in the simple common names property. These rules can cover other name variants such as official, alternate, and short; and they can optionally include geometric scoping (linear referencing) and side-of-road scoping for complex cases. | | `rules[].value` | [`StrippedString`](../system/stripped_string.md) | The actual name value. | | `rules[].variant` | [`NameVariant`](name_variant.md) | The name variant for this name rule. | diff --git a/docs/schema/reference/core/perspectives.md b/docs/schema/reference/core/perspectives.md index c24d8be7..f1da9f7c 100644 --- a/docs/schema/reference/core/perspectives.md +++ b/docs/schema/reference/core/perspectives.md @@ -7,7 +7,7 @@ Political perspectives container. | Name | Type | Description | | -----: | :----: | ------------- | | `mode` | [`PerspectiveMode`](perspective_mode.md) | Whether the perspective holder accepts or disputes this name. | -| `countries` | [`CountryCodeAlpha2`](../system/country_code_alpha2.md) (list) | Countries holding the given mode of perspective. | +| `countries` | [`CountryCodeAlpha2`](../system/country_code_alpha2.md) (list) | Countries holding the given mode of perspective.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)* | ## Used By diff --git a/docs/schema/reference/core/scoping/opening_hours.md b/docs/schema/reference/core/scoping/opening_hours.md index 51abc392..da30697e 100644 --- a/docs/schema/reference/core/scoping/opening_hours.md +++ b/docs/schema/reference/core/scoping/opening_hours.md @@ -1,7 +1,7 @@ # OpeningHours Time span or time spans during which something is open or active, specified in the OpenStreetMap -opening hours specification: [https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification.](https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification.) +opening hours specification: [https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification](https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification). Underlying type: `string` diff --git a/docs/schema/reference/core/scoping/vehicle_axle_count_selector.md b/docs/schema/reference/core/scoping/vehicle_axle_count_selector.md index 2735ab8b..5ca32e61 100644 --- a/docs/schema/reference/core/scoping/vehicle_axle_count_selector.md +++ b/docs/schema/reference/core/scoping/vehicle_axle_count_selector.md @@ -6,8 +6,8 @@ Selects vehicles based on the number of axles they have. | Name | Type | Description | | -----: | :----: | ------------- | -| `dimension` | `"axle_count"` | | -| `comparison` | [`VehicleRelation`](vehicle_relation.md) | | +| `dimension` | `"axle_count"` | | +| `comparison` | [`VehicleRelation`](vehicle_relation.md) | | | `value` | `uint8` | Number of axles on the vehicle | ## Used By diff --git a/docs/schema/reference/core/scoping/vehicle_height_selector.md b/docs/schema/reference/core/scoping/vehicle_height_selector.md index 45013514..a2e0a5fd 100644 --- a/docs/schema/reference/core/scoping/vehicle_height_selector.md +++ b/docs/schema/reference/core/scoping/vehicle_height_selector.md @@ -6,9 +6,9 @@ Selects vehicles based on their height. | Name | Type | Description | | -----: | :----: | ------------- | -| `dimension` | `"height"` | | -| `comparison` | [`VehicleRelation`](vehicle_relation.md) | | -| `value` | `float64` | Vehicle height selection threshold in the given `unit` | +| `dimension` | `"height"` | | +| `comparison` | [`VehicleRelation`](vehicle_relation.md) | | +| `value` | `float64` | Vehicle height selection threshold in the given `unit`
*`≥ 0`* | | `unit` | [`LengthUnit`](../length_unit.md) | Height unit in which `value` is expressed | ## Used By diff --git a/docs/schema/reference/core/scoping/vehicle_length_selector.md b/docs/schema/reference/core/scoping/vehicle_length_selector.md index b558ca0c..1cc8eafe 100644 --- a/docs/schema/reference/core/scoping/vehicle_length_selector.md +++ b/docs/schema/reference/core/scoping/vehicle_length_selector.md @@ -6,9 +6,9 @@ Selects vehicles based on their length. | Name | Type | Description | | -----: | :----: | ------------- | -| `dimension` | `"length"` | | -| `comparison` | [`VehicleRelation`](vehicle_relation.md) | | -| `value` | `float64` | Vehicle length selection threshold in the given `unit` | +| `dimension` | `"length"` | | +| `comparison` | [`VehicleRelation`](vehicle_relation.md) | | +| `value` | `float64` | Vehicle length selection threshold in the given `unit`
*`≥ 0`* | | `unit` | [`LengthUnit`](../length_unit.md) | Length unit in which `value` is expressed | ## Used By diff --git a/docs/schema/reference/core/scoping/vehicle_weight_selector.md b/docs/schema/reference/core/scoping/vehicle_weight_selector.md index 55dc55b8..e9d1f98a 100644 --- a/docs/schema/reference/core/scoping/vehicle_weight_selector.md +++ b/docs/schema/reference/core/scoping/vehicle_weight_selector.md @@ -6,9 +6,9 @@ Selects vehicles based on their weight. | Name | Type | Description | | -----: | :----: | ------------- | -| `dimension` | `"weight"` | | -| `comparison` | [`VehicleRelation`](vehicle_relation.md) | | -| `value` | `float64` | Vehicle weight selection threshold in the given `unit` | +| `dimension` | `"weight"` | | +| `comparison` | [`VehicleRelation`](vehicle_relation.md) | | +| `value` | `float64` | Vehicle weight selection threshold in the given `unit`
*`≥ 0`* | | `unit` | [`WeightUnit`](../weight_unit.md) | Weight unit in which `value` is expressed | ## Used By diff --git a/docs/schema/reference/core/scoping/vehicle_width_selector.md b/docs/schema/reference/core/scoping/vehicle_width_selector.md index bde5ffd6..8759d0cb 100644 --- a/docs/schema/reference/core/scoping/vehicle_width_selector.md +++ b/docs/schema/reference/core/scoping/vehicle_width_selector.md @@ -6,9 +6,9 @@ Selects vehicles based on their width. | Name | Type | Description | | -----: | :----: | ------------- | -| `dimension` | `"width"` | | -| `comparison` | [`VehicleRelation`](vehicle_relation.md) | | -| `value` | `float64` | Vehicle width selection threshold in the given `unit` | +| `dimension` | `"width"` | | +| `comparison` | [`VehicleRelation`](vehicle_relation.md) | | +| `value` | `float64` | Vehicle width selection threshold in the given `unit`
*`≥ 0`* | | `unit` | [`LengthUnit`](../length_unit.md) | Width unit in which `value` is expressed | ## Used By diff --git a/docs/schema/reference/divisions/division.md b/docs/schema/reference/divisions/division.md index 3147409d..602194f6 100644 --- a/docs/schema/reference/divisions/division.md +++ b/docs/schema/reference/divisions/division.md @@ -13,14 +13,14 @@ Examples include countries, provinces, cities, towns, neighborhoods, etc. | Name | Type | Description | | -----: | :----: | ------------- | -| `cartography` | [`CartographicHints`](../core/cartographic_hints.md) (optional) | | +| `cartography` | [`CartographicHints`](../core/cartographic_hints.md) (optional) | | | `cartography.prominence` | [`Prominence`](../core/prominence.md) (optional) | Subjective scale of feature significance or importance, with 1 being the least, and 100 being the most, significant.

This value can be used to help drive decisions about how and when to display a feature, and how to treat it relative to neighboring features.

When populated by Overture, this value is derived from various factors including, but not limited to: feature and subtype, population, and capital status. | | `cartography.min_zoom` | [`MinZoom`](../core/min_zoom.md) (optional) | Recommended minimum tile zoom level in which this feature should be displayed.

It is recommended that the feature be hidden at zoom levels below this value.

Zoom levels follow the Slippy Maps convention, documented in the following references: - https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames - https://www.maptiler.com/google-maps-coordinates-tile-bounds-projection | | `cartography.max_zoom` | [`MaxZoom`](../core/max_zoom.md) (optional) | Recommended maximum tile zoom level in which this feature should be displayed.

It is recommended that the feature be hidden at zoom levels above this value.

Zoom levels follow the Slippy Maps convention, documented in the following references: - https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames - https://www.maptiler.com/google-maps-coordinates-tile-bounds-projection | | `cartography.sort_key` | [`SortKey`](../core/sort_key.md) (optional) | Integer indicating the recommended order in which to draw features.

Features with a lower number should be drawn "in front" of features with a higher number. | -| `names` | [`Names`](../core/names.md) | | +| `names` | [`Names`](../core/names.md) | | | `names.primary` | [`StrippedString`](../system/stripped_string.md) | The most commonly used name. | -| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | +| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | | `names.rules[]` | `list<`[`NameRule`](../core/name_rule.md)`>` (optional) | Rules for names that cannot be specified in the simple common names property. These rules can cover other name variants such as official, alternate, and short; and they can optionally include geometric scoping (linear referencing) and side-of-road scoping for complex cases. | | `names.rules[].value` | [`StrippedString`](../system/stripped_string.md) | The actual name value. | | `names.rules[].variant` | [`NameVariant`](../core/name_variant.md) | The name variant for this name rule. | @@ -32,10 +32,10 @@ Examples include countries, provinces, cities, towns, neighborhoods, etc. | `names.rules[].side` | [`Side`](../core/scoping/side.md) (optional) | The side, either left or right, that the containing NameRule applies to. | | `id` | [`Id`](../system/ref/id.md) | A feature ID. This may be an ID associated with the Global Entity Reference System (GERS) if—and-only-if the feature represents an entity that is part of GERS. | | `bbox` | `bbox` (optional) | An optional bounding box for the feature | -| `geometry` | `geometry` | Approximate location of a position commonly associated with the real-world entity modeled by the division feature. | -| `theme` | `"divisions"` | | -| `type` | `"division"` | | -| `version` | [`FeatureVersion`](../core/feature_version.md) | | +| `geometry` | `geometry` | Approximate location of a position commonly associated with the real-world entity modeled by the division feature.
*Allowed geometry types: Point* | +| `theme` | `"divisions"` | | +| `type` | `"division"` | | +| `version` | [`FeatureVersion`](../core/feature_version.md) | | | `sources[]` | [`Sources`](../core/sources.md) (list, optional) | Information about the source data used to assemble the feature. | | `sources[].property` | [`JsonPointer`](../system/json_pointer.md) | A JSON Pointer identifying the property (field) that this source information applies to.

The root document value `""` indicates that this source information applies to the entire feature, excepting properties (fields) for which a dedicated source information record exists.

Any other JSON Pointer apart from `""` indicates that this source record provides dedicated source information for the property at the path in the JSON Pointer. As an example, the value `"/names/common/en"` indicates that the source information applies to the English common name of a named feature, while the value `"/geometry"` indicates that it applies to the feature geometry. | | `sources[].dataset` | `string` | Name of the dataset where the source data can be found. | @@ -46,13 +46,13 @@ Examples include countries, provinces, cities, towns, neighborhoods, etc. | `sources[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SourceItem applies to. | | `subtype` | [`PlaceType`](types/place_type.md) | *`admin_level` is required when `subtype` is one of: `county`, `macrocounty`, `region`, `macroregion`, `dependency`, `country`*
*`parent_division_id` is required when `subtype` ≠ `country`*
*`parent_division_id` is forbidden when `subtype` = `country`* | | `country` | [`CountryCodeAlpha2`](../system/country_code_alpha2.md) | ISO 3166-1 alpha-2 country code of the country or country-like entity, that this division represents or belongs to.

If the entity this division represents has a country code, the country property contains it. If it does not, the country property contains the country code of the first division encountered by traversing the parent_division_id chain to the root.

For example: - The country value for the United States is 'US' - The country value for New York City is 'US' - The country value for Puerto Rico, a dependency of the US, is 'PR'. - The country value for San Juan, Puerto Rico is 'PR'.

If an entity has an internationally-recognized ISO 3166-1 alpha-2 country code, it should always be used. In cases where the schema requires the code but no internationally-recognized code is available, a synthetic code may be used provided it does not conflict with any internationally-recognized codes. | -| `hierarchies[]` | [`Hierarchy`](types/hierarchy.md) (list) | Hierarchies in which this division participates.

Every division participates in at least one hierarchy. Most participate in only one. Some divisions may participate in more than one hierarchy, for example if they are claimed by different parent divisions from different political perspectives; or if there are other real-world reasons why the division or one of its ancestors has multiple parents.

The first hierarchy in the list is the default hierarchy, and the second-to-last entry in the default hierarchy (if there is such an entry) always corresponds to the `parent_division_id' property. The ordering of hierarchies after the first one is arbitrary. | +| `hierarchies[]` | [`Hierarchy`](types/hierarchy.md) (list) | Hierarchies in which this division participates.

Every division participates in at least one hierarchy. Most participate in only one. Some divisions may participate in more than one hierarchy, for example if they are claimed by different parent divisions from different political perspectives; or if there are other real-world reasons why the division or one of its ancestors has multiple parents.

The first hierarchy in the list is the default hierarchy, and the second-to-last entry in the default hierarchy (if there is such an entry) always corresponds to the `parent_division_id' property. The ordering of hierarchies after the first one is arbitrary.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)* | | `hierarchies[].division_id` | [`DivisionId`](types/division_id.md) | ID of the division | -| `hierarchies[].subtype` | [`PlaceType`](types/place_type.md) | | +| `hierarchies[].subtype` | [`PlaceType`](types/place_type.md) | | | `hierarchies[].name` | [`StrippedString`](../system/stripped_string.md) | Primary name of the division | -| `parent_division_id` | [`Id`](../system/ref/id.md) (optional) | Division ID of this division's parent division.

Not allowed for top-level divisions (countries) and required for all other divisions.

The default parent division is the parent division as seen from the default political perspective, if there is one, and is otherwise chosen somewhat arbitrarily. The hierarchies property can be used to inspect the exhaustive list of parent divisions.
*`parent_division_id` is required when `subtype` ≠ `country`*
*`parent_division_id` is forbidden when `subtype` = `country`* | +| `parent_division_id` | [`Id`](../system/ref/id.md) (optional) | Division ID of this division's parent division.

Not allowed for top-level divisions (countries) and required for all other divisions.

The default parent division is the parent division as seen from the default political perspective, if there is one, and is otherwise chosen somewhat arbitrarily. The hierarchies property can be used to inspect the exhaustive list of parent divisions.
*`minimum length: 1`*
*`parent_division_id` is required when `subtype` ≠ `country`*
*`parent_division_id` is forbidden when `subtype` = `country`* | | `admin_level` | [`AdminLevel`](types/admin_level.md) (optional) | Integer representing the division's position in its country's administrative hierarchy, where lower numbers correspond to higher level administrative units.
*`admin_level` is required when `subtype` is one of: `county`, `macrocounty`, `region`, `macroregion`, `dependency`, `country`* | -| `class` | [`DivisionClass`](types/division_class.md) (optional) | | +| `class` | [`DivisionClass`](types/division_class.md) (optional) | | | `local_type` | [`CommonNames`](../core/common_names.md) (map, optional) | Local name for the subtype property, optionally localized.

For example, the Canadian province of Quebec has the subtype 'region', but in the local administrative hierarchy it is referred to as a 'province'. Similarly, the Canadian Yukon territory also has subtype 'region', but is locally called a 'territory'.

This property is localized using a standard Overture names structure. So for example, in Switzerland the top-level administrative subdivision corresponding to subtype 'region' is the canton, which is may be translated in each of Switzerland's official languages as, 'canton' in French, 'kanton' in German, 'cantone' in Italian, and 'chantun' in Romansh. | | `region` | [`RegionCode`](../system/region_code.md) (optional) | ISO 3166-2 principal subdivision code of the subdivision-like entity this division represents or belongs to.

If the entity this division represents has a principal subdivision code, the region property contains it. If it does not, the region property contains the principal subdivision code of the first division encountered by traversing the parent_division_id chain to the root.

For example: - The region value for the United States is omitted. - The region value for the U.S. state of New York is 'US-NY'. - The region value for New York City is 'US-NY', which it inherits from the state of New York. - The region value for Puerto Rico is 'US-PR'. | | `perspectives` | [`Perspectives`](../core/perspectives.md) (optional) | Political perspectives from which this division is considered to be an accurate representation.

If this property is absent, then this division is not known to be disputed from any political perspective. Consequently, there is only one division feature representing the entire real world entity.

If this property is present, it means the division represents one of several alternative perspectives on the same real-world entity.

There are two modes of perspective:

1. `accepted_by` means the representation of the division is accepted by the listed entities and would be included on a map drawn from their perspective.

2. `disputed_by` means the representation of the division is disputed by the listed entities and would be excluded from a map drawn from their perspective.

When drawing a map from the perspective of a given country, one would start by gathering all the undisputed divisions (with no `perspectives` property), and then adding to that first all divisions explicitly accepted by the country, and second all divisions not explicitly disputed by the country. | @@ -60,11 +60,11 @@ Examples include countries, provinces, cities, towns, neighborhoods, etc. | `perspectives.countries` | [`CountryCodeAlpha2`](../system/country_code_alpha2.md) (list) | Countries holding the given mode of perspective. | | `norms` | [`Norms`](types/division/norms.md) (optional) | Collects information about local norms and rules within the division that are generally useful for mapping and map-related use cases.

If the norms property or a desired sub-property of the norms property is missing on a division, but at least one of its ancestor divisions has the norms property and the desired sub-property, then the value from the nearest ancestor division may be assumed. | | `norms.driving_side` | [`Side`](../core/scoping/side.md) (optional) | Side of the road on which vehicles drive in the division. | -| `population` | `int32` (optional) | Population of the division | -| `capital_division_ids` | [`Id`](../system/ref/id.md) (list, optional) | Division IDs of this division's capital divisions. If present, this property will refer to the division IDs of the capital cities, county seats, etc. of a division. | -| `capital_of_divisions[]` | `list<`[`CapitalOfDivisionItem`](types/capital_of_division_item.md)`>` (optional) | Division IDs and subtypes of divisions this division is a capital of. | +| `population` | `int32` (optional) | Population of the division
*`≥ 0`* | +| `capital_division_ids` | [`Id`](../system/ref/id.md) (list, optional) | Division IDs of this division's capital divisions. If present, this property will refer to the division IDs of the capital cities, county seats, etc. of a division.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)* | +| `capital_of_divisions[]` | `list<`[`CapitalOfDivisionItem`](types/capital_of_division_item.md)`>` (optional) | Division IDs and subtypes of divisions this division is a capital of.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)* | | `capital_of_divisions[].division_id` | [`DivisionId`](types/division_id.md) | ID of the division | -| `capital_of_divisions[].subtype` | [`PlaceType`](types/place_type.md) | | +| `capital_of_divisions[].subtype` | [`PlaceType`](types/place_type.md) | | | `wikidata` | [`WikidataId`](../system/wikidata_id.md) (optional) | A wikidata ID, as found on https://www.wikidata.org/ | ## Constraints diff --git a/docs/schema/reference/divisions/division_area.md b/docs/schema/reference/divisions/division_area.md index f5045f22..837f409a 100644 --- a/docs/schema/reference/divisions/division_area.md +++ b/docs/schema/reference/divisions/division_area.md @@ -16,9 +16,9 @@ belongs to. | Name | Type | Description | | -----: | :----: | ------------- | -| `names` | [`Names`](../core/names.md) | | +| `names` | [`Names`](../core/names.md) | | | `names.primary` | [`StrippedString`](../system/stripped_string.md) | The most commonly used name. | -| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | +| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | | `names.rules[]` | `list<`[`NameRule`](../core/name_rule.md)`>` (optional) | Rules for names that cannot be specified in the simple common names property. These rules can cover other name variants such as official, alternate, and short; and they can optionally include geometric scoping (linear referencing) and side-of-road scoping for complex cases. | | `names.rules[].value` | [`StrippedString`](../system/stripped_string.md) | The actual name value. | | `names.rules[].variant` | [`NameVariant`](../core/name_variant.md) | The name variant for this name rule. | @@ -30,10 +30,10 @@ belongs to. | `names.rules[].side` | [`Side`](../core/scoping/side.md) (optional) | The side, either left or right, that the containing NameRule applies to. | | `id` | [`Id`](../system/ref/id.md) | A feature ID. This may be an ID associated with the Global Entity Reference System (GERS) if—and-only-if the feature represents an entity that is part of GERS. | | `bbox` | `bbox` (optional) | An optional bounding box for the feature | -| `geometry` | `geometry` | The area covered by the division with which this area feature is associated | -| `theme` | `"divisions"` | | -| `type` | `"division_area"` | | -| `version` | [`FeatureVersion`](../core/feature_version.md) | | +| `geometry` | `geometry` | The area covered by the division with which this area feature is associated
*Allowed geometry types: MultiPolygon, Polygon* | +| `theme` | `"divisions"` | | +| `type` | `"division_area"` | | +| `version` | [`FeatureVersion`](../core/feature_version.md) | | | `sources[]` | [`Sources`](../core/sources.md) (list, optional) | Information about the source data used to assemble the feature. | | `sources[].property` | [`JsonPointer`](../system/json_pointer.md) | A JSON Pointer identifying the property (field) that this source information applies to.

The root document value `""` indicates that this source information applies to the entire feature, excepting properties (fields) for which a dedicated source information record exists.

Any other JSON Pointer apart from `""` indicates that this source record provides dedicated source information for the property at the path in the JSON Pointer. As an example, the value `"/names/common/en"` indicates that the source information applies to the English common name of a named feature, while the value `"/geometry"` indicates that it applies to the feature geometry. | | `sources[].dataset` | `string` | Name of the dataset where the source data can be found. | @@ -43,10 +43,10 @@ belongs to. | `sources[].confidence` | [`ConfidenceScore`](../core/confidence_score.md) (optional) | Confidence value from the source dataset.

This is a value between 0.0 and 1.0 and is particularly relevant for ML-derived data. | | `sources[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SourceItem applies to. | | `subtype` | [`PlaceType`](types/place_type.md) | *`admin_level` is required when `subtype` is one of: `county`, `macrocounty`, `region`, `macroregion`, `dependency`, `country`* | -| `class` | [`AreaClass`](types/division_area/area_class.md) | | -| `is_land` | `boolean` (optional) | A boolean to indicate whether or not the feature geometry represents the land-clipped, non-maritime boundary. The geometry can be used for map rendering, cartographic display, and similar purposes.
*Exactly one of `is_land`, `is_territorial` must be `true`* | -| `is_territorial` | `boolean` (optional) | A boolean to indicate whether or not the feature geometry represents Overture's best approximation of this place's maritime boundary. For coastal places, this would tend to include the water area. The geometry can be used for data processing, reverse-geocoding, and similar purposes.
*Exactly one of `is_land`, `is_territorial` must be `true`* | -| `division_id` | [`Id`](../system/ref/id.md) | Division ID of the division this area belongs to. | +| `class` | [`AreaClass`](types/division_area/area_class.md) | | +| `is_land` | `boolean` (optional) | A boolean to indicate whether or not the feature geometry represents the land-clipped, non-maritime boundary. The geometry can be used for map rendering, cartographic display, and similar purposes.
*`strict=True`*
*Exactly one of `is_land`, `is_territorial` must be `true`* | +| `is_territorial` | `boolean` (optional) | A boolean to indicate whether or not the feature geometry represents Overture's best approximation of this place's maritime boundary. For coastal places, this would tend to include the water area. The geometry can be used for data processing, reverse-geocoding, and similar purposes.
*`strict=True`*
*Exactly one of `is_land`, `is_territorial` must be `true`* | +| `division_id` | [`Id`](../system/ref/id.md) | Division ID of the division this area belongs to.
*References [`Division`](division.md) (belongs to)* | | `country` | [`CountryCodeAlpha2`](../system/country_code_alpha2.md) | ISO 3166-1 alpha-2 country code of the division this area belongs to. | | `region` | [`RegionCode`](../system/region_code.md) (optional) | ISO 3166-2 principal subdivision code of the division this area belongs to. | | `admin_level` | [`AdminLevel`](types/admin_level.md) (optional) | Integer representing the division's position in its country's administrative hierarchy, where lower numbers correspond to higher level administrative units.
*`admin_level` is required when `subtype` is one of: `county`, `macrocounty`, `region`, `macroregion`, `dependency`, `country`* | diff --git a/docs/schema/reference/divisions/division_boundary.md b/docs/schema/reference/divisions/division_boundary.md index 97650578..b3350746 100644 --- a/docs/schema/reference/divisions/division_boundary.md +++ b/docs/schema/reference/divisions/division_boundary.md @@ -14,10 +14,10 @@ Some boundaries may be disputed by the divisions on one or both sides. | -----: | :----: | ------------- | | `id` | [`Id`](../system/ref/id.md) | A feature ID. This may be an ID associated with the Global Entity Reference System (GERS) if—and-only-if the feature represents an entity that is part of GERS. | | `bbox` | `bbox` (optional) | An optional bounding box for the feature | -| `geometry` | `geometry` | Boundary line or lines | -| `theme` | `"divisions"` | | -| `type` | `"division_boundary"` | | -| `version` | [`FeatureVersion`](../core/feature_version.md) | | +| `geometry` | `geometry` | Boundary line or lines
*Allowed geometry types: LineString, MultiLineString* | +| `theme` | `"divisions"` | | +| `type` | `"division_boundary"` | | +| `version` | [`FeatureVersion`](../core/feature_version.md) | | | `sources[]` | [`Sources`](../core/sources.md) (list, optional) | Information about the source data used to assemble the feature. | | `sources[].property` | [`JsonPointer`](../system/json_pointer.md) | A JSON Pointer identifying the property (field) that this source information applies to.

The root document value `""` indicates that this source information applies to the entire feature, excepting properties (fields) for which a dedicated source information record exists.

Any other JSON Pointer apart from `""` indicates that this source record provides dedicated source information for the property at the path in the JSON Pointer. As an example, the value `"/names/common/en"` indicates that the source information applies to the English common name of a named feature, while the value `"/geometry"` indicates that it applies to the feature geometry. | | `sources[].dataset` | `string` | Name of the dataset where the source data can be found. | @@ -27,14 +27,14 @@ Some boundaries may be disputed by the divisions on one or both sides. | `sources[].confidence` | [`ConfidenceScore`](../core/confidence_score.md) (optional) | Confidence value from the source dataset.

This is a value between 0.0 and 1.0 and is particularly relevant for ML-derived data. | | `sources[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SourceItem applies to. | | `subtype` | [`PlaceType`](types/place_type.md) | *`admin_level` is required when `subtype` is one of: `county`, `macrocounty`, `region`, `macroregion`, `dependency`, `country`*
*`country` is required when `subtype` ≠ `country`*
*`country` is forbidden when `subtype` = `country`* | -| `class` | [`BoundaryClass`](types/division_boundary/boundary_class.md) | | -| `is_land` | `boolean` (optional) | A boolean to indicate whether or not the feature geometry represents the land-clipped, non-maritime boundary. The geometry can be used for map rendering, cartographic display, and similar purposes.
*Exactly one of `is_land`, `is_territorial` must be `true`* | -| `is_territorial` | `boolean` (optional) | A boolean to indicate whether or not the feature geometry represents Overture's best approximation of this place's maritime boundary. For coastal places, this would tend to include the water area. The geometry can be used for data processing, reverse-geocoding, and similar purposes.
*Exactly one of `is_land`, `is_territorial` must be `true`* | -| `division_ids` | [`Id`](../system/ref/id.md) (list) | Identifies the two divisions to the left and right, respectively, of the boundary line. The left- and right-hand sides of the boundary are considered from the perspective of a person standing on the line facing in the direction in which the geometry is oriented, i.e. facing toward the end of the line.

The first array element is the Overture ID of the left division. The second element is the Overture ID of the right division. | +| `class` | [`BoundaryClass`](types/division_boundary/boundary_class.md) | | +| `is_land` | `boolean` (optional) | A boolean to indicate whether or not the feature geometry represents the land-clipped, non-maritime boundary. The geometry can be used for map rendering, cartographic display, and similar purposes.
*`strict=True`*
*Exactly one of `is_land`, `is_territorial` must be `true`* | +| `is_territorial` | `boolean` (optional) | A boolean to indicate whether or not the feature geometry represents Overture's best approximation of this place's maritime boundary. For coastal places, this would tend to include the water area. The geometry can be used for data processing, reverse-geocoding, and similar purposes.
*`strict=True`*
*Exactly one of `is_land`, `is_territorial` must be `true`* | +| `division_ids` | [`Id`](../system/ref/id.md) (list) | Identifies the two divisions to the left and right, respectively, of the boundary line. The left- and right-hand sides of the boundary are considered from the perspective of a person standing on the line facing in the direction in which the geometry is oriented, i.e. facing toward the end of the line.

The first array element is the Overture ID of the left division. The second element is the Overture ID of the right division.
*References [`Division`](division.md) (boundary of)*
*`minimum length: 2`*
*`maximum length: 2`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)* | | `country` | [`CountryCodeAlpha2`](../system/country_code_alpha2.md) (optional) | ISO 3166-1 alpha-2 country code of the country or country-like entity that both sides of the boundary share.

This property will be present on boundaries between two regions, counties, or similar entities within the same country, but will not be present on boundaries between two countries or country-like entities.
*`country` is required when `subtype` ≠ `country`*
*`country` is forbidden when `subtype` = `country`* | | `region` | [`RegionCode`](../system/region_code.md) (optional) | ISO 3166-2 principal subdivision code of the subdivision-like entity that both sides of the boundary share.

This property will be present on boundaries between two counties, localadmins or similar entities within the same principal subdivision, but will not be present on boundaries between different principal subdivisions or countries. | | `admin_level` | [`AdminLevel`](types/admin_level.md) (optional) | Integer representing the division's position in its country's administrative hierarchy, where lower numbers correspond to higher level administrative units.
*`admin_level` is required when `subtype` is one of: `county`, `macrocounty`, `region`, `macroregion`, `dependency`, `country`* | -| `is_disputed` | `boolean` (optional) | Indicator if there are entities disputing this division boundary. Information about entities disputing this boundary should be included in perspectives property.

This property should also be true if boundary between two entities is unclear and this is "best guess". So having it true and no perspectives gives map creators reason not to fully trust the boundary, but use it if they have no other. | +| `is_disputed` | `boolean` (optional) | Indicator if there are entities disputing this division boundary. Information about entities disputing this boundary should be included in perspectives property.

This property should also be true if boundary between two entities is unclear and this is "best guess". So having it true and no perspectives gives map creators reason not to fully trust the boundary, but use it if they have no other.
*`strict=True`* | | `perspectives` | [`Perspectives`](../core/perspectives.md) (optional) | Political perspectives from which this division boundary is considered to be an accurate representation.

If this property is absent, then this boundary is not known to be disputed from any political perspective. Consequently, there is only one boundary feature representing the entire real world entity.

If this property is present, it means the boundary represents one of several alternative perspectives on the same real-world entity.

There are two modes of perspective:

1. `accepted_by` means the representation of the boundary is accepted by the listed entities and would be included on a map drawn from their perspective.

2. `disputed_by` means the representation of the boundary is disputed by the listed entities and would be excluded from a map drawn from their perspective.

When drawing a map from the perspective of a given country, one would start by gathering all the undisputed boundary (with no `perspectives` property), and then adding to that first all boundary explicitly accepted by the country, and second all boundary not explicitly disputed by the country. | | `perspectives.mode` | [`PerspectiveMode`](../core/perspective_mode.md) | Whether the perspective holder accepts or disputes this name. | | `perspectives.countries` | [`CountryCodeAlpha2`](../system/country_code_alpha2.md) (list) | Countries holding the given mode of perspective. | diff --git a/docs/schema/reference/divisions/types/capital_of_division_item.md b/docs/schema/reference/divisions/types/capital_of_division_item.md index 76f7c210..2b3c5250 100644 --- a/docs/schema/reference/divisions/types/capital_of_division_item.md +++ b/docs/schema/reference/divisions/types/capital_of_division_item.md @@ -7,7 +7,7 @@ One division that has capital. | Name | Type | Description | | -----: | :----: | ------------- | | `division_id` | [`DivisionId`](division_id.md) | ID of the division | -| `subtype` | [`PlaceType`](place_type.md) | | +| `subtype` | [`PlaceType`](place_type.md) | | ## Used By diff --git a/docs/schema/reference/divisions/types/division_id.md b/docs/schema/reference/divisions/types/division_id.md index 9dbd2a8f..dbdb7316 100644 --- a/docs/schema/reference/divisions/types/division_id.md +++ b/docs/schema/reference/divisions/types/division_id.md @@ -8,7 +8,7 @@ Underlying type: `string` - `minimum length: 1` - `minimum length: 1` (from [`Id`](../../system/ref/id.md)) -- Allows only strings that contain no whitespace characters. (`NoWhitespaceConstraint`, pattern: `^\S+$`) +- Allows only strings that contain no whitespace characters. (`NoWhitespaceConstraint`, pattern: `^\S+$`) (from [`NoWhitespaceString`](../../system/no_whitespace_string.md)) ## Used By diff --git a/docs/schema/reference/divisions/types/hierarchy_item.md b/docs/schema/reference/divisions/types/hierarchy_item.md index 541a0e70..c8f711d8 100644 --- a/docs/schema/reference/divisions/types/hierarchy_item.md +++ b/docs/schema/reference/divisions/types/hierarchy_item.md @@ -7,8 +7,8 @@ One division in a hierarchy. | Name | Type | Description | | -----: | :----: | ------------- | | `division_id` | [`DivisionId`](division_id.md) | ID of the division | -| `subtype` | [`PlaceType`](place_type.md) | | -| `name` | [`StrippedString`](../../system/stripped_string.md) | Primary name of the division | +| `subtype` | [`PlaceType`](place_type.md) | | +| `name` | [`StrippedString`](../../system/stripped_string.md) | Primary name of the division
*`minimum length: 1`* | ## Used By diff --git a/docs/schema/reference/places/place.md b/docs/schema/reference/places/place.md index 00f7f406..b4571890 100644 --- a/docs/schema/reference/places/place.md +++ b/docs/schema/reference/places/place.md @@ -12,10 +12,10 @@ Places are point representations of real-world facilities, businesses, services, | -----: | :----: | ------------- | | `id` | [`Id`](../system/ref/id.md) | A feature ID. This may be an ID associated with the Global Entity Reference System (GERS) if—and-only-if the feature represents an entity that is part of GERS. | | `bbox` | `bbox` (optional) | An optional bounding box for the feature | -| `geometry` | `geometry` | Position of the place. Places are point geometries. | -| `theme` | `"places"` | | -| `type` | `"place"` | | -| `version` | [`FeatureVersion`](../core/feature_version.md) | | +| `geometry` | `geometry` | Position of the place. Places are point geometries.
*Allowed geometry types: Point* | +| `theme` | `"places"` | | +| `type` | `"place"` | | +| `version` | [`FeatureVersion`](../core/feature_version.md) | | | `sources[]` | [`Sources`](../core/sources.md) (list, optional) | Information about the source data used to assemble the feature. | | `sources[].property` | [`JsonPointer`](../system/json_pointer.md) | A JSON Pointer identifying the property (field) that this source information applies to.

The root document value `""` indicates that this source information applies to the entire feature, excepting properties (fields) for which a dedicated source information record exists.

Any other JSON Pointer apart from `""` indicates that this source record provides dedicated source information for the property at the path in the JSON Pointer. As an example, the value `"/names/common/en"` indicates that the source information applies to the English common name of a named feature, while the value `"/geometry"` indicates that it applies to the feature geometry. | | `sources[].dataset` | `string` | Name of the dataset where the source data can be found. | @@ -25,7 +25,7 @@ Places are point representations of real-world facilities, businesses, services, | `sources[].confidence` | [`ConfidenceScore`](../core/confidence_score.md) (optional) | Confidence value from the source dataset.

This is a value between 0.0 and 1.0 and is particularly relevant for ML-derived data. | | `sources[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SourceItem applies to. | | `operating_status` | [`OperatingStatus`](types/operating_status.md) | An indication of whether a place is: in continued operation, in a temporary operating hiatus, or closed permanently.

This is not an indication of opening hours or that the place is open/closed at the current time-of-day or day-of-week.

When `operating_status` is `"permanently_closed"`, the `confidence` field will be set to 0. | -| `categories` | [`Categories`](types/categories.md) (optional) | | +| `categories` | [`Categories`](types/categories.md) (optional) | | | `categories.primary` | [`SnakeCaseString`](../system/snake_case_string.md) | The primary or main category of the place. | | `categories.alternate` | [`SnakeCaseString`](../system/snake_case_string.md) (list, optional) | Alternate categories of the place.

Some places might fit into two categories, e.g., a book store and a coffee shop. In these cases, the primary category can be augmented with additional categories. | | `basic_category` | [`SnakeCaseString`](../system/snake_case_string.md) (optional) | The basic level category of a place.

This field classifies places into categories at a level that most people find intuitive. The full list of possible values it may hold can be found at (TODO).

The basic level category, or simply basic category, is based on a cognitive science model use in taxonomy and ontology development. The idea is to provide the category name at the level of generality that is preferred by humans in learning and memory tasks. This category to be roughly in the middle of the general-to-specific category hierarchy.

The full list of basic level categories is available at https://docs.overturemaps.org/guides/places/ | @@ -34,14 +34,14 @@ Places are point representations of real-world facilities, businesses, services, | `taxonomy.hierarchy` | [`SnakeCaseString`](../system/snake_case_string.md) (list) | The full primary hierarchy of categories known for this place, ordered from most general to most specific. An example hierarchy might be: `["food_and_drink", "restaurant", "casual_eatery", "gas_station_sushi"]`.

The rightmost, or most specific, value in the `hierarchy` must always be equal to the `primary` field. The basic level category of the place will typically be found in the middle of the primary hierarchy. The primary hierarchy does not include any of the alternate categories found in the `alternates` field. | | `taxonomy.alternates` | [`SnakeCaseString`](../system/snake_case_string.md) (list, optional) | Unordered list of additional categories that are known for this place but that are not part of the primary category hierarchy.

Alternate categories allow a more complete picture of the place to be surfaced when it fits multiple unconnected branches in the taxonomy. For example a gas station that also sells groceries might have primary category of "gas_station" with an alternate of "grocery_store".

Alternate categories are not part of the primary hierarchy or another alternate category's hierarchy. In other words, if a category is a parent in the hierarchy of another category, that category can't be a primary or alternate category itself.

Note as well that this field is an unordered list of extra categories and does not represent a hierarchy. | | `confidence` | [`ConfidenceScore`](../core/confidence_score.md) (optional) | A score between 0 and 1 indicating how confident we are that the place exists.

A confidence score of 0 indicates that we are certain the place doesn't exist anymore and will always be paired with an `operating_status` of `"permanently_closed"`.

A confidence score of 1 indicates that we are certain the place does exist.

If there is no value for confidence, it means we don't have enough information on which to estimate our confidence level. | -| `websites` | `list` (optional) | The websites of the place. | -| `socials` | `list` (optional) | The social media URLs of the place. | -| `emails` | `list` (optional) | The email addresses of the place. | -| `phones` | [`PhoneNumber`](../system/phone_number.md) (list, optional) | The phone numbers of the place. | +| `websites` | `list` (optional) | The websites of the place.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)* | +| `socials` | `list` (optional) | The social media URLs of the place.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)* | +| `emails` | `list` (optional) | The email addresses of the place.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)* | +| `phones` | [`PhoneNumber`](../system/phone_number.md) (list, optional) | The phone numbers of the place.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)* | | `brand` | [`Brand`](types/brand.md) (optional) | The brand associated with the place. | -| `brand.names` | [`Names`](../core/names.md) (optional) | | +| `brand.names` | [`Names`](../core/names.md) (optional) | | | `brand.names.primary` | [`StrippedString`](../system/stripped_string.md) | The most commonly used name. | -| `brand.names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | +| `brand.names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | | `brand.names.rules[]` | `list<`[`NameRule`](../core/name_rule.md)`>` (optional) | Rules for names that cannot be specified in the simple common names property. These rules can cover other name variants such as official, alternate, and short; and they can optionally include geometric scoping (linear referencing) and side-of-road scoping for complex cases. | | `brand.names.rules[].value` | [`StrippedString`](../system/stripped_string.md) | The actual name value. | | `brand.names.rules[].variant` | [`NameVariant`](../core/name_variant.md) | The name variant for this name rule. | @@ -52,15 +52,15 @@ Places are point representations of real-world facilities, businesses, services, | `brand.names.rules[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing NameRule applies to. | | `brand.names.rules[].side` | [`Side`](../core/scoping/side.md) (optional) | The side, either left or right, that the containing NameRule applies to. | | `brand.wikidata` | [`WikidataId`](../system/wikidata_id.md) (optional) | A wikidata ID, as found on https://www.wikidata.org/ | -| `addresses[]` | `list<`[`Address`](../addresses/address.md)`>` (optional) | The address or addresses of the place | +| `addresses[]` | `list<`[`Address`](../addresses/address.md)`>` (optional) | The address or addresses of the place
*`minimum length: 1`* | | `addresses[].freeform` | `string` (optional) | Free-form address that contains street name, house number and other address info | | `addresses[].locality` | `string` (optional) | City, town, or neighborhood component of the place address | | `addresses[].postcode` | `string` (optional) | Postal code component of the place address | | `addresses[].region` | [`RegionCode`](../system/region_code.md) (optional) | An ISO 3166-2 principal subdivision code | | `addresses[].country` | [`CountryCodeAlpha2`](../system/country_code_alpha2.md) (optional) | An ISO 3166-1 alpha-2 country code | -| `names` | [`Names`](../core/names.md) (optional) | | +| `names` | [`Names`](../core/names.md) (optional) | | | `names.primary` | [`StrippedString`](../system/stripped_string.md) | The most commonly used name. | -| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | +| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | | `names.rules[]` | `list<`[`NameRule`](../core/name_rule.md)`>` (optional) | Rules for names that cannot be specified in the simple common names property. These rules can cover other name variants such as official, alternate, and short; and they can optionally include geometric scoping (linear referencing) and side-of-road scoping for complex cases. | | `names.rules[].value` | [`StrippedString`](../system/stripped_string.md) | The actual name value. | | `names.rules[].variant` | [`NameVariant`](../core/name_variant.md) | The name variant for this name rule. | diff --git a/docs/schema/reference/places/types/brand.md b/docs/schema/reference/places/types/brand.md index d2680559..d7b6668c 100644 --- a/docs/schema/reference/places/types/brand.md +++ b/docs/schema/reference/places/types/brand.md @@ -8,9 +8,9 @@ A location with multiple brands is modeled as multiple separate places, each wit | Name | Type | Description | | -----: | :----: | ------------- | -| `names` | [`Names`](../../core/names.md) (optional) | | +| `names` | [`Names`](../../core/names.md) (optional) | | | `names.primary` | [`StrippedString`](../../system/stripped_string.md) | The most commonly used name. | -| `names.common` | [`CommonNames`](../../core/common_names.md) (map, optional) | | +| `names.common` | [`CommonNames`](../../core/common_names.md) (map, optional) | | | `names.rules[]` | `list<`[`NameRule`](../../core/name_rule.md)`>` (optional) | Rules for names that cannot be specified in the simple common names property. These rules can cover other name variants such as official, alternate, and short; and they can optionally include geometric scoping (linear referencing) and side-of-road scoping for complex cases. | | `names.rules[].value` | [`StrippedString`](../../system/stripped_string.md) | The actual name value. | | `names.rules[].variant` | [`NameVariant`](../../core/name_variant.md) | The name variant for this name rule. | diff --git a/docs/schema/reference/places/types/categories.md b/docs/schema/reference/places/types/categories.md index 323ae299..d1ce2cc9 100644 --- a/docs/schema/reference/places/types/categories.md +++ b/docs/schema/reference/places/types/categories.md @@ -9,7 +9,7 @@ Complete list is available on GitHub: [https://github.com/OvertureMaps/schema/bl | Name | Type | Description | | -----: | :----: | ------------- | | `primary` | [`SnakeCaseString`](../../system/snake_case_string.md) | The primary or main category of the place. | -| `alternate` | [`SnakeCaseString`](../../system/snake_case_string.md) (list, optional) | Alternate categories of the place.

Some places might fit into two categories, e.g., a book store and a coffee shop. In these cases, the primary category can be augmented with additional categories. | +| `alternate` | [`SnakeCaseString`](../../system/snake_case_string.md) (list, optional) | Alternate categories of the place.

Some places might fit into two categories, e.g., a book store and a coffee shop. In these cases, the primary category can be augmented with additional categories.
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)* | ## Used By diff --git a/docs/schema/reference/places/types/taxonomy.md b/docs/schema/reference/places/types/taxonomy.md index 34df6b5b..665400fc 100644 --- a/docs/schema/reference/places/types/taxonomy.md +++ b/docs/schema/reference/places/types/taxonomy.md @@ -9,8 +9,8 @@ Provides the primary classification, full hierarchy path, and alternate categori | Name | Type | Description | | -----: | :----: | ------------- | | `primary` | [`SnakeCaseString`](../../system/snake_case_string.md) | The primary, or most specific, category known about this place.

The `primary` category value must always equal the last or rightmost entry in the `hierarchy` field. | -| `hierarchy` | [`SnakeCaseString`](../../system/snake_case_string.md) (list) | The full primary hierarchy of categories known for this place, ordered from most general to most specific. An example hierarchy might be: `["food_and_drink", "restaurant", "casual_eatery", "gas_station_sushi"]`.

The rightmost, or most specific, value in the `hierarchy` must always be equal to the `primary` field. The basic level category of the place will typically be found in the middle of the primary hierarchy. The primary hierarchy does not include any of the alternate categories found in the `alternates` field. | -| `alternates` | [`SnakeCaseString`](../../system/snake_case_string.md) (list, optional) | Unordered list of additional categories that are known for this place but that are not part of the primary category hierarchy.

Alternate categories allow a more complete picture of the place to be surfaced when it fits multiple unconnected branches in the taxonomy. For example a gas station that also sells groceries might have primary category of "gas_station" with an alternate of "grocery_store".

Alternate categories are not part of the primary hierarchy or another alternate category's hierarchy. In other words, if a category is a parent in the hierarchy of another category, that category can't be a primary or alternate category itself.

Note as well that this field is an unordered list of extra categories and does not represent a hierarchy. | +| `hierarchy` | [`SnakeCaseString`](../../system/snake_case_string.md) (list) | The full primary hierarchy of categories known for this place, ordered from most general to most specific. An example hierarchy might be: `["food_and_drink", "restaurant", "casual_eatery", "gas_station_sushi"]`.

The rightmost, or most specific, value in the `hierarchy` must always be equal to the `primary` field. The basic level category of the place will typically be found in the middle of the primary hierarchy. The primary hierarchy does not include any of the alternate categories found in the `alternates` field.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)* | +| `alternates` | [`SnakeCaseString`](../../system/snake_case_string.md) (list, optional) | Unordered list of additional categories that are known for this place but that are not part of the primary category hierarchy.

Alternate categories allow a more complete picture of the place to be surfaced when it fits multiple unconnected branches in the taxonomy. For example a gas station that also sells groceries might have primary category of "gas_station" with an alternate of "grocery_store".

Alternate categories are not part of the primary hierarchy or another alternate category's hierarchy. In other words, if a category is a parent in the hierarchy of another category, that category can't be a primary or alternate category itself.

Note as well that this field is an unordered list of extra categories and does not represent a hierarchy.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)* | ## Used By diff --git a/docs/schema/reference/system/no_whitespace_string.md b/docs/schema/reference/system/no_whitespace_string.md new file mode 100644 index 00000000..f3e298b8 --- /dev/null +++ b/docs/schema/reference/system/no_whitespace_string.md @@ -0,0 +1,14 @@ +# NoWhitespaceString + +A string that contains no whitespace characters. + +Underlying type: `string` + +## Constraints + +- Allows only strings that contain no whitespace characters. (`NoWhitespaceConstraint`, pattern: `^\S+$`) + +## Used By + +- [`DivisionId`](../divisions/types/division_id.md) +- [`Id`](ref/id.md) diff --git a/docs/schema/reference/system/ref/id.md b/docs/schema/reference/system/ref/id.md index 6b971a50..08e7ef1f 100644 --- a/docs/schema/reference/system/ref/id.md +++ b/docs/schema/reference/system/ref/id.md @@ -7,7 +7,7 @@ Underlying type: `string` ## Constraints - `minimum length: 1` -- Allows only strings that contain no whitespace characters. (`NoWhitespaceConstraint`, pattern: `^\S+$`) +- Allows only strings that contain no whitespace characters. (`NoWhitespaceConstraint`, pattern: `^\S+$`) (from [`NoWhitespaceString`](../no_whitespace_string.md)) ## Used By diff --git a/docs/schema/reference/system/wikidata_id.md b/docs/schema/reference/system/wikidata_id.md index fc75a2d1..83ae967b 100644 --- a/docs/schema/reference/system/wikidata_id.md +++ b/docs/schema/reference/system/wikidata_id.md @@ -1,6 +1,6 @@ # WikidataId -A wikidata ID, as found on [https://www.wikidata.org/.](https://www.wikidata.org/.) +A wikidata ID, as found on [https://www.wikidata.org/](https://www.wikidata.org/). - `"Q42"` - `"Q11643"` diff --git a/docs/schema/reference/transportation/connector.md b/docs/schema/reference/transportation/connector.md index 719e42d0..670036e0 100644 --- a/docs/schema/reference/transportation/connector.md +++ b/docs/schema/reference/transportation/connector.md @@ -14,10 +14,10 @@ Connectors are compatible with GeoJSON Point features. | -----: | :----: | ------------- | | `id` | [`Id`](../system/ref/id.md) | A feature ID. This may be an ID associated with the Global Entity Reference System (GERS) if—and-only-if the feature represents an entity that is part of GERS. | | `bbox` | `bbox` (optional) | An optional bounding box for the feature | -| `geometry` | `geometry` | Position of the connector | -| `theme` | `"transportation"` | | -| `type` | `"connector"` | | -| `version` | [`FeatureVersion`](../core/feature_version.md) | | +| `geometry` | `geometry` | Position of the connector
*Allowed geometry types: Point* | +| `theme` | `"transportation"` | | +| `type` | `"connector"` | | +| `version` | [`FeatureVersion`](../core/feature_version.md) | | | `sources[]` | [`Sources`](../core/sources.md) (list, optional) | Information about the source data used to assemble the feature. | | `sources[].property` | [`JsonPointer`](../system/json_pointer.md) | A JSON Pointer identifying the property (field) that this source information applies to.

The root document value `""` indicates that this source information applies to the entire feature, excepting properties (fields) for which a dedicated source information record exists.

Any other JSON Pointer apart from `""` indicates that this source record provides dedicated source information for the property at the path in the JSON Pointer. As an example, the value `"/names/common/en"` indicates that the source information applies to the English common name of a named feature, while the value `"/geometry"` indicates that it applies to the feature geometry. | | `sources[].dataset` | `string` | Name of the dataset where the source data can be found. | diff --git a/docs/schema/reference/transportation/segment.md b/docs/schema/reference/transportation/segment.md index d2124288..14600532 100644 --- a/docs/schema/reference/transportation/segment.md +++ b/docs/schema/reference/transportation/segment.md @@ -10,10 +10,10 @@ sidebar_position: 1 | -----: | :----: | ------------- | | `id` | [`Id`](../system/ref/id.md) | A feature ID. This may be an ID associated with the Global Entity Reference System (GERS) if—and-only-if the feature represents an entity that is part of GERS. | | `bbox` | `bbox` (optional) | An optional bounding box for the feature | -| `geometry` | `geometry` | Segment centerline | -| `theme` | `"transportation"` | | -| `type` | `"segment"` | | -| `version` | [`FeatureVersion`](../core/feature_version.md) | | +| `geometry` | `geometry` | Segment centerline
*Allowed geometry types: LineString* | +| `theme` | `"transportation"` | | +| `type` | `"segment"` | | +| `version` | [`FeatureVersion`](../core/feature_version.md) | | | `sources[]` | [`Sources`](../core/sources.md) (list, optional) | Information about the source data used to assemble the feature. | | `sources[].property` | [`JsonPointer`](../system/json_pointer.md) | A JSON Pointer identifying the property (field) that this source information applies to.

The root document value `""` indicates that this source information applies to the entire feature, excepting properties (fields) for which a dedicated source information record exists.

Any other JSON Pointer apart from `""` indicates that this source record provides dedicated source information for the property at the path in the JSON Pointer. As an example, the value `"/names/common/en"` indicates that the source information applies to the English common name of a named feature, while the value `"/geometry"` indicates that it applies to the feature geometry. | | `sources[].dataset` | `string` | Name of the dataset where the source data can be found. | @@ -24,7 +24,7 @@ sidebar_position: 1 | `sources[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SourceItem applies to. | | `subtype` | [`Subtype`](types/subtype.md) | Broad category of transportation segment. | | `access_restrictions[]` | [`AccessRules`](types/access_rules.md) (list, optional) | Rules governing access to this road segment | -| `access_restrictions[].access_type` | [`AccessType`](types/access_type.md) | | +| `access_restrictions[].access_type` | [`AccessType`](types/access_type.md) | | | `access_restrictions[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing AccessRestrictionRule applies to. | | `access_restrictions[].when` | [`AccessRestrictionRule.When`](types/access_restriction_rule.when.md) (optional) | Scopes for AccessRestrictionRule: Scope.HEADING, Scope.TEMPORAL, Scope.TRAVEL MODE, Scope.PURPOSE OF USE, Scope.RECOGNIZED STATUS and Scope.VEHICLE | | `access_restrictions[].when.heading` | [`Heading`](../core/scoping/heading.md) (optional) | The heading, either forward or backward, that the containing AccessRestrictionRule applies to. | @@ -32,8 +32,8 @@ sidebar_position: 1 | `access_restrictions[].when.mode` | `list<`[`TravelMode`](../core/scoping/travel_mode.md)`>` (optional) | A list of one or more travel modes, such as car, truck, or foot, that the containing AccessRestrictionRule applies to. | | `access_restrictions[].when.using` | `list<`[`PurposeOfUse`](../core/scoping/purpose_of_use.md)`>` (optional) | A list of one or more usage purposes, such as delivery or arrival at final destination, that the containing AccessRestrictionRule applies to. | | `access_restrictions[].when.recognized` | `list<`[`RecognizedStatus`](../core/scoping/recognized_status.md)`>` (optional) | A list of one or more recognized status values, such as employee or student, that the containing AccessRestrictionRule applies to. | -| `access_restrictions[].when.vehicle` | `list` (optional) | A list of one or more vehicle parameters that limit the vehicles the containing AccessRestrictionRule applies to. | -| `connectors[]` | `list<`[`ConnectorReference`](types/connector_reference.md)`>` (optional) | List of connectors which this segment is physically connected to and their relative location. Each connector is a possible routing decision point, meaning it defines a place along the segment in which there is possibility to transition to other segments which share the same connector. | +| `access_restrictions[].when.vehicle` | [`VehicleAxleCountSelector`](../core/scoping/vehicle_axle_count_selector.md) \| [`VehicleHeightSelector`](../core/scoping/vehicle_height_selector.md) \| [`VehicleLengthSelector`](../core/scoping/vehicle_length_selector.md) \| [`VehicleWeightSelector`](../core/scoping/vehicle_weight_selector.md) \| [`VehicleWidthSelector`](../core/scoping/vehicle_width_selector.md) (list, optional) | A list of one or more vehicle parameters that limit the vehicles the containing AccessRestrictionRule applies to. | +| `connectors[]` | `list<`[`ConnectorReference`](types/connector_reference.md)`>` (optional) | List of connectors which this segment is physically connected to and their relative location. Each connector is a possible routing decision point, meaning it defines a place along the segment in which there is possibility to transition to other segments which share the same connector.
*`minimum length: 2`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)* | | `connectors[].connector_id` | [`Id`](../system/ref/id.md) | A unique identifier | | `connectors[].at` | [`LinearlyReferencedPosition`](../core/scoping/linearly_referenced_position.md) (optional) | The linearly-referenced position on the geometry, specified as a percentage displacement from the start of the geometry, that the containing ConnectorReference applies to. | | `level_rules[]` | [`LevelRules`](types/level_rules.md) (list, optional) | Defines the Z-order, i.e. stacking order, of the road segment. | @@ -47,11 +47,11 @@ sidebar_position: 1 | `routes[].wikidata` | [`WikidataId`](../system/wikidata_id.md) (optional) | A wikidata ID, as found on https://www.wikidata.org/ | | `routes[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing RouteReference applies to. | | `subclass_rules[]` | [`SubclassRules`](types/subclass_rules.md) (list, optional) | Set of subclasses scoped along segment | -| `subclass_rules[].value` | [`Subclass`](types/subclass.md) | | +| `subclass_rules[].value` | [`Subclass`](types/subclass.md) | | | `subclass_rules[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SubclassRule applies to. | -| `names` | [`Names`](../core/names.md) (optional) | | +| `names` | [`Names`](../core/names.md) (optional) | | | `names.primary` | [`StrippedString`](../system/stripped_string.md) | The most commonly used name. | -| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | +| `names.common` | [`CommonNames`](../core/common_names.md) (map, optional) | | | `names.rules[]` | `list<`[`NameRule`](../core/name_rule.md)`>` (optional) | Rules for names that cannot be specified in the simple common names property. These rules can cover other name variants such as official, alternate, and short; and they can optionally include geometric scoping (linear referencing) and side-of-road scoping for complex cases. | | `names.rules[].value` | [`StrippedString`](../system/stripped_string.md) | The actual name value. | | `names.rules[].variant` | [`NameVariant`](../core/name_variant.md) | The name variant for this name rule. | @@ -61,7 +61,7 @@ sidebar_position: 1 | `names.rules[].perspectives.countries` | [`CountryCodeAlpha2`](../system/country_code_alpha2.md) (list) | Countries holding the given mode of perspective. | | `names.rules[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing NameRule applies to. | | `names.rules[].side` | [`Side`](../core/scoping/side.md) (optional) | The side, either left or right, that the containing NameRule applies to. | -| `class` *(Road)* | [`RoadClass`](types/road_class.md) | | +| `class` *(Road)* | [`RoadClass`](types/road_class.md) | | | `destinations[]` *(Road)* | [`Destinations`](types/destinations.md) (list, optional) | Describes objects that can be reached by following a transportation segment in the same way those objects are described on signposts or ground writing that a traveller following the segment would observe in the real world. This allows navigation systems to refer to signs and observable writing that a traveller actually sees. | | `destinations[].from_connector_id` | [`Id`](../system/ref/id.md) | Identifies the point of physical connection on this segment before which the destination sign or marking is visible. | | `destinations[].to_connector_id` | [`Id`](../system/ref/id.md) | Identifies the point of physical connection on the segment identified by 'to_segment_id' to transition to for reaching the destination(s). | @@ -69,7 +69,7 @@ sidebar_position: 1 | `destinations[].final_heading` | [`Heading`](../core/scoping/heading.md) | Direction of travel on the segment identified by 'to_segment_id' that leads to the destination. | | `destinations[].labels[]` | `list<`[`DestinationLabels`](types/destination_labels.md)`>` (optional) | Labeled destinations that can be reached by following the segment. | | `destinations[].labels[].value` | [`StrippedString`](../system/stripped_string.md) | Names the object that is reached | -| `destinations[].labels[].type` | [`DestinationLabelType`](types/destination_label_type.md) | | +| `destinations[].labels[].type` | [`DestinationLabelType`](types/destination_label_type.md) | | | `destinations[].symbols` | `list<`[`DestinationSignSymbol`](types/destination_sign_symbol.md)`>` (optional) | A collection of symbols or icons present on the sign next to current destination label. | | `destinations[].when` | [`DestinationRule.When`](types/destination_rule.when.md) (optional) | Scope for DestinationRule: | | `destinations[].when.heading` | [`Heading`](../core/scoping/heading.md) | The heading, either forward or backward, that the containing DestinationRule applies to. | @@ -85,20 +85,20 @@ sidebar_position: 1 | `prohibited_transitions[].when.mode` | `list<`[`TravelMode`](../core/scoping/travel_mode.md)`>` (optional) | A list of one or more travel modes, such as car, truck, or foot, that the containing ProhibitedTransitionRule applies to. | | `prohibited_transitions[].when.using` | `list<`[`PurposeOfUse`](../core/scoping/purpose_of_use.md)`>` (optional) | A list of one or more usage purposes, such as delivery or arrival at final destination, that the containing ProhibitedTransitionRule applies to. | | `prohibited_transitions[].when.recognized` | `list<`[`RecognizedStatus`](../core/scoping/recognized_status.md)`>` (optional) | A list of one or more recognized status values, such as employee or student, that the containing ProhibitedTransitionRule applies to. | -| `prohibited_transitions[].when.vehicle` | `list` (optional) | A list of one or more vehicle parameters that limit the vehicles the containing ProhibitedTransitionRule applies to. | +| `prohibited_transitions[].when.vehicle` | [`VehicleAxleCountSelector`](../core/scoping/vehicle_axle_count_selector.md) \| [`VehicleHeightSelector`](../core/scoping/vehicle_height_selector.md) \| [`VehicleLengthSelector`](../core/scoping/vehicle_length_selector.md) \| [`VehicleWeightSelector`](../core/scoping/vehicle_weight_selector.md) \| [`VehicleWidthSelector`](../core/scoping/vehicle_width_selector.md) (list, optional) | A list of one or more vehicle parameters that limit the vehicles the containing ProhibitedTransitionRule applies to. | | `road_flags[]` *(Road)* | [`RoadFlags`](types/road_flags.md) (list, optional) | Set of boolean attributes applicable to roads. May be specified either as a single flag array of flag values, or as an array of flag rules. | -| `road_flags[].values` | `list<`[`RoadFlag`](types/road_flag.md)`>` | | +| `road_flags[].values` | `list<`[`RoadFlag`](types/road_flag.md)`>` | | | `road_flags[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing RoadFlagRule applies to. | | `road_surface[]` *(Road)* | [`Surfaces`](types/surfaces.md) (list, optional) | Physical surface of the road. May either be specified as a single global value for the segment, or as an array of surface rules. | -| `road_surface[].value` | [`RoadSurface`](types/road_surface.md) | | +| `road_surface[].value` | [`RoadSurface`](types/road_surface.md) | | | `road_surface[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SurfaceRule applies to. | | `speed_limits[]` *(Road)* | [`SpeedLimits`](types/speed_limits.md) (list, optional) | Rules governing speed on this road segment | -| `speed_limits[].max_speed` | [`Speed`](types/speed.md) (optional) | | +| `speed_limits[].max_speed` | [`Speed`](types/speed.md) (optional) | | | `speed_limits[].max_speed.value` | [`SpeedValue`](types/speed_value.md) | Speed value | -| `speed_limits[].max_speed.unit` | [`SpeedUnit`](../core/speed_unit.md) | | -| `speed_limits[].min_speed` | [`Speed`](types/speed.md) (optional) | | +| `speed_limits[].max_speed.unit` | [`SpeedUnit`](../core/speed_unit.md) | | +| `speed_limits[].min_speed` | [`Speed`](types/speed.md) (optional) | | | `speed_limits[].min_speed.value` | [`SpeedValue`](types/speed_value.md) | Speed value | -| `speed_limits[].min_speed.unit` | [`SpeedUnit`](../core/speed_unit.md) | | +| `speed_limits[].min_speed.unit` | [`SpeedUnit`](../core/speed_unit.md) | | | `speed_limits[].is_max_speed_variable` | `boolean` (optional) | Indicates a variable speed corridor | | `speed_limits[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SpeedLimitRule applies to. | | `speed_limits[].when` | [`SpeedLimitRule.When`](types/speed_limit_rule.when.md) (optional) | Scopes for SpeedLimitRule: Scope.HEADING, Scope.TEMPORAL, Scope.TRAVEL MODE, Scope.PURPOSE OF USE, Scope.RECOGNIZED STATUS and Scope.VEHICLE | @@ -107,14 +107,14 @@ sidebar_position: 1 | `speed_limits[].when.mode` | `list<`[`TravelMode`](../core/scoping/travel_mode.md)`>` (optional) | A list of one or more travel modes, such as car, truck, or foot, that the containing SpeedLimitRule applies to. | | `speed_limits[].when.using` | `list<`[`PurposeOfUse`](../core/scoping/purpose_of_use.md)`>` (optional) | A list of one or more usage purposes, such as delivery or arrival at final destination, that the containing SpeedLimitRule applies to. | | `speed_limits[].when.recognized` | `list<`[`RecognizedStatus`](../core/scoping/recognized_status.md)`>` (optional) | A list of one or more recognized status values, such as employee or student, that the containing SpeedLimitRule applies to. | -| `speed_limits[].when.vehicle` | `list` (optional) | A list of one or more vehicle parameters that limit the vehicles the containing SpeedLimitRule applies to. | -| `subclass` *(Road)* | [`Subclass`](types/subclass.md) (optional) | | +| `speed_limits[].when.vehicle` | [`VehicleAxleCountSelector`](../core/scoping/vehicle_axle_count_selector.md) \| [`VehicleHeightSelector`](../core/scoping/vehicle_height_selector.md) \| [`VehicleLengthSelector`](../core/scoping/vehicle_length_selector.md) \| [`VehicleWeightSelector`](../core/scoping/vehicle_weight_selector.md) \| [`VehicleWidthSelector`](../core/scoping/vehicle_width_selector.md) (list, optional) | A list of one or more vehicle parameters that limit the vehicles the containing SpeedLimitRule applies to. | +| `subclass` *(Road)* | [`Subclass`](types/subclass.md) (optional) | | | `width_rules[]` *(Road)* | [`WidthRules`](types/width_rules.md) (list, optional) | Edge-to-edge width of the road modeled by this segment, in meters.

Examples: (1) If this segment models a carriageway without sidewalk, this value represents the edge-to-edge width of the carriageway, inclusive of any shoulder. (2) If this segment models a sidewalk by itself, this value represents the edge-to-edge width of the sidewalk. (3) If this segment models a combined sidewalk and carriageway, this value represents the edge-to-edge width inclusive of sidewalk. | -| `width_rules[].value` | [`Width`](types/width.md) | | +| `width_rules[].value` | [`Width`](types/width.md) | | | `width_rules[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing WidthRule applies to. | -| `class` *(Rail)* | [`RailClass`](types/rail_class.md) | | +| `class` *(Rail)* | [`RailClass`](types/rail_class.md) | | | `rail_flags[]` *(Rail)* | [`RailFlags`](types/rail_flags.md) (list, optional) | Set of boolean attributes applicable to railways. May be specified either as a single flag array of flag values, or as an array of flag rules. | -| `rail_flags[].values` | `list<`[`RailFlag`](types/rail_flag.md)`>` | | +| `rail_flags[].values` | `list<`[`RailFlag`](types/rail_flag.md)`>` | | | `rail_flags[].between` | [`LinearlyReferencedRange`](../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing RailFlagRule applies to. | ## Examples diff --git a/docs/schema/reference/transportation/types/access_restriction_rule.md b/docs/schema/reference/transportation/types/access_restriction_rule.md index fc27c8d7..d1f8c014 100644 --- a/docs/schema/reference/transportation/types/access_restriction_rule.md +++ b/docs/schema/reference/transportation/types/access_restriction_rule.md @@ -4,7 +4,7 @@ | Name | Type | Description | | -----: | :----: | ------------- | -| `access_type` | [`AccessType`](access_type.md) | | +| `access_type` | [`AccessType`](access_type.md) | | | `between` | [`LinearlyReferencedRange`](../../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing AccessRestrictionRule applies to. | | `when` | [`AccessRestrictionRule.When`](access_restriction_rule.when.md) (optional) | Scopes for AccessRestrictionRule: Scope.HEADING, Scope.TEMPORAL, Scope.TRAVEL MODE, Scope.PURPOSE OF USE, Scope.RECOGNIZED STATUS and Scope.VEHICLE | | `when.heading` | [`Heading`](../../core/scoping/heading.md) (optional) | The heading, either forward or backward, that the containing AccessRestrictionRule applies to. | @@ -12,7 +12,7 @@ | `when.mode` | `list<`[`TravelMode`](../../core/scoping/travel_mode.md)`>` (optional) | A list of one or more travel modes, such as car, truck, or foot, that the containing AccessRestrictionRule applies to. | | `when.using` | `list<`[`PurposeOfUse`](../../core/scoping/purpose_of_use.md)`>` (optional) | A list of one or more usage purposes, such as delivery or arrival at final destination, that the containing AccessRestrictionRule applies to. | | `when.recognized` | `list<`[`RecognizedStatus`](../../core/scoping/recognized_status.md)`>` (optional) | A list of one or more recognized status values, such as employee or student, that the containing AccessRestrictionRule applies to. | -| `when.vehicle` | `list` (optional) | A list of one or more vehicle parameters that limit the vehicles the containing AccessRestrictionRule applies to. | +| `when.vehicle` | [`VehicleAxleCountSelector`](../../core/scoping/vehicle_axle_count_selector.md) \| [`VehicleHeightSelector`](../../core/scoping/vehicle_height_selector.md) \| [`VehicleLengthSelector`](../../core/scoping/vehicle_length_selector.md) \| [`VehicleWeightSelector`](../../core/scoping/vehicle_weight_selector.md) \| [`VehicleWidthSelector`](../../core/scoping/vehicle_width_selector.md) (list, optional) | A list of one or more vehicle parameters that limit the vehicles the containing AccessRestrictionRule applies to. | ## Used By diff --git a/docs/schema/reference/transportation/types/access_restriction_rule.when.md b/docs/schema/reference/transportation/types/access_restriction_rule.when.md index 7a5c21a1..2341b567 100644 --- a/docs/schema/reference/transportation/types/access_restriction_rule.when.md +++ b/docs/schema/reference/transportation/types/access_restriction_rule.when.md @@ -8,10 +8,10 @@ Scopes for AccessRestrictionRule: Scope.HEADING, Scope.TEMPORAL, Scope.TRAVEL MO | -----: | :----: | ------------- | | `heading` | [`Heading`](../../core/scoping/heading.md) (optional) | The heading, either forward or backward, that the containing AccessRestrictionRule applies to.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | | `during` | [`OpeningHours`](../../core/scoping/opening_hours.md) (optional) | The recurring time span, in the OpenStreetMap opening hours format, that the containing AccessRestrictionRule applies to. For the OSM opening hours specification, see https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | -| `mode` | `list<`[`TravelMode`](../../core/scoping/travel_mode.md)`>` (optional) | A list of one or more travel modes, such as car, truck, or foot, that the containing AccessRestrictionRule applies to.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | -| `using` | `list<`[`PurposeOfUse`](../../core/scoping/purpose_of_use.md)`>` (optional) | A list of one or more usage purposes, such as delivery or arrival at final destination, that the containing AccessRestrictionRule applies to.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | -| `recognized` | `list<`[`RecognizedStatus`](../../core/scoping/recognized_status.md)`>` (optional) | A list of one or more recognized status values, such as employee or student, that the containing AccessRestrictionRule applies to.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | -| `vehicle` | `list` (optional) | A list of one or more vehicle parameters that limit the vehicles the containing AccessRestrictionRule applies to.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | +| `mode` | `list<`[`TravelMode`](../../core/scoping/travel_mode.md)`>` (optional) | A list of one or more travel modes, such as car, truck, or foot, that the containing AccessRestrictionRule applies to.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)*
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | +| `using` | `list<`[`PurposeOfUse`](../../core/scoping/purpose_of_use.md)`>` (optional) | A list of one or more usage purposes, such as delivery or arrival at final destination, that the containing AccessRestrictionRule applies to.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)*
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | +| `recognized` | `list<`[`RecognizedStatus`](../../core/scoping/recognized_status.md)`>` (optional) | A list of one or more recognized status values, such as employee or student, that the containing AccessRestrictionRule applies to.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)*
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | +| `vehicle` | [`VehicleAxleCountSelector`](../../core/scoping/vehicle_axle_count_selector.md) \| [`VehicleHeightSelector`](../../core/scoping/vehicle_height_selector.md) \| [`VehicleLengthSelector`](../../core/scoping/vehicle_length_selector.md) \| [`VehicleWeightSelector`](../../core/scoping/vehicle_weight_selector.md) \| [`VehicleWidthSelector`](../../core/scoping/vehicle_width_selector.md) (list, optional) | A list of one or more vehicle parameters that limit the vehicles the containing AccessRestrictionRule applies to.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)*
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | ## Constraints diff --git a/docs/schema/reference/transportation/types/connector_reference.md b/docs/schema/reference/transportation/types/connector_reference.md index 259cc92f..17d9c709 100644 --- a/docs/schema/reference/transportation/types/connector_reference.md +++ b/docs/schema/reference/transportation/types/connector_reference.md @@ -7,7 +7,7 @@ segment. | Name | Type | Description | | -----: | :----: | ------------- | -| `connector_id` | [`Id`](../../system/ref/id.md) | A unique identifier | +| `connector_id` | [`Id`](../../system/ref/id.md) | A unique identifier
*References [`Connector`](../connector.md) (connects to)* | | `at` | [`LinearlyReferencedPosition`](../../core/scoping/linearly_referenced_position.md) (optional) | The linearly-referenced position on the geometry, specified as a percentage displacement from the start of the geometry, that the containing ConnectorReference applies to. | ## Used By diff --git a/docs/schema/reference/transportation/types/destination_labels.md b/docs/schema/reference/transportation/types/destination_labels.md index ec65a4df..6d092868 100644 --- a/docs/schema/reference/transportation/types/destination_labels.md +++ b/docs/schema/reference/transportation/types/destination_labels.md @@ -6,8 +6,8 @@ The type of object of the destination label. | Name | Type | Description | | -----: | :----: | ------------- | -| `value` | [`StrippedString`](../../system/stripped_string.md) | Names the object that is reached | -| `type` | [`DestinationLabelType`](destination_label_type.md) | | +| `value` | [`StrippedString`](../../system/stripped_string.md) | Names the object that is reached
*`minimum length: 1`* | +| `type` | [`DestinationLabelType`](destination_label_type.md) | | ## Used By diff --git a/docs/schema/reference/transportation/types/destination_rule.md b/docs/schema/reference/transportation/types/destination_rule.md index 07eca36b..d7cbf014 100644 --- a/docs/schema/reference/transportation/types/destination_rule.md +++ b/docs/schema/reference/transportation/types/destination_rule.md @@ -8,10 +8,10 @@ | `to_connector_id` | [`Id`](../../system/ref/id.md) | Identifies the point of physical connection on the segment identified by 'to_segment_id' to transition to for reaching the destination(s). | | `to_segment_id` | [`Id`](../../system/ref/id.md) | Identifies the segment to transition to reach the destination(s) labeled on the sign or marking. | | `final_heading` | [`Heading`](../../core/scoping/heading.md) | Direction of travel on the segment identified by 'to_segment_id' that leads to the destination. | -| `labels[]` | `list<`[`DestinationLabels`](destination_labels.md)`>` (optional) | Labeled destinations that can be reached by following the segment.
*At least one of `labels`, `symbols` must be set* | +| `labels[]` | `list<`[`DestinationLabels`](destination_labels.md)`>` (optional) | Labeled destinations that can be reached by following the segment.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)*
*At least one of `labels`, `symbols` must be set* | | `labels[].value` | [`StrippedString`](../../system/stripped_string.md) | Names the object that is reached | -| `labels[].type` | [`DestinationLabelType`](destination_label_type.md) | | -| `symbols` | `list<`[`DestinationSignSymbol`](destination_sign_symbol.md)`>` (optional) | A collection of symbols or icons present on the sign next to current destination label.
*At least one of `labels`, `symbols` must be set* | +| `labels[].type` | [`DestinationLabelType`](destination_label_type.md) | | +| `symbols` | `list<`[`DestinationSignSymbol`](destination_sign_symbol.md)`>` (optional) | A collection of symbols or icons present on the sign next to current destination label.
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)*
*At least one of `labels`, `symbols` must be set* | | `when` | [`DestinationRule.When`](destination_rule.when.md) (optional) | Scope for DestinationRule: | | `when.heading` | [`Heading`](../../core/scoping/heading.md) | The heading, either forward or backward, that the containing DestinationRule applies to. | diff --git a/docs/schema/reference/transportation/types/prohibited_transition_rule.md b/docs/schema/reference/transportation/types/prohibited_transition_rule.md index 26377b0b..8f14281d 100644 --- a/docs/schema/reference/transportation/types/prohibited_transition_rule.md +++ b/docs/schema/reference/transportation/types/prohibited_transition_rule.md @@ -4,7 +4,7 @@ | Name | Type | Description | | -----: | :----: | ------------- | -| `sequence[]` | `list<`[`SequenceEntry`](sequence_entry.md)`>` | Ordered sequence of connector/segment pairs that it is prohibited to follow from this segment. | +| `sequence[]` | `list<`[`SequenceEntry`](sequence_entry.md)`>` | Ordered sequence of connector/segment pairs that it is prohibited to follow from this segment.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)* | | `sequence[].connector_id` | [`Id`](../../system/ref/id.md) | Identifies the point of physical connection between the previous segment in the sequence and the segment in this sequence entry. | | `sequence[].segment_id` | [`Id`](../../system/ref/id.md) | Identifies the segment that the previous segment in the sequence is physically connected to via the sequence entry's connector. | | `final_heading` | [`Heading`](../../core/scoping/heading.md) | Direction of travel that is prohibited on the destination segment of the sequence. | @@ -15,7 +15,7 @@ | `when.mode` | `list<`[`TravelMode`](../../core/scoping/travel_mode.md)`>` (optional) | A list of one or more travel modes, such as car, truck, or foot, that the containing ProhibitedTransitionRule applies to. | | `when.using` | `list<`[`PurposeOfUse`](../../core/scoping/purpose_of_use.md)`>` (optional) | A list of one or more usage purposes, such as delivery or arrival at final destination, that the containing ProhibitedTransitionRule applies to. | | `when.recognized` | `list<`[`RecognizedStatus`](../../core/scoping/recognized_status.md)`>` (optional) | A list of one or more recognized status values, such as employee or student, that the containing ProhibitedTransitionRule applies to. | -| `when.vehicle` | `list` (optional) | A list of one or more vehicle parameters that limit the vehicles the containing ProhibitedTransitionRule applies to. | +| `when.vehicle` | [`VehicleAxleCountSelector`](../../core/scoping/vehicle_axle_count_selector.md) \| [`VehicleHeightSelector`](../../core/scoping/vehicle_height_selector.md) \| [`VehicleLengthSelector`](../../core/scoping/vehicle_length_selector.md) \| [`VehicleWeightSelector`](../../core/scoping/vehicle_weight_selector.md) \| [`VehicleWidthSelector`](../../core/scoping/vehicle_width_selector.md) (list, optional) | A list of one or more vehicle parameters that limit the vehicles the containing ProhibitedTransitionRule applies to. | ## Used By diff --git a/docs/schema/reference/transportation/types/prohibited_transition_rule.when.md b/docs/schema/reference/transportation/types/prohibited_transition_rule.when.md index 1ecd80cd..d2ecfaef 100644 --- a/docs/schema/reference/transportation/types/prohibited_transition_rule.when.md +++ b/docs/schema/reference/transportation/types/prohibited_transition_rule.when.md @@ -8,10 +8,10 @@ Scopes for ProhibitedTransitionRule: Scope.HEADING, Scope.TEMPORAL, Scope.TRAVEL | -----: | :----: | ------------- | | `heading` | [`Heading`](../../core/scoping/heading.md) (optional) | The heading, either forward or backward, that the containing ProhibitedTransitionRule applies to.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | | `during` | [`OpeningHours`](../../core/scoping/opening_hours.md) (optional) | The recurring time span, in the OpenStreetMap opening hours format, that the containing ProhibitedTransitionRule applies to. For the OSM opening hours specification, see https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | -| `mode` | `list<`[`TravelMode`](../../core/scoping/travel_mode.md)`>` (optional) | A list of one or more travel modes, such as car, truck, or foot, that the containing ProhibitedTransitionRule applies to.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | -| `using` | `list<`[`PurposeOfUse`](../../core/scoping/purpose_of_use.md)`>` (optional) | A list of one or more usage purposes, such as delivery or arrival at final destination, that the containing ProhibitedTransitionRule applies to.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | -| `recognized` | `list<`[`RecognizedStatus`](../../core/scoping/recognized_status.md)`>` (optional) | A list of one or more recognized status values, such as employee or student, that the containing ProhibitedTransitionRule applies to.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | -| `vehicle` | `list` (optional) | A list of one or more vehicle parameters that limit the vehicles the containing ProhibitedTransitionRule applies to.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | +| `mode` | `list<`[`TravelMode`](../../core/scoping/travel_mode.md)`>` (optional) | A list of one or more travel modes, such as car, truck, or foot, that the containing ProhibitedTransitionRule applies to.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)*
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | +| `using` | `list<`[`PurposeOfUse`](../../core/scoping/purpose_of_use.md)`>` (optional) | A list of one or more usage purposes, such as delivery or arrival at final destination, that the containing ProhibitedTransitionRule applies to.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)*
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | +| `recognized` | `list<`[`RecognizedStatus`](../../core/scoping/recognized_status.md)`>` (optional) | A list of one or more recognized status values, such as employee or student, that the containing ProhibitedTransitionRule applies to.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)*
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | +| `vehicle` | [`VehicleAxleCountSelector`](../../core/scoping/vehicle_axle_count_selector.md) \| [`VehicleHeightSelector`](../../core/scoping/vehicle_height_selector.md) \| [`VehicleLengthSelector`](../../core/scoping/vehicle_length_selector.md) \| [`VehicleWeightSelector`](../../core/scoping/vehicle_weight_selector.md) \| [`VehicleWidthSelector`](../../core/scoping/vehicle_width_selector.md) (list, optional) | A list of one or more vehicle parameters that limit the vehicles the containing ProhibitedTransitionRule applies to.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)*
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | ## Constraints diff --git a/docs/schema/reference/transportation/types/rail_flag_rule.md b/docs/schema/reference/transportation/types/rail_flag_rule.md index e582a342..ecc911c2 100644 --- a/docs/schema/reference/transportation/types/rail_flag_rule.md +++ b/docs/schema/reference/transportation/types/rail_flag_rule.md @@ -6,7 +6,7 @@ Rail-specific flag rule with geometric scoping only. | Name | Type | Description | | -----: | :----: | ------------- | -| `values` | `list<`[`RailFlag`](rail_flag.md)`>` | | +| `values` | `list<`[`RailFlag`](rail_flag.md)`>` | *`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)* | | `between` | [`LinearlyReferencedRange`](../../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing RailFlagRule applies to. | ## Used By diff --git a/docs/schema/reference/transportation/types/road_flag_rule.md b/docs/schema/reference/transportation/types/road_flag_rule.md index 126fa0c1..736e6aae 100644 --- a/docs/schema/reference/transportation/types/road_flag_rule.md +++ b/docs/schema/reference/transportation/types/road_flag_rule.md @@ -6,7 +6,7 @@ Road-specific flag rule with geometric scoping only. | Name | Type | Description | | -----: | :----: | ------------- | -| `values` | `list<`[`RoadFlag`](road_flag.md)`>` | | +| `values` | `list<`[`RoadFlag`](road_flag.md)`>` | *`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)* | | `between` | [`LinearlyReferencedRange`](../../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing RoadFlagRule applies to. | ## Used By diff --git a/docs/schema/reference/transportation/types/route_reference.md b/docs/schema/reference/transportation/types/route_reference.md index e7878cb2..dbefedb1 100644 --- a/docs/schema/reference/transportation/types/route_reference.md +++ b/docs/schema/reference/transportation/types/route_reference.md @@ -6,10 +6,10 @@ Route reference with linear referencing support. | Name | Type | Description | | -----: | :----: | ------------- | -| `name` | [`StrippedString`](../../system/stripped_string.md) (optional) | Full name of the route | -| `network` | [`StrippedString`](../../system/stripped_string.md) (optional) | Name of the highway system this route belongs to | -| `ref` | [`StrippedString`](../../system/stripped_string.md) (optional) | Code or number used to reference the route | -| `symbol` | [`StrippedString`](../../system/stripped_string.md) (optional) | URL or description of route signage | +| `name` | [`StrippedString`](../../system/stripped_string.md) (optional) | Full name of the route
*`minimum length: 1`* | +| `network` | [`StrippedString`](../../system/stripped_string.md) (optional) | Name of the highway system this route belongs to
*`minimum length: 1`* | +| `ref` | [`StrippedString`](../../system/stripped_string.md) (optional) | Code or number used to reference the route
*`minimum length: 1`* | +| `symbol` | [`StrippedString`](../../system/stripped_string.md) (optional) | URL or description of route signage
*`minimum length: 1`* | | `wikidata` | [`WikidataId`](../../system/wikidata_id.md) (optional) | A wikidata ID, as found on https://www.wikidata.org/ | | `between` | [`LinearlyReferencedRange`](../../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing RouteReference applies to. | diff --git a/docs/schema/reference/transportation/types/speed.md b/docs/schema/reference/transportation/types/speed.md index 26ffb1c2..d7ac28d4 100644 --- a/docs/schema/reference/transportation/types/speed.md +++ b/docs/schema/reference/transportation/types/speed.md @@ -7,7 +7,7 @@ A speed value, i.e. a certain number of distance units travelled per unit time. | Name | Type | Description | | -----: | :----: | ------------- | | `value` | [`SpeedValue`](speed_value.md) | Speed value | -| `unit` | [`SpeedUnit`](../../core/speed_unit.md) | | +| `unit` | [`SpeedUnit`](../../core/speed_unit.md) | | ## Used By diff --git a/docs/schema/reference/transportation/types/speed_limit_rule.md b/docs/schema/reference/transportation/types/speed_limit_rule.md index 7072694e..4ef7bab1 100644 --- a/docs/schema/reference/transportation/types/speed_limit_rule.md +++ b/docs/schema/reference/transportation/types/speed_limit_rule.md @@ -8,11 +8,11 @@ An individual speed limit rule. | -----: | :----: | ------------- | | `max_speed` | [`Speed`](speed.md) (optional) | *At least one of `max_speed`, `min_speed` must be set* | | `max_speed.value` | [`SpeedValue`](speed_value.md) | Speed value | -| `max_speed.unit` | [`SpeedUnit`](../../core/speed_unit.md) | | +| `max_speed.unit` | [`SpeedUnit`](../../core/speed_unit.md) | | | `min_speed` | [`Speed`](speed.md) (optional) | *At least one of `max_speed`, `min_speed` must be set* | | `min_speed.value` | [`SpeedValue`](speed_value.md) | Speed value | -| `min_speed.unit` | [`SpeedUnit`](../../core/speed_unit.md) | | -| `is_max_speed_variable` | `boolean` (optional) | Indicates a variable speed corridor | +| `min_speed.unit` | [`SpeedUnit`](../../core/speed_unit.md) | | +| `is_max_speed_variable` | `boolean` (optional) | Indicates a variable speed corridor
*`strict=True`* | | `between` | [`LinearlyReferencedRange`](../../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SpeedLimitRule applies to. | | `when` | [`SpeedLimitRule.When`](speed_limit_rule.when.md) (optional) | Scopes for SpeedLimitRule: Scope.HEADING, Scope.TEMPORAL, Scope.TRAVEL MODE, Scope.PURPOSE OF USE, Scope.RECOGNIZED STATUS and Scope.VEHICLE | | `when.heading` | [`Heading`](../../core/scoping/heading.md) (optional) | The heading, either forward or backward, that the containing SpeedLimitRule applies to. | @@ -20,7 +20,7 @@ An individual speed limit rule. | `when.mode` | `list<`[`TravelMode`](../../core/scoping/travel_mode.md)`>` (optional) | A list of one or more travel modes, such as car, truck, or foot, that the containing SpeedLimitRule applies to. | | `when.using` | `list<`[`PurposeOfUse`](../../core/scoping/purpose_of_use.md)`>` (optional) | A list of one or more usage purposes, such as delivery or arrival at final destination, that the containing SpeedLimitRule applies to. | | `when.recognized` | `list<`[`RecognizedStatus`](../../core/scoping/recognized_status.md)`>` (optional) | A list of one or more recognized status values, such as employee or student, that the containing SpeedLimitRule applies to. | -| `when.vehicle` | `list` (optional) | A list of one or more vehicle parameters that limit the vehicles the containing SpeedLimitRule applies to. | +| `when.vehicle` | [`VehicleAxleCountSelector`](../../core/scoping/vehicle_axle_count_selector.md) \| [`VehicleHeightSelector`](../../core/scoping/vehicle_height_selector.md) \| [`VehicleLengthSelector`](../../core/scoping/vehicle_length_selector.md) \| [`VehicleWeightSelector`](../../core/scoping/vehicle_weight_selector.md) \| [`VehicleWidthSelector`](../../core/scoping/vehicle_width_selector.md) (list, optional) | A list of one or more vehicle parameters that limit the vehicles the containing SpeedLimitRule applies to. | ## Constraints diff --git a/docs/schema/reference/transportation/types/speed_limit_rule.when.md b/docs/schema/reference/transportation/types/speed_limit_rule.when.md index 33328ad6..c1014c0c 100644 --- a/docs/schema/reference/transportation/types/speed_limit_rule.when.md +++ b/docs/schema/reference/transportation/types/speed_limit_rule.when.md @@ -8,10 +8,10 @@ Scopes for SpeedLimitRule: Scope.HEADING, Scope.TEMPORAL, Scope.TRAVEL MODE, Sco | -----: | :----: | ------------- | | `heading` | [`Heading`](../../core/scoping/heading.md) (optional) | The heading, either forward or backward, that the containing SpeedLimitRule applies to.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | | `during` | [`OpeningHours`](../../core/scoping/opening_hours.md) (optional) | The recurring time span, in the OpenStreetMap opening hours format, that the containing SpeedLimitRule applies to. For the OSM opening hours specification, see https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | -| `mode` | `list<`[`TravelMode`](../../core/scoping/travel_mode.md)`>` (optional) | A list of one or more travel modes, such as car, truck, or foot, that the containing SpeedLimitRule applies to.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | -| `using` | `list<`[`PurposeOfUse`](../../core/scoping/purpose_of_use.md)`>` (optional) | A list of one or more usage purposes, such as delivery or arrival at final destination, that the containing SpeedLimitRule applies to.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | -| `recognized` | `list<`[`RecognizedStatus`](../../core/scoping/recognized_status.md)`>` (optional) | A list of one or more recognized status values, such as employee or student, that the containing SpeedLimitRule applies to.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | -| `vehicle` | `list` (optional) | A list of one or more vehicle parameters that limit the vehicles the containing SpeedLimitRule applies to.
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | +| `mode` | `list<`[`TravelMode`](../../core/scoping/travel_mode.md)`>` (optional) | A list of one or more travel modes, such as car, truck, or foot, that the containing SpeedLimitRule applies to.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)*
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | +| `using` | `list<`[`PurposeOfUse`](../../core/scoping/purpose_of_use.md)`>` (optional) | A list of one or more usage purposes, such as delivery or arrival at final destination, that the containing SpeedLimitRule applies to.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)*
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | +| `recognized` | `list<`[`RecognizedStatus`](../../core/scoping/recognized_status.md)`>` (optional) | A list of one or more recognized status values, such as employee or student, that the containing SpeedLimitRule applies to.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)*
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | +| `vehicle` | [`VehicleAxleCountSelector`](../../core/scoping/vehicle_axle_count_selector.md) \| [`VehicleHeightSelector`](../../core/scoping/vehicle_height_selector.md) \| [`VehicleLengthSelector`](../../core/scoping/vehicle_length_selector.md) \| [`VehicleWeightSelector`](../../core/scoping/vehicle_weight_selector.md) \| [`VehicleWidthSelector`](../../core/scoping/vehicle_width_selector.md) (list, optional) | A list of one or more vehicle parameters that limit the vehicles the containing SpeedLimitRule applies to.
*`minimum length: 1`*
*Ensures all items in a collection are unique. (`UniqueItemsConstraint`)*
*At least one of `heading`, `during`, `mode`, `using`, `recognized`, `vehicle` must be set* | ## Constraints diff --git a/docs/schema/reference/transportation/types/subclass_rule.md b/docs/schema/reference/transportation/types/subclass_rule.md index 0a378783..c2552370 100644 --- a/docs/schema/reference/transportation/types/subclass_rule.md +++ b/docs/schema/reference/transportation/types/subclass_rule.md @@ -6,7 +6,7 @@ Set of subclasses scoped along segment. | Name | Type | Description | | -----: | :----: | ------------- | -| `value` | [`Subclass`](subclass.md) | | +| `value` | [`Subclass`](subclass.md) | | | `between` | [`LinearlyReferencedRange`](../../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SubclassRule applies to. | ## Used By diff --git a/docs/schema/reference/transportation/types/surface_rule.md b/docs/schema/reference/transportation/types/surface_rule.md index e750bdab..3300da9d 100644 --- a/docs/schema/reference/transportation/types/surface_rule.md +++ b/docs/schema/reference/transportation/types/surface_rule.md @@ -4,7 +4,7 @@ | Name | Type | Description | | -----: | :----: | ------------- | -| `value` | [`RoadSurface`](road_surface.md) | | +| `value` | [`RoadSurface`](road_surface.md) | | | `between` | [`LinearlyReferencedRange`](../../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing SurfaceRule applies to. | ## Used By diff --git a/docs/schema/reference/transportation/types/width_rule.md b/docs/schema/reference/transportation/types/width_rule.md index a794e815..42aa4de5 100644 --- a/docs/schema/reference/transportation/types/width_rule.md +++ b/docs/schema/reference/transportation/types/width_rule.md @@ -4,7 +4,7 @@ | Name | Type | Description | | -----: | :----: | ------------- | -| `value` | [`Width`](width.md) | | +| `value` | [`Width`](width.md) | | | `between` | [`LinearlyReferencedRange`](../../core/scoping/linearly_referenced_range.md) (list, optional) | The linearly-referenced sub-segment of the geometry, specified as a range (pair) of percentage displacements from the start of the geometry, that the containing WidthRule applies to. | ## Used By