Skip to content

Latest commit

 

History

History
227 lines (170 loc) · 7.75 KB

File metadata and controls

227 lines (170 loc) · 7.75 KB

Smart Data Models

Entität: OperationTimePeriod

Offene Lizenz

Dokument automatisch generiert

Globale Beschreibung: Eigenschaft. Der Zeitraum, in dem der Checkpoint in Betrieb ist.

Version: 0.0.1

Liste der Eigenschaften

[*] Wenn es für ein Attribut keinen Typ gibt, kann es mehrere Typen oder verschiedene Formate/Muster haben.

  • ClosingTime[string]: Das Datum und die Uhrzeit, ab der die Checkpoint-Einrichtung geschlossen ist. Die Datumszeit sollte UTC sein und dem ISO 8601-Format entsprechen (z. B. 2023-04-20T11:54:59Z).
  • OpeningTime[string]: Das Datum und die Uhrzeit, ab der die Checkpoint-Einrichtung geöffnet ist. Die Datumszeit sollte UTC sein und dem ISO 8601-Format entsprechen (z. B. 2023-04-20T11:54:59Z).
  • id[*]: Eindeutiger Bezeichner der Entität
  • type[string]: Sie muss gleich der OperationTimePeriod sein.

Erforderliche Eigenschaften

  • id
  • type

Dieses Datenmodell ist ein Mapping des Passenger Wait Times Standard v1.6.0 des ACRIS-Datenschnittstellenstandards des Airports Council International (ACI). Verfügbar unter https://acris.aero/static/documents/waittimes/ACI-Wait-Times-Standard-API-v1.6.0.12b34cd0213e.pdf

Datenmodell Beschreibung der Eigenschaften

Alphabetisch sortiert (für Details anklicken)

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

Beispiel-Nutzlasten

OperationTimePeriod NGSI-v2 key-values Beispiel

Hier ist ein Beispiel für eine OperationTimePeriod im JSON-LD-Format als Key-Values. Dies ist kompatibel mit NGSI-v2, wenn options=keyValues verwendet wird und liefert die Kontextdaten einer einzelnen Entität.

show/hide example
{  
  "id": "urn:ngsi-ld:OperationTimePeriod:id:XCIN:24494142",  
  "type": "OperationTimePeriod",  
  "ClosingTime": "23:59:02Z",  
  "OpeningTime": "00:00:00Z"  
}  

OperationTimePeriod NGSI-v2 normalized Beispiel

Hier ist ein Beispiel für eine OperationTimePeriod im JSON-LD-Format in normalisierter Form. Dies ist kompatibel mit NGSI-v2, wenn keine Optionen verwendet werden, und liefert die Kontextdaten einer einzelnen Entität.

show/hide example
{  
  "id": "urn:ngsi-ld:OperationTimePeriod:id:BCTN:53140922",  
  "type": "OperationTimePeriod",  
  "ClosingTime": {  
    "type": "DateTime",  
    "value": "23:59:02Z"  
  },  
  "OpeningTime": {  
    "type": "DateTime",  
    "value": "00:00:02Z"  
  }  
}  

OperationTimePeriod NGSI-LD key-values Beispiel

Hier ist ein Beispiel für eine OperationTimePeriod im JSON-LD-Format als Key-Values. Dies ist mit NGSI-LD kompatibel, wenn options=keyValues verwendet wird und liefert die Kontextdaten einer einzelnen Entität.

show/hide example
{  
  "id": "urn:ngsi-ld:OperationTimePeriod:id:XCIN:24494142",  
  "type": "OperationTimePeriod",  
  "ClosingTime": "23:59:02Z",  
  "OpeningTime": "00:00:00Z",  
  "@context": [  
    "https://raw.githubusercontent.com/smart-data-models/dataModel.ACRIS/master/context.jsonld"  
  ]  
}  

OperationTimePeriod NGSI-LD normalized Beispiel

Hier ist ein Beispiel für eine OperationTimePeriod im JSON-LD-Format in normalisierter Form. Dies ist kompatibel mit NGSI-LD, wenn keine Optionen verwendet werden, und liefert die Kontextdaten einer einzelnen Entität.

show/hide example
{  
  "id": "urn:ngsi-ld:OperationTimePeriod:id:BCTN:53140922",  
  "type": "OperationTimePeriod",  
  "ClosingTime": {  
    "type": "Property",  
    "value": {  
      "@type": "date-time",  
      "@value": "23:59:02Z"  
    }  
  },  
  "OpeningTime": {  
    "type": "Property",  
    "value": {  
      "@type": "date-time",  
      "@value": "00:00:02Z"  
    }  
  },  
  "@context": [  
    "https://raw.githubusercontent.com/smart-data-models/dataModel.ACRIS/master/context.jsonld"  
  ]  
}  

Siehe [FAQ 10] (https://smartdatamodels.org/index.php/faqs/), um eine Antwort auf die Frage zu erhalten, wie man mit Größeneinheiten umgeht


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