Commit 2b8435c8 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 1d1be5fa
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "UE. Common properties",
"type": "object",
"required": [
"ue_type",
"rue_addr"
],
"properties": {
"$ref": "../sim/input-schema.json#/properties",
"ue_type": {
"type": "string",
"options": { "hidden": true }
},
"rue_addr": {
"title": "[Required] Remote UE address",
"description": "[Required] Address of remote UE server. Default port is 2152.",
"type": "string",
"default": ""
},
"imsi": {
"$ref": "../sim/input-schema.json#/properties/imsi",
"default": "001010123456789"
},
"k": {
"$ref": "../sim/input-schema.json#/properties/k",
"default": "00112233445566778899aabbccddeeff"
},
"sim_algo": {
"$ref": "../sim/input-schema.json#/properties/sim_algo",
"description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm."
},
"opc": {
"$ref": "../sim/input-schema.json#/properties/opc",
"default": "milenage"
}
}
}
...@@ -6,37 +6,5 @@ ...@@ -6,37 +6,5 @@
"oneOf": [ "oneOf": [
{ "$ref": "../ue/lte/input-schema.json" }, { "$ref": "../ue/lte/input-schema.json" },
{ "$ref": "../ue/nr/input-schema.json" } { "$ref": "../ue/nr/input-schema.json" }
], ]
"$defs": {
"ue-common": {
"$ref": "../sim/input-schema.json",
"required": [
"ue_type",
"rue_addr"
],
"properties": {
"ue_type": {
"type": "string",
"options": { "hidden": true }
},
"rue_addr": {
"title": "[Required] Remote UE address",
"description": "[Required] Address of remote UE server. Default port is 2152.",
"type": "string",
"default": ""
},
"imsi": { "default": "001010123456789" },
"k": { "default": "00112233445566778899aabbccddeeff" },
"sim_algo": {
"description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm."
},
"opc": { "default": "milenage" }
}
}
}
} }
...@@ -3,10 +3,12 @@ ...@@ -3,10 +3,12 @@
"title": "LTE UE", "title": "LTE UE",
"type": "object", "type": "object",
"$ref": "../../ue/input-schema.json#/$defs/ue-common",
"properties": { "properties": {
"$ref": "../../ue/common.json#/properties",
"ue_type": { "ue_type": {
"$ref": "#/properties/ue_type",
"const": "lte", "const": "lte",
"template": "lte" "template": "lte"
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment