Skip to content

Commit

Permalink
updated model.yaml - support subproperties
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoabellagarcia committed Oct 5, 2023
1 parent af3b4e3 commit 23dfa8a
Showing 1 changed file with 132 additions and 0 deletions.
132 changes: 132 additions & 0 deletions CheckpointAreaLocation/model.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
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

0 comments on commit 23dfa8a

Please sign in to comment.