diff --git a/CheckpointAreaLocation/doc/spec_ZH.md b/CheckpointAreaLocation/doc/spec_ZH.md new file mode 100644 index 0000000..519b343 --- /dev/null +++ b/CheckpointAreaLocation/doc/spec_ZH.md @@ -0,0 +1,357 @@ + +[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org) + 实体:检查点区域位置 +========== + + [开放许可](https://github.com/smart-data-models//dataModel.ACRIS/blob/master/CheckpointAreaLocation/LICENSE.md) + [文件自动生成](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) + + + 全局描述:**属性。检查站的地理空间或地缘政治位置。 + 版本: 0.0.1 + + + + ## 属性列表 + + [*] 如果属性中没有类型,是因为它可能有多个类型或不同的格式/模式。 +- `AirportElevation[object]`: 机场海拔高度。 - `AirportElevationUnitOfMeasurement[object]`: 机场距海平面高度的计量单位(FT 表示英尺,M 表示米)。 + - `Name[string]`: 机场海拔高度的名称。 + - `Value[number]`: 机场海拔高度值。 +- `Latitude[number]`: 检查站区域位置的纬度坐标。 - `Longitude[number]`: 检查站区域位置的经度坐标。 - `Name[string]`: 检查站区域位置的地理空间或地理政治位置的唯一名称。 - `Srid[number]`: 空间参照系统标识符(SRID),用于标识空间坐标系定义 - `ZoneAreaLocation[object]`: 航站楼内排队区的地理空间或地理政治位置。 - `Name[string]`: 区域位置的唯一名称。 + - `TerminalAreaLocation[object]`: 机场航站楼的地理空间或地理政治位置。 +- `id[*]`: 实体的唯一标识符 - `type[string]`: 它必须等于 CheckpointAreaLocation。 + + 所需属性 +- `id` - `type` + + 该数据模型是国际机场协会 (ACI) ACRIS 数据接口标准的乘客等候时间标准 v1.6.0 的映射。可登录 https://acris.aero/static/documents/waittimes/ACI-Wait-Times-Standard-API-v1.6.0.12b34cd0213e.pdf 查阅。 + + + ## 属性的数据模型描述 + 按字母顺序排列(点击查看详情) + + +
full yaml details + ```yaml +CheckpointAreaLocation: + description: Property. The geospatial or geopolitical location of a Checkpoint. + properties: + AirportElevation: + description: 'The height of an Airport, above sea level.' + properties: + AirportElevationUnitOfMeasurement: + description: The unit of measure of the height of an Airport above sea level (FT for foot or M for metre). + properties: + Name: + description: The name of the unit of measure for an Airport elevation above sea level. + type: string + x-ngsi: + type: Property + type: object + x-ngsi: + type: Property + Name: + description: The name of an Airport elevation above sea level. + type: string + x-ngsi: + type: Property + Value: + description: The value of an Airport elevation above sea level. + type: number + x-ngsi: + type: Property + type: object + x-ngsi: + type: Property + Latitude: + description: Coordinate of the latitude of the checkpoint area location. + type: number + x-ngsi: + type: Property + Longitude: + description: Coordinate of the longitude of the checkpoint area location. + type: number + x-ngsi: + type: Property + Name: + description: Unique name for geospatial or geopolitical location of a Checkpoint Area Location. + type: string + x-ngsi: + type: Property + Srid: + description: 'A Spatial Reference System Identifier (SRID), to identify the spatial coordinate system definitions' + type: number + x-ngsi: + type: Property + ZoneAreaLocation: + description: The geospatial or geopolitical location of a Queuing Zone in a Terminal. + properties: + Name: + description: Unique name for the Zone Area Location. + type: string + x-ngsi: + type: Property + TerminalAreaLocation: + description: The geospatial or geopolitical location of an Airport Terminal building. + properties: + AirportLocation: + description: The geospatial or geopolitical location of an Airport. + properties: + Latitude: + description: Coordinate for latitude of the Airport. + type: number + x-ngsi: + type: Property + Longitude: + description: Coordinate for longitude of the Airport. + type: number + x-ngsi: + type: Property + Name: + description: Unique name for the Airport Location. + type: string + x-ngsi: + type: Property + Srid: + description: 'A Spatial Reference System Identifier (SRID), to identify the spatial coordinate system definitions.' + type: integer + x-ngsi: + type: Property + type: object + x-ngsi: + type: Property + Name: + description: Unique name for the Terminal Area Location. + type: string + x-ngsi: + type: Property + type: object + x-ngsi: + type: Property + type: object + x-ngsi: + type: Property + id: + anyOf: + - description: Identifier format of any NGSI entity + maxLength: 256 + minLength: 1 + pattern: ^[\w\-\.\{\}\$\+\*\[\]`|~^@!,:\\]+$ + type: string + x-ngsi: + type: Property + - description: Identifier format of any NGSI entity + format: uri + type: string + x-ngsi: + type: Property + description: Unique identifier of the entity + x-ngsi: + type: Property + type: + description: It must be equal to CheckpointAreaLocation. + enum: + - CheckpointAreaLocation + type: string + x-ngsi: + type: Property + required: + - id + - type + type: object + x-derived-from: https://acris.aero/static/documents/waittimes/ACI-Wait-Times-API-Specification-v1.6.0.1c4ec122da9a.yaml + x-disclaimer: 'Redistribution and use in source and binary forms, with or without modification, are permitted provided that the license conditions are met. Copyleft (c) 2022 Contributors to Smart Data Models Program' + x-license-url: https://github.com/smart-data-models/dataModel.ACRIS/blob/master/CheckpointAreaLocation/LICENSE.md + x-model-schema: https://smart-data-models.github.io/dataModel.ACRIS/CheckpointAreaLocation/schema.json + x-model-tags: ACRIS + x-version: 0.0.1 +``` +
+ + + + + ## 有效载荷示例 + #### CheckpointAreaLocation NGSI-v2 键值示例 + 下面是一个以 JSON-LD 格式作为键值的 CheckpointAreaLocation 示例。当使用 `options=keyValues` 时,它与 NGSI-v2 兼容,并返回单个实体的上下文数据。 +
show/hide example + ```json + { + "id": "urn:ngsi-ld:CheckpointAreaLocation:id:BLBC:14665623", + "type": "CheckpointAreaLocation", + "Latitude": 40.42, + "Longitude": 3.708, + "Name": "As since dream public analysis clear one. Federal skill term court.", + "Srid": 4326, + "AirportElevation": { + "Name": "", + "Value": 777.7, + "AirportElevationUnitOfMeasurement": { + "Name": "Meters" + } + }, + "ZoneAreaLocation": { + "Name": "", + "TerminalAreaLocation": { + "Name": "", + "AirportLocation": { + "Latitude": 40.42, + "Longitude": 3.708, + "Name": "Barajas", + "Srid": 4326 + } + } + } +} +``` +
+ #### CheckpointAreaLocation NGSI-v2 标准化示例 + 下面是一个检查点区域位置(CheckpointAreaLocation)JSON-LD 格式的规范化示例。在不使用选项的情况下,它与 NGSI-v2 兼容,并返回单个实体的上下文数据。 +
show/hide example + ```json + { + "id": "urn:ngsi-ld:CheckpointAreaLocation:id:KSRW:92816613", + "type": "CheckpointAreaLocation", + "Latitude": { + "type": "Number", + "value": 2.4 + }, + "Longitude": { + "type": "Number", + "value": 5.3 + }, + "Name": { + "type": "Text", + "value": "" + }, + "Srid": { + "type": "Number", + "value": 4326 + }, + "AirportElevation": { + "type": "StructuredValue", + "value": { + "Name": "", + "Value": 487.8, + "AirportElevationUnitOfMeasurement": { + "Name": "Meters" + } + } + }, + "ZoneAreaLocation": { + "type": "StructuredValue", + "value": { + "Name": "", + "TerminalAreaLocation": { + "Name": "Madrid", + "AirportLocation": { + "Latitude": 40.41, + "Longitude": 3.70, + "Name": "", + "Srid": 662 + } + } + } + } +} +``` +
+ #### CheckpointAreaLocation NGSI-LD 键值示例 + 下面是一个以 JSON-LD 格式作为键值的 CheckpointAreaLocation 示例。当使用 `options=keyValues` 时,它与 NGSI-LD 兼容,并返回单个实体的上下文数据。 +
show/hide example + ```json + { + "id": "urn:ngsi-ld:CheckpointAreaLocation:id:BLBC:14665623", + "type": "CheckpointAreaLocation", + "Latitude": 40.42, + "Longitude": 3.708, + "Name": "As since dream public analysis clear one. Federal skill term court.", + "Srid": 4326, + "AirportElevation": { + "Name": "", + "Value": 777.7, + "AirportElevationUnitOfMeasurement": { + "Name": "Meters" + } + }, + "ZoneAreaLocation": { + "Name": "", + "TerminalAreaLocation": { + "Name": "", + "AirportLocation": { + "Latitude": 40.42, + "Longitude": 3.708, + "Name": "Barajas", + "Srid": 4326 + } + } + }, + "@context": [ + "https://raw.githubusercontent.com/smart-data-models/dataModel.ACRIS/master/context.jsonld" + ] +} +``` +
+ #### 检查点区域位置 NGSI-LD 标准化示例 + 下面是一个检查点区域位置(CheckpointAreaLocation)的 JSON-LD 格式规范化示例。当不使用选项时,它与 NGSI-LD 兼容,并返回单个实体的上下文数据。 +
show/hide example + ```json + { + "id": "urn:ngsi-ld:CheckpointAreaLocation:id:KSRW:92816613", + "type": "CheckpointAreaLocation", + "Latitude": { + "type": "Property", + "value": 40.42 + }, + "Longitude": { + "type": "Property", + "value": 3.708 + }, + "Name": { + "type": "Property", + "value": "Madrid" + }, + "Srid": { + "type": "Property", + "value": 4326 + }, + "AirportElevation": { + "type": "Property", + "value": { + "Name": "", + "Value": 487.8, + "AirportElevationUnitOfMeasurement": { + "Name": "Meters" + } + } + }, + "ZoneAreaLocation": { + "type": "Property", + "value": { + "Name": "", + "TerminalAreaLocation": { + "Name": "Madrid", + "AirportLocation": { + "Latitude": 40.42, + "Longitude": 3.708, + "Name": "", + "Srid": 4326 + } + } + } + }, + "@context": [ + "https://raw.githubusercontent.com/smart-data-models/dataModel.ACRIS/master/context.jsonld" + ] +} +``` +
+ + + + 请参阅 [FAQ 10](https://smartdatamodels.org/index.php/faqs/),获取如何处理幅度单位的答案。 + + +--- + [Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)