Skip to content

Latest commit

 

History

History
266 lines (209 loc) · 8.29 KB

File metadata and controls

266 lines (209 loc) · 8.29 KB

Smart Data Models

实体:航站区位置

开放许可

文件自动生成

全局描述:** 属性。机场航站楼的地理空间或地理政治位置。

版本: 0.0.1

属性列表

[*] 如果属性中没有类型,是因为它可能有多个类型或不同的格式/模式

  • AirportLocation[object]: 机场的地理空间或地缘政治位置。
    • Latitude[number]: 机场纬度坐标。
    • Longitude[number]: 机场经度坐标。
    • Name[string]: 机场位置的唯一名称。
    • Srid[integer]: 空间参照系统标识符(SRID),用于标识空间坐标系定义。
  • Name[string]: 终端区域位置的唯一名称。
  • id[*]: 实体的唯一标识符
  • type[string]: 它必须等于 TerminalAreaLocation。

所需属性

  • 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
TerminalAreaLocation:      
  description: Property. 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      
    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 TerminalAreaLocation.      
      enum:      
        - TerminalAreaLocation      
      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/TerminalAreaLocation/LICENSE.md      
  x-model-schema: https://smart-data-models.github.io/dataModel.ACRIS/TerminalAreaLocation/schema.json      
  x-model-tags: ACRIS      
  x-version: 0.0.1      

有效载荷示例

TerminalAreaLocation NGSI-v2 键值示例

下面是一个以 JSON-LD 格式作为键值的 TerminalAreaLocation 示例。当使用 options=keyValues 时,它与 NGSI-v2 兼容,并返回单个实体的上下文数据。

show/hide example
{  
  "id": "urn:ngsi-ld:TerminalAreaLocation:id:DRIT:21733898",  
  "type": "TerminalAreaLocation",  
  "Name": "East terminal",  
  "AirportLocation": {  
    "Latitude": 40.42,  
    "Longitude": 3.708,  
    "Name": "",  
    "Srid": 4326  
  }  
}  

终端区域位置 NGSI-v2 标准化示例

下面是一个规范化 JSON-LD 格式的 TerminalAreaLocation 示例。在不使用选项的情况下,它与 NGSI-v2 兼容,并返回单个实体的上下文数据。

show/hide example
{  
  "id": "urn:ngsi-ld:TerminalAreaLocation:id:BMIE:65800944",  
  "type": "TerminalAreaLocation",  
  "Name": {  
    "type": "Text",  
    "value": "East Terminal"  
  },  
  "AirportLocation": {  
    "type": "StructuredValue",  
    "value": {  
      "Latitude": 40.42,  
      "Longitude": 3.708,  
      "Name": "",  
      "Srid": 4326  
    }  
  }  
}  

TerminalAreaLocation NGSI-LD 键值示例

下面是一个以 JSON-LD 格式作为键值的 TerminalAreaLocation 示例。当使用 options=keyValues 时,它与 NGSI-LD 兼容,并返回单个实体的上下文数据。

show/hide example
{  
  "id": "urn:ngsi-ld:TerminalAreaLocation:id:DRIT:21733898",  
  "type": "TerminalAreaLocation",  
  "Name": "East terminal",  
  "AirportLocation": {  
    "Latitude": 40.42,  
    "Longitude": 3.708,  
    "Name": "",  
    "Srid": 4326  
  },  
  "@context": [  
    "https://raw.githubusercontent.com/smart-data-models/dataModel.ACRIS/master/context.jsonld"  
  ]  
}  

终端区域位置 NGSI-LD 标准化示例

下面是一个规范化 JSON-LD 格式的 TerminalAreaLocation 示例。当不使用选项时,它与 NGSI-LD 兼容,并返回单个实体的上下文数据。

show/hide example
{  
    "id": "urn:ngsi-ld:TerminalAreaLocation:id:BMIE:65800944",  
    "type": "TerminalAreaLocation",  
    "Name": {  
        "type": "Property",  
        "value": "East Terminal"  
    },  
    "AirportLocation": {  
        "type": "Property",  
        "value": {  
            "Latitude": 40.42,  
            "Longitude": 3.708,  
            "Name": "",  
            "Srid": 4326  
        }  
    },  
    "@context": [  
        "https://raw.githubusercontent.com/smart-data-models/dataModel.ACRIS/master/context.jsonld"  
    ]  
}  

请参阅 FAQ 10,获取如何处理幅度单位的答案。


Smart Data Models +++ Contribution Manual +++ About