mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-05-02 14:42:49 +03:00
90 lines
1.6 KiB
JSON
90 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"title": "RCP Client TX",
|
|
"type": "object",
|
|
"properties": {
|
|
"rcpc_welcome": {
|
|
"type": "object",
|
|
"properties": {
|
|
"module_descr": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"cmd_descr": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"help": {
|
|
"type": "string"
|
|
},
|
|
"args": {
|
|
"type": "array",
|
|
"items": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"spec": {
|
|
"type": "object",
|
|
"properties": {
|
|
"required" : {
|
|
"type": "boolean"
|
|
},
|
|
"help": {
|
|
"type": "string"
|
|
},
|
|
"action": {
|
|
"type": "string"
|
|
},
|
|
"pytype": {
|
|
"type": "string"
|
|
},
|
|
"default" : {
|
|
"type": ["string", "integer"]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"rcpc_instr": {
|
|
"type": "object",
|
|
"properties": {
|
|
"print": {
|
|
"type": "string"
|
|
},
|
|
"reset": {
|
|
"type": "null"
|
|
},
|
|
"c_apdu": {
|
|
"type": "string",
|
|
"pattern": "^[0-9,A-F]{0,512}$"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"rcpc_goodbye": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|