X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=code%2Fnetwork-generator%2Fmodel%2FjsonSchema%2Fconfiguration.schema.json;fp=code%2Fnetwork-generator%2Fmodel%2FjsonSchema%2Fconfiguration.schema.json;h=d1eae1d578d5e18a56c2617aeb930e062c23a91a;hb=e227899a5bf63fc5dfb6ff26b848bc5bbac4ccfe;hp=1e03a8f5b37d862efc7fbcc1c3370ab8b2654d4c;hpb=ac1ee96974203b526b2722210a3071bae836f6e6;p=oam.git diff --git a/code/network-generator/model/jsonSchema/configuration.schema.json b/code/network-generator/model/jsonSchema/configuration.schema.json index 1e03a8f..d1eae1d 100644 --- a/code/network-generator/model/jsonSchema/configuration.schema.json +++ b/code/network-generator/model/jsonSchema/configuration.schema.json @@ -16,7 +16,7 @@ "$ref": "#/$defs/network" }, "output-folder": { - "description":"The relative path (folder name only) of the directory, where the generated files are stored.", + "description": "The relative path (folder name only) of the directory, where the generated files are stored.", "type": "string" }, "generation-tasks": { @@ -30,6 +30,7 @@ "type": "object", "required": [ "name", + "center", "pattern" ], "additionalProperties": false, @@ -39,14 +40,49 @@ "type": "string", "pattern": "^[a-zA-Z]{1}[\\S]{0,254}$" }, + "center": { + "description": "Defines the geographical center of the Radio Access Network.", + "$ref": "#/$defs/geoLocation" + }, "pattern": { - "description": "A description of the relations between O-RAN functions.", + "description": "A description of the relations between O-RAN Objects.", "$ref": "#/$defs/pattern" } } }, + "geoLocation": { + "description": "Describes a geographical location.", + "title": "geoLocation", + "type": "object", + "required": [ + "latitude", + "longitude", + "aboveMeanSeaLevel" + ], + "additionalProperties": false, + "properties": { + "latitude": { + "description": "The latitude of the geographical location in decimal degrees. Please note 0.00001° is about 1.11m.", + "type": "number", + "minimum": -90, + "maximum": 90 + }, + "longitude": { + "description": "The longitude of the geographical location in decimal degrees. Please note 0.00001° is about 1.11m.", + "type": "number", + "minimum": -180, + "maximum": 180 + }, + "aboveMeanSeaLevel": { + "description": "The height of the geographical location in meters.", + "type": "number", + "minimum": -20, + "maximum": 1000 + } + } + }, "pattern": { - "description": "A description of the relations between O-RAN functions.", + "description": "A description of the relations between O-RAN Objects.", "title": "pattern", "type": "object", "required": [ @@ -216,7 +252,7 @@ } } }, - "generation-tasks":{ + "generation-tasks": { "title": "generation-tasks", "type": "object", "required": [