|
1 | | -<!-- 10-Header --> |
| 1 | +<!-- 10-Header --> |
2 | 2 | [](https://smartdatamodels.org) |
3 | | -实体: OSMLeisure |
4 | | -==================<!-- /10-Header --> |
5 | | -<!-- 15-License --> |
6 | | -[Open License](https://github.com/smart-data-models//dataModel.OpenStreetMap/blob/master/OSMLeisure/LICENSE.md) |
7 | | -[document generated automatically](https://docs.google.com/presentation/d/e/2PACX-1vTs-Ng5dIAwkg91oTTUdt8ua7woBXhPnwavZ0FxgR8BsAI_Ek3C5q97Nd94HS8KhP-r_quD4H0fgyt3/pub?start=false&loop=false&delayms=3000#slide=id.gb715ace035_0_60) |
8 | | -<!-- /15-License --> |
9 | | -<!-- 20-Description --> |
10 | | -全局描述: **OpenStreetMap 中标记为 leisure=* 的休闲、运动或娱乐场所。包括公园、运动场、游泳池、体育场等** |
11 | | -版本: 0.0.1 |
12 | | -<!-- /20-Description --> |
13 | | -<!-- 30-PropertiesList --> |
| 3 | +实体:OSMLeisure |
| 4 | +==================<!-- /10-Header --> |
| 5 | +<!-- 15-License --> |
| 6 | +[Open License](https://github.com/smart-data-models//dataModel.OpenStreetMap/blob/master/OSMLeisure/LICENSE.md) |
| 7 | +[document generated automatically](https://docs.google.com/presentation/d/e/2PACX-1vTs-Ng5dIAwkg91oTTUdt8ua7woBXhPnwavZ0FxgR8BsAI_Ek3C5q97Nd94HS8KhP-r_quD4H0fgyt3/pub?start=false&loop=false&delayms=3000#slide=id.gb715ace035_0_60) |
| 8 | +<!-- /15-License --> |
| 9 | +<!-- 20-Description --> |
| 10 | +全局描述:**一个用于休闲、体育或娱乐的场所,来自OpenStreetMap,标记为leisure=*. 包括公园、体育场、游泳池、体育场等** |
| 11 | +版本:0.0.1 |
| 12 | +<!-- /20-Description --> |
| 13 | +<!-- 30-PropertiesList --> |
14 | 14 |
|
15 | | -## 属性列表 |
| 15 | +## 属性列表 |
16 | 16 |
|
17 | | -<sup><sub>[*] 如果属性中没有类型,那是因为它可能有多种类型或不同的格式/模式</sub></sup> |
18 | | -- `access[string]`: 访问限制。模型: [https://wiki.openstreetmap.org/wiki/Key:access](https://wiki.openstreetmap.org/wiki/Key:access)- `address[object]`: 邮寄地址。模型: [https://schema.org/address](https://schema.org/address) - `addressCountry[string]`: 国家。例如,西班牙。模型: [https://schema.org/addressCountry](https://schema.org/addressCountry) |
19 | | - - `addressLocality[string]`: 街道地址所在的地区,且该地区位于某个区域内。模型: [https://schema.org/addressLocality](https://schema.org/addressLocality) |
20 | | - - `addressRegion[string]`: 地区所在的区域,且该区域位于某个国家内。模型: [https://schema.org/addressRegion](https://schema.org/addressRegion) |
21 | | - - `district[string]`: 地区是一种行政区划,在某些国家由地方政府管理 |
22 | | - - `postOfficeBoxNumber[string]`: 邮政信箱地址的信箱号码。例如,03578。模型: [https://schema.org/postOfficeBoxNumber](https://schema.org/postOfficeBoxNumber) |
23 | | - - `postalCode[string]`: 邮政编码。例如,24004。模型: [https://schema.org/https://schema.org/postalCode](https://schema.org/https://schema.org/postalCode) |
24 | | - - `streetAddress[string]`: 街道地址。模型: [https://schema.org/streetAddress](https://schema.org/streetAddress) |
25 | | - - `streetNr[string]`: 识别公共街道上特定物业的号码 |
26 | | -- `alternateName[string]`: 此项目的替代名称 - `areaServed[string]`: 提供服务或商品的地理区域。模型: [https://schema.org/Text](https://schema.org/Text)- `dataProvider[string]`: 标识统一数据实体提供者的字符序列 - `dateCreated[date-time]`: 实体创建时间戳。这通常由存储平台分配 - `dateModified[date-time]`: 实体最后修改的时间戳。这通常由存储平台分配 - `description[string]`: 此项目的描述 - `fee[boolean]`: 指示是否需要入场费或使用费。模型: [https://wiki.openstreetmap.org/wiki/Key:fee](https://wiki.openstreetmap.org/wiki/Key:fee)- `id[*]`: 实体的唯一标识符 - `leisureType[string]`: 对设施进行分类的 OSM 休闲标签。枚举值:'park, pitch, swimming_pool, sports_centre, stadium, playground, garden, nature_reserve, marina...'。模型: [https://wiki.openstreetmap.org/wiki/Key:leisure](https://wiki.openstreetmap.org/wiki/Key:leisure)- `lit[boolean]`: 指示设施是否照明。模型: [https://wiki.openstreetmap.org/wiki/Key:lit](https://wiki.openstreetmap.org/wiki/Key:lit)- `location[*]`: Geojson 对该项目的引用。可以是 Point, LineString, Polygon, MultiPoint, MultiLineString 或 MultiPolygon - `name[string]`: 此项目的名称 - `openingHours[string]`: 设施的开放时间 - `operator[string]`: 运营者或管理实体 - `osmId[number]`: 原始 OpenStreetMap 元素的整数标识符 - `osmLastModified[date-time]`: 最后修改的时间戳 - `osmType[string]`: 原始 OSM 元素的类型 - `owner[array]`: 一个列表,包含 JSON 编码的字符序列,引用所有者(一个或多个)的唯一 ID - `seeAlso[*]`: 指向附加资源的 URI 列表 - `source[string]`: 一个字符序列,以 URL 形式给出实体数据的原始来源。建议使用来源提供者的完全限定域名,或指向来源对象的 URL - `sport[string]`: 在此进行的特定运动(例如足球、网球、篮球)。模型: [https://wiki.openstreetmap.org/wiki/Key:sport](https://wiki.openstreetmap.org/wiki/Key:sport)- `surface[string]`: 球场或跑道的物理表面。模型: [https://wiki.openstreetmap.org/wiki/Key:surface](https://wiki.openstreetmap.org/wiki/Key:surface)- `type[string]`: NGSI 实体类型。必须是 OSMLeisure - `wheelchair[string]`: 轮椅可达性<!-- /30-PropertiesList --> |
27 | | -<!-- 35-RequiredProperties --> |
28 | | -必需属性 |
29 | | -- `id` - `leisureType` - `location` - `osmId` - `osmType` - `type` <!-- /35-RequiredProperties --> |
30 | | -<!-- 40-NotesYaml --> |
31 | | -<!-- /40-NotesYaml --> |
32 | | -<!-- 50-DataModelHeader --> |
33 | | -## 属性数据模型描述 |
34 | | -按字母顺序排序(点击查看详情) |
35 | | -<!-- /50-DataModelHeader --> |
36 | | -<!-- 60-ModelYaml --> |
37 | | -<details><summary><strong>完整的 yaml 详情</strong></summary> |
38 | | -```yaml |
| 17 | +<sup><sub>[*] 如果属性中没有类型,那是因为它可以有多种类型或不同的格式/模式</sub></sup> |
| 18 | +- `access[string]`:访问限制。模型:[https://wiki.openstreetmap.org/wiki/Key:access](https://wiki.openstreetmap.org/wiki/Key:access)- `address[object]`:邮寄地址。模型:[https://schema.org/address](https://schema.org/address) - `addressCountry[string]`:国家。例如,西班牙。模型:[https://schema.org/addressCountry](https://schema.org/addressCountry) |
| 19 | + - `addressLocality[string]`:街道地址所在的地区,并且在该地区。模型:[https://schema.org/addressLocality](https://schema.org/addressLocality) |
| 20 | + - `addressRegion[string]`:地区所在的地区,并且在国家。模型:[https://schema.org/addressRegion](https://schema.org/addressRegion) |
| 21 | + - `district[string]`:一个区是一个类型的行政区划,在一些国家,由当地政府管理 |
| 22 | + - `postOfficeBoxNumber[string]`:邮政信箱号码。例如,03578。模型:[https://schema.org/postOfficeBoxNumber](https://schema.org/postOfficeBoxNumber) |
| 23 | + - `postalCode[string]`:邮政编码。例如,24004。模型:[https://schema.org/https://schema.org/postalCode](https://schema.org/https://schema.org/postalCode) |
| 24 | + - `streetAddress[string]`:街道地址。模型:[https://schema.org/streetAddress](https://schema.org/streetAddress) |
| 25 | + - `streetNr[string]`:一个公众街道上特定属性的标识符 |
| 26 | +- `alternateName[string]`:该项的另一个名称 - `areaServed[string]`:服务或提供的项目的地理区域。模型:[https://schema.org/Text](https://schema.org/Text)- `dataProvider[string]`:一个字符序列,用于识别和谐数据实体的提供者 - `dateCreated[date-time]`:实体创建时间戳。这通常由存储平台分配 - `dateModified[date-time]`:实体最后修改的时间戳。这通常由存储平台分配 - `description[string]`:该项的描述 - `fee[boolean]`:指示是否需要入场或使用费。模型:[https://wiki.openstreetmap.org/wiki/Key:fee](https://wiki.openstreetmap.org/wiki/Key:fee)- `id[*]`:实体的唯一标识符 - `leisureType[string]`:OSM休闲标签,用于分类设施。枚举:'park, pitch, swimming_pool, sports_centre, stadium, playground, garden, nature_reserve, marina...'。模型:[https://wiki.openstreetmap.org/wiki/Key:leisure](https://wiki.openstreetmap.org/wiki/Key:leisure)- `lit[boolean]`:指示设施是否有照明。模型:[https://wiki.openstreetmap.org/wiki/Key:lit](https://wiki.openstreetmap.org/wiki/Key:lit)- `location[*]`:Geojson引用项。可以是Point、LineString、Polygon、MultiPoint、MultiLineString或MultiPolygon - `name[string]`:该项的名称 - `openingHours[string]`:设施的开放时间 - `operator[string]`:运营商或管理实体 - `osmId[number]`:原始OpenStreetMap元素整数标识符 - `osmLastModified[date-time]`:最后修改时间戳 - `osmType[string]`:原始OSM元素的类型 - `owner[array]`:包含一个JSON编码序列的列表,引用所有者(s)的唯一Id - `seeAlso[*]`:指向其他资源的URI列表 - `source[string]`:一个字符序列,给出实体数据的原始来源作为URL。建议使用完全合格的域名或源对象的URL - `sport[string]`:在此处进行的特定运动(例如足球、网球、篮球)。模型:[https://wiki.openstreetmap.org/wiki/Key:sport](https://wiki.openstreetmap.org/wiki/Key:sport)- `surface[string]`:球场或跑道的物理表面。模型:[https://wiki.openstreetmap.org/wiki/Key:surface](https://wiki.openstreetmap.org/wiki/Key:surface)- `type[string]`:NGSI实体类型。必须是OSMLeisure - `wheelchair[string]`:轮椅无障碍 <!-- /30-PropertiesList --> |
| 27 | +<!-- 35-RequiredProperties --> |
| 28 | +必需属性 |
| 29 | +- `id` - `leisureType` - `location` - `osmId` - `osmType` - `type` <!-- /35-RequiredProperties --> |
| 30 | +<!-- 40-NotesYaml --> |
| 31 | +<!-- /40-NotesYaml --> |
| 32 | +<!-- 50-DataModelHeader --> |
| 33 | +## 属性数据模型描述 |
| 34 | +按字母顺序排序(点击查看详细信息) |
| 35 | +<!-- /50-DataModelHeader --> |
| 36 | +<!-- 60-ModelYaml --> |
| 37 | +<details><summary><strong>完整的YAML详细信息</strong></summary> |
| 38 | +```yaml |
39 | 39 | OSMLeisure: |
40 | 40 | description: A place for leisure, sports, or recreation from OpenStreetMap tagged with leisure=*. Includes parks, sports pitches, swimming pools, stadiums, etc |
41 | 41 | properties: |
@@ -509,15 +509,15 @@ OSMLeisure: |
509 | 509 | x-version: 0.0.1 |
510 | 510 | ``` |
511 | 511 | </details> |
512 | | -<!-- /60-ModelYaml --> |
513 | | -<!-- 70-MiddleNotes --> |
514 | | -<!-- /70-MiddleNotes --> |
515 | | -<!-- 80-Examples --> |
516 | | -## 示例负载 |
517 | | -#### OSMLeisure NGSI-v2 键值对示例 |
518 | | -这是一个 OSMLeisure 的 JSON 格式键值对示例。当使用 `options=keyValues` 时,它与 NGSI-v2 兼容,并返回单个实体的上下文数据。 |
| 512 | +<!-- /60-ModelYaml --> |
| 513 | +<!-- 70-MiddleNotes --> |
| 514 | +<!-- /70-MiddleNotes --> |
| 515 | +<!-- 80-Examples --> |
| 516 | +## 示例有效载荷 |
| 517 | +#### OSMLeisure NGSI-v2 键值示例 |
| 518 | +这是一个OSMLeisure的JSON格式键值示例。与NGSI-v2兼容,当使用 `options=keyValues` 时,返回个别实体的上下文数据。 |
519 | 519 | <details><summary><strong>显示/隐藏示例</strong></summary> |
520 | | -```json |
| 520 | +```json |
521 | 521 | { |
522 | 522 | "id": "urn:ngsi-ld:OSMLeisure:way:55667788", |
523 | 523 | "type": "OSMLeisure", |
@@ -565,10 +565,10 @@ OSMLeisure: |
565 | 565 | } |
566 | 566 | ``` |
567 | 567 | </details> |
568 | | -#### OSMLeisure NGSI-v2 规范化示例 |
569 | | -这是一个 OSMLeisure 的 JSON 格式规范化示例。当不使用选项时,它与 NGSI-v2 兼容,并返回单个实体的上下文数据。 |
| 568 | +#### OSMLeisure NGSI-v2 规范化示例 |
| 569 | +这是一个OSMLeisure的JSON格式规范化示例。与NGSI-v2兼容,当不使用选项时,返回个别实体的上下文数据。 |
570 | 570 | <details><summary><strong>显示/隐藏示例</strong></summary> |
571 | | -```json |
| 571 | +```json |
572 | 572 | { |
573 | 573 | "id": "urn:ngsi-ld:OSMLeisure:way:55667788", |
574 | 574 | "type": "OSMLeisure", |
@@ -655,10 +655,10 @@ OSMLeisure: |
655 | 655 | } |
656 | 656 | ``` |
657 | 657 | </details> |
658 | | -#### OSMLeisure NGSI-LD 键值对示例 |
659 | | -这是一个 OSMLeisure 的 JSON-LD 格式键值对示例。当使用 `options=keyValues` 时,它与 NGSI-LD 兼容,并返回单个实体的上下文数据。 |
| 658 | +#### OSMLeisure NGSI-LD 键值示例 |
| 659 | +这是一个OSMLeisure的JSON-LD格式键值示例。与NGSI-LD兼容,当使用 `options=keyValues` 时,返回个别实体的上下文数据。 |
660 | 660 | <details><summary><strong>显示/隐藏示例</strong></summary> |
661 | | -```json |
| 661 | +```json |
662 | 662 | { |
663 | 663 | "id": "urn:ngsi-ld:OSMLeisure:way:55667788", |
664 | 664 | "type": "OSMLeisure", |
@@ -709,10 +709,10 @@ OSMLeisure: |
709 | 709 | } |
710 | 710 | ``` |
711 | 711 | </details> |
712 | | -#### OSMLeisure NGSI-LD 规范化示例 |
713 | | -这是一个 OSMLeisure 的 JSON-LD 格式规范化示例。当不使用选项时,它与 NGSI-LD 兼容,并返回单个实体的上下文数据。 |
| 712 | +#### OSMLeisure NGSI-LD 规范化示例 |
| 713 | +这是一个OSMLeisure的JSON-LD格式规范化示例。与NGSI-LD兼容,当不使用选项时,返回个别实体的上下文数据。 |
714 | 714 | <details><summary><strong>显示/隐藏示例</strong></summary> |
715 | | -```json |
| 715 | +```json |
716 | 716 | { |
717 | 717 | "id": "urn:ngsi-ld:OSMLeisure:way:55667788", |
718 | 718 | "type": "OSMLeisure", |
@@ -804,12 +804,12 @@ OSMLeisure: |
804 | 804 | ] |
805 | 805 | } |
806 | 806 | ``` |
807 | | -</details><!-- /80-Examples --> |
808 | | -<!-- 90-FooterNotes --> |
809 | | -<!-- /90-FooterNotes --> |
810 | | -<!-- 95-Units --> |
811 | | -请参阅 [FAQ 10](https://smartdatamodels.org/index.php/faqs/) 以获取有关如何处理量纲单位的答案 |
812 | | -<!-- /95-Units --> |
813 | | -<!-- 97-LastFooter --> |
| 807 | +</details><!-- /80-Examples --> |
| 808 | +<!-- 90-FooterNotes --> |
| 809 | +<!-- /90-FooterNotes --> |
| 810 | +<!-- 95-Units --> |
| 811 | +请参阅 [FAQ 10](https://smartdatamodels.org/index.php/faqs/) 以获取有关如何处理数量单位的答案 |
| 812 | +<!-- /95-Units --> |
| 813 | +<!-- 97-LastFooter --> |
814 | 814 | --- |
815 | | -[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter --> |
| 815 | +[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter --> |
|
0 commit comments