{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/webex/json-schema/webex-device-configuration-collection-response-schema.json",
  "title": "DeviceConfigurationCollectionResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-device-configurations-api-openapi.yml#/components/schemas/DeviceConfigurationCollectionResponse",
  "type": "object",
  "required": [
    "deviceId"
  ],
  "properties": {
    "deviceId": {
      "type": "string",
      "description": "ID of the device that the configurations are for."
    },
    "items": {
      "$ref": "#/$defs/DeviceConfiguration"
    }
  },
  "$defs": {
    "DeviceConfiguration": {
      "type": "object",
      "properties": {
        "configuration_key": {
          "type": "object",
          "properties": {
            "source": {
              "type": "string",
              "enum": [
                "default",
                "configured"
              ],
              "description": "The source of the current value that is applied to the device.\n * `default` - Current value comes from the schema default.\n * `configured` - Current value comes from configuredValue.\n"
            },
            "sources": {
              "type": "object",
              "properties": {
                "default": {
                  "type": "object",
                  "properties": {
                    "editability": {
                      "type": "object",
                      "properties": {
                        "isEditable": {
                          "type": "boolean",
                          "description": "Whether or not the value is editable on this source (always `false` for `default`)."
                        },
                        "reason": {
                          "type": "string",
                          "description": "The reason value is not editable on this source (always `FACTORY_DEFAULT` for `default`)."
                        }
                      }
                    }
                  }
                },
                "configured": {
                  "type": "object",
                  "properties": {
                    "editability": {
                      "type": "object",
                      "properties": {
                        "isEditable": {
                          "type": "boolean",
                          "description": "Whether or not the value is editable on this source."
                        },
                        "reason": {
                          "type": "string",
                          "enum": [
                            "NOT_AUTHORIZED",
                            "CONFIG_MANAGED_BY_DIFFERENT_AUTHORITY"
                          ],
                          "description": "The reason the value is not editable on this source.\n * `NOT_AUTHORIZED` - User is not authorized to edit any values.\n * `CONFIG_MANAGED_BY_DIFFERENT_AUTHORITY` - The configuration is managed by a different authority. For example `CUCM`.\n"
                        }
                      }
                    }
                  }
                }
              }
            },
            "valueSpace": {
              "type": "object",
              "properties": {},
              "description": "[JSON Schema](http://json-schema.org/) describing the data format of the configuration as specified by the device."
            }
          },
          "description": "Key of the configuration."
        }
      }
    }
  }
}