Skip to content

Commit

Permalink
updated $schema last version
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoabellagarcia committed Sep 18, 2024
1 parent bac6cb1 commit 466cbca
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions Airline/schema.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
{
"$schema": "http://json-schema.org/schema#",
"$schemaVersion": "0.0.1",
"modelTags": "",
"$id": "https://smart-data-models.github.io/dataModel.Aeronautics/Airline/schema.json",
"title": "Smart Data models - Airline schema",
"description": "A description of a generic airline",
"type": "object",
"allOf": [
{
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons"
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schemaVersion": "0.0.1",
"modelTags": "",
"$id": "https://smart-data-models.github.io/dataModel.Aeronautics/Airline/schema.json",
"title": "Smart Data models - Airline schema",
"description": "A description of a generic airline",
"type": "object",
"allOf": [
{
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons"
},
{
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons"
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"Airline"
],
"description": "Property. NGSI Entity type. It has to be Airline"
},
{
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons"
"codeIATA": {
"type": "string",
"pattern": "^[A-Z0-9]{2}$",
"description": "Property. Model:'http://schema.org/Text'. IATA airline code"
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"Airline"
],
"description": "Property. NGSI Entity type. It has to be Airline"
},
"codeIATA": {
"type": "string",
"pattern": "^[A-Z0-9]{2}$",
"description": "Property. Model:'http://schema.org/Text'. IATA airline code"
},
"codeICAO": {
"type": "string",
"pattern": "^[A-Z]{3}",
"description": "Property. Model:'http://schema.org/Text'. ICAO airline code"
},
"callSign": {
"type": "string",
"description": "Property. Model:'http://schema.org/Text'. Airline identifier in radio communication"
}
}
"codeICAO": {
"type": "string",
"pattern": "^[A-Z]{3}",
"description": "Property. Model:'http://schema.org/Text'. ICAO airline code"
},
"callSign": {
"type": "string",
"description": "Property. Model:'http://schema.org/Text'. Airline identifier in radio communication"
}
],
"required": [
"id",
"type",
"name"
]
}
}
],
"required": [
"id",
"type",
"name"
]
}

0 comments on commit 466cbca

Please sign in to comment.