Skip to content

Commit 12b488a

Browse files
Update ZH
1 parent 7a5e31a commit 12b488a

1 file changed

Lines changed: 69 additions & 102 deletions

File tree

OSMLeisure/doc/spec_ZH.md

Lines changed: 69 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,40 @@
1-
<!-- 10-Header -->
2-
[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](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 -->
1+
<!-- 10-Header -->
2+
[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](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 -->
1414

15-
## 属性列表
15+
## 属性列表
1616

17-
<sup><sub>[*] 如果属性中没有类型,是因为它可能有多种类型或不同的格式/模式</sub></sup>
18-
- `access[string]`:访问限制。模型:[https://wiki.openstreetmap.org/wiki/Key:access](https://wiki.openstreetmap.org/wiki/Key:access)
19-
- `address[object]`:邮寄地址。模型:[https://schema.org/address](https://schema.org/address)
20-
- `addressCountry[string]`:国家。例如,西班牙。模型:[https://schema.org/addressCountry](https://schema.org/addressCountry)
21-
- `addressLocality[string]`:街道地址所在的地区,该地区位于国家内。模型:[https://schema.org/addressLocality](https://schema.org/addressLocality)
22-
- `addressRegion[string]`:地区所在的地区,该地区位于国家内。模型:[https://schema.org/addressRegion](https://schema.org/addressRegion)
23-
- `district[string]`:区是行政区划的一种,在某些国家由地方政府管理。
24-
- `postOfficeBoxNumber[string]`:邮政信箱地址的邮政信箱号码。例如,03578。模型:[https://schema.org/postOfficeBoxNumber](https://schema.org/postOfficeBoxNumber)
25-
- `postalCode[string]`:邮政编码。例如,24004。模型:[https://schema.org/https://schema.org/postalCode](https://schema.org/https://schema.org/postalCode)
26-
- `streetAddress[string]`:街道地址。模型:[https://schema.org/streetAddress](https://schema.org/streetAddress)
27-
- `streetNr[string]`:标识公共街道上特定物业的编号。
28-
- `alternateName[string]`:此项目的别名。
29-
- `areaServed[string]`:提供服务或商品的地理区域。模型:[https://schema.org/Text](https://schema.org/Text)
30-
- `dataProvider[string]`:一个字符序列,用于标识统一数据实体的提供者。
31-
- `dateCreated[date-time]`:实体创建时间戳。这通常由存储平台分配。
32-
- `dateModified[date-time]`:实体最后修改时间戳。这通常由存储平台分配。
33-
- `description[string]`:此项目的描述。
34-
- `fee[boolean]`:指示是否需要入口或使用费。模型:[https://wiki.openstreetmap.org/wiki/Key:fee](https://wiki.openstreetmap.org/wiki/Key:fee)
35-
- `id[*]`:实体的唯一标识符。
36-
- `leisureType[string]`:对设施进行分类的 OSM leisure 标签。枚举:'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)
37-
- `lit[boolean]`:指示设施是否已照明。模型:[https://wiki.openstreetmap.org/wiki/Key:lit](https://wiki.openstreetmap.org/wiki/Key:lit)
38-
- `location[*]`:指向项目的 Geojson 引用。它可以是 Point、LineString、Polygon、MultiPoint、MultiLineString 或 MultiPolygon。
39-
- `name[string]`:此项目的名称。
40-
- `openingHours[string]`:设施的开放时间。
41-
- `operator[string]`:运营商或管理实体。
42-
- `osmId[number]`:原始 OpenStreetMap 元素的整数标识符。
43-
- `osmLastModified[date-time]`:最后修改的时间戳。
44-
- `osmType[string]`:原始 OSM 元素的类型。
45-
- `owner[array]`:一个列表,包含一个 JSON 编码的字符序列,引用所有者唯一的 ID。
46-
- `seeAlso[*]`:指向附加资源的 URI 列表。
47-
- `source[string]`:一个字符序列,给出实体数据的原始来源 URL。建议使用源提供者的完全限定域名或源对象的 URL。
48-
- `sport[string]`:此处进行的特定运动(例如,足球、网球、篮球)。模型:[https://wiki.openstreetmap.org/wiki/Key:sport](https://wiki.openstreetmap.org/wiki/Key:sport)
49-
- `surface[string]`:球场或跑道的物理表面。模型:[https://wiki.openstreetmap.org/wiki/Key:surface](https://wiki.openstreetmap.org/wiki/Key:surface)
50-
- `type[string]`:NGSI 实体类型。它必须是 OSMLeisure。
51-
- `wheelchair[string]`:轮椅可达性。
52-
<!-- /30-PropertiesList -->
53-
<!-- 35-RequiredProperties -->
54-
必需属性
55-
- `id`
56-
- `leisureType`
57-
- `location`
58-
- `osmId`
59-
- `osmType`
60-
- `type`
61-
<!-- /35-RequiredProperties -->
62-
<!-- 40-NotesYaml -->
63-
<!-- /40-NotesYaml -->
64-
<!-- 50-DataModelHeader -->
65-
## 属性数据模型描述
66-
按字母顺序排序(点击查看详情)
67-
<!-- /50-DataModelHeader -->
68-
<!-- 60-ModelYaml -->
69-
<details><summary><strong>完整的 yaml 详情</strong></summary>
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>
7038
```yaml
7139
OSMLeisure:
7240
description: A place for leisure, sports, or recreation from OpenStreetMap tagged with leisure=*. Includes parks, sports pitches, swimming pools, stadiums, etc
@@ -539,17 +507,16 @@ OSMLeisure:
539507
x-model-schema: https://smart-data-models.github.io/dataModel.OpenStreetMap/OSMLeisure/schema.json
540508
x-model-tags: OSM OpenStreetMap Leisure
541509
x-version: 0.0.1
542-
```
543-
</details>
544-
<!-- /60-ModelYaml -->
545-
<!-- 70-MiddleNotes -->
546-
<!-- /70-MiddleNotes -->
547-
<!-- 80-Examples -->
548-
## 示例负载
549-
550-
#### OSMLeisure NGSI-v2 键值示例
551-
以下是 OSMLeisure 的 JSON 格式键值示例。当使用 `options=keyValues` 时,它与 NGSI-v2 兼容,并返回单个实体的上下文数据。
552-
<details><summary><strong>显示/隐藏示例</strong></summary>
510+
```
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 兼容,并返回单个实体的上下文数据。
519+
<details><summary><strong>显示/隐藏示例</strong></summary>
553520
```json
554521
{
555522
"id": "urn:ngsi-ld:OSMLeisure:way:55667788",
@@ -596,11 +563,11 @@ OSMLeisure:
596563
"https://www.openstreetmap.org/way/55667788"
597564
]
598565
}
599-
```
600-
</details>
601-
#### OSMLeisure NGSI-v2 规范化示例
602-
以下是 OSMLeisure 的 JSON 格式规范化示例。当不使用选项时,它与 NGSI-v2 兼容,并返回单个实体的上下文数据。
603-
<details><summary><strong>显示/隐藏示例</strong></summary>
566+
```
567+
</details>
568+
#### OSMLeisure NGSI-v2 规范化示例
569+
这是一个 OSMLeisure 的 JSON 格式规范化示例。当不使用选项时,它与 NGSI-v2 兼容,并返回单个实体的上下文数据。
570+
<details><summary><strong>显示/隐藏示例</strong></summary>
604571
```json
605572
{
606573
"id": "urn:ngsi-ld:OSMLeisure:way:55667788",
@@ -686,11 +653,11 @@ OSMLeisure:
686653
]
687654
}
688655
}
689-
```
690-
</details>
691-
#### OSMLeisure NGSI-LD 键值示例
692-
以下是 OSMLeisure 的 JSON-LD 格式键值示例。当使用 `options=keyValues` 时,它与 NGSI-LD 兼容,并返回单个实体的上下文数据。
693-
<details><summary><strong>显示/隐藏示例</strong></summary>
656+
```
657+
</details>
658+
#### OSMLeisure NGSI-LD 键值对示例
659+
这是一个 OSMLeisure 的 JSON-LD 格式键值对示例。当使用 `options=keyValues` 时,它与 NGSI-LD 兼容,并返回单个实体的上下文数据。
660+
<details><summary><strong>显示/隐藏示例</strong></summary>
694661
```json
695662
{
696663
"id": "urn:ngsi-ld:OSMLeisure:way:55667788",
@@ -740,11 +707,11 @@ OSMLeisure:
740707
"https://raw.githubusercontent.com/smart-data-models/dataModel.OpenStreetMap/refs/heads/master/context.jsonld"
741708
]
742709
}
743-
```
744-
</details>
745-
#### OSMLeisure NGSI-LD 规范化示例
746-
以下是 OSMLeisure 的 JSON-LD 格式规范化示例。当不使用选项时,它与 NGSI-LD 兼容,并返回单个实体的上下文数据。
747-
<details><summary><strong>显示/隐藏示例</strong></summary>
710+
```
711+
</details>
712+
#### OSMLeisure NGSI-LD 规范化示例
713+
这是一个 OSMLeisure 的 JSON-LD 格式规范化示例。当不使用选项时,它与 NGSI-LD 兼容,并返回单个实体的上下文数据。
714+
<details><summary><strong>显示/隐藏示例</strong></summary>
748715
```json
749716
{
750717
"id": "urn:ngsi-ld:OSMLeisure:way:55667788",
@@ -836,13 +803,13 @@ OSMLeisure:
836803
"https://raw.githubusercontent.com/smart-data-models/dataModel.OpenStreetMap/refs/heads/master/context.jsonld"
837804
]
838805
}
839-
```
840-
</details><!-- /80-Examples -->
841-
<!-- 90-FooterNotes -->
842-
<!-- /90-FooterNotes -->
843-
<!-- 95-Units -->
844-
有关如何处理数量单位的答案,请参阅 [FAQ 10](https://smartdatamodels.org/index.php/faqs/)
845-
<!-- /95-Units -->
846-
<!-- 97-LastFooter -->
847-
---
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 -->
814+
---
848815
[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter -->

0 commit comments

Comments
 (0)