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 763d745 commit 660a4e7
Showing 1 changed file with 249 additions and 0 deletions.
249 changes: 249 additions & 0 deletions CheckpointFacility/model.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,249 @@
CheckpointFacility:
description: 'Property. Information about a Checkpoint in an Airport used to provide services. A Checkpoint facility is any facility where customers and passengers turn up and need to be processed, serviced or screened before proceeding to the next stage of their journey. '
properties:
CheckpointAreaLocation:
description: 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: integer
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: number
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
type: object
x-ngsi:
type: Property
CheckpointFacilityOperatorParty:
description: Information that describes the Party responsible for the operation of a Checkpoint in an Airport.
properties:
Name:
description: Unique name of the Operator Party for the Checkpoint Facility.
type: string
x-ngsi:
type: Property
type: object
x-ngsi:
type: Property
CheckpointFacilityType:
description: 'Information that describes the classification for a Checkpoint in an Airport. Values are: Security Screening, Customs.'
properties:
Code:
description: Unique code for the Checkpoint Facility Type.
type: string
x-ngsi:
type: Property
Description:
description: Description of the Checkpoint Facility Type.
type: string
x-ngsi:
type: Property
type: object
x-ngsi:
type: Property
ConcourseFacility:
description: Information about an Airport Concourse as buildings or infrastructure used to provide services.
properties:
Identifier:
description: Unique identifier for the Concourse Facility.
type: string
x-ngsi:
type: Property
Name:
description: Unique name for the Concourse Facility.
type: string
x-ngsi:
type: Property
TerminalFacility:
description: Information about an Airport Terminal as buildings or infrastructure used to provide services.
properties:
AirportFacility:
description: Information about an Airport as buildings or infrastructure used to provide services.
properties:
IataCode:
description: Three character IATA code for the Airport.
type: string
x-ngsi:
type: Property
IcaoCode:
description: Four character ICAO code for the Airport.
type: string
x-ngsi:
type: Property
Name:
description: Common name of the Airport.
type: string
x-ngsi:
type: Property
type: object
x-ngsi:
type: Property
Identifier:
description: Unique identifier for the Terminal Facility.
type: string
x-ngsi:
type: Property
Name:
description: Unique name for the Terminal Facility.
type: string
x-ngsi:
type: Property
type: object
x-ngsi:
type: Property
type: object
x-ngsi:
type: Property
Description:
description: Description of the Checkpoint Facility.
type: string
x-ngsi:
type: Property
Identifier:
description: Unique identifier for the Checkpoint Facility. The identifier should be unique within an Airport.
type: string
x-ngsi:
type: Property
Name:
description: Unique name for the Checkpoint Facility. The name should be unique within an Airport.
type: string
x-ngsi:
type: Property
OperationTimePeriod:
description: The time period over which the Checkpoint is operating.
properties:
ClosingTime:
description: 'The date and time from when the Checkpoint Facility is closed. Date time should be UTC, compliant with ISO 8601 format (e.g. 2023-04-20T11:54:59Z)'
type: string
x-ngsi:
type: Property
OpeningTime:
description: 'The date and time from when the Checkpoint Facility is open. Date time should be UTC, compliant with ISO 8601 format (e.g. 2023-04-20T11:54:59Z)'
type: string
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 CheckpointFacility.
enum:
- CheckpointFacility
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/CheckpointFacility/LICENSE.md
x-model-schema: https://smart-data-models.github.io/dataModel.ACRIS/CheckpointFacility/schema.json
x-model-tags: ACRIS
x-version: 0.0.1

0 comments on commit 660a4e7

Please sign in to comment.