To read the parameter property.

Request

{
      "$schema": "http://json-schema.org/draft-07/schema#",
      "title": "prop - request",
      "type": "object",
      "properties": {
        "param": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[a-z_][a-z0-9_]*$"
          }
        }
      },
      "required": [
        "param"
      ],
      "additionalProperties": false
}

Meaning of json items:


- request for reading values of specific parameters:
{
    "param": [				// request for reading values of specific parameters
        "sntp_enable",
        "sntp_server",
        "sntp_timeout",
        "sntp_period",
        "def_fw_version",
        "test_wr_only_param",
        "device_restart"
    ]
}
//OR
{							 // request for reading values for all existing parameters (empty array):
   "param": []					
}

Response

{
      "$schema": "http://json-schema.org/draft-07/schema#",
      "title": "prop - response",
      "type": "object",
      "properties": {
        "status": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "minLength": 1,
            "pattern": "^[a-z_][a-z0-9_]*$"
          }
        },
        "prop": {
          "type": "object",
          "additionalProperties": {
            "type": "object",
            "pattern": "^[a-z_][a-z0-9_]*$",
            "properties": {
              "type": {
              "type": "string"
              },
              "size": {
              "type": "number"
              },
              "access": {
              "type": "string"
              },
              "enum": {
                "type": "array",
                "minItems": 2,
                "items": {
                  "type": "object",
                  "properties": {
                      "ident": {
                      "type": "string"
                    },
                    "value": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "ident",
                    "value"
                  ]
                }
              }
            },
            "restartRequired": {
              "type": "boolean"
            },
            "required": [
              "type", "access"
            ]
          }
        }
      },
      "required": [
        "prop"
      ],
      "additionalProperties": false
}

Meaning of json items:

{
      "status": {
        "sntp_timeout": "undefined",
      },
      "prop":{
        "sntp_enable":{
          "type": "short",
          "access": "rw",
          "enum": [
            { "ident": "no",  "value": 0 },
            { "ident": "yes", "value": 1 }
          ]
          "restartRequired": true
        },
        "sntp_server":{
          "type": "string",
          "size": 254,
          "access": "rw",
          "restartRequired": true,
          "regex": "^((?!-)[0-9A-Za-z-]{1,63}(?<!-)\\.)+[A-Za-z]{2,6}$"
        },
        "sntp_period":{
          "type": "integer",
          "access": "rw",
          "minValue": 1,
          "maxValue": 24
        },
        "dev_fw_version":{
          "type": "string",
          "access": "r"
        },
        "test_wr_only_param":{
          "type": "integer",
          "access": "w"
        },
        "do_adm_restart":{
          "type": "action",
          "access": ""
        },
        "firmware":{
          "type": "file",
          "access": "w"
        },
        "configuration":{
          "type": "file",
          "access": "rw"
        }
      }
}