{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-voice-portal/json-schema/cisco-voice-portal-system-config-schema.json",
  "title": "SystemConfig",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-voice-portal-system-configuration-api-openapi.yml#/components/schemas/SystemConfig",
  "type": "object",
  "properties": {
    "logging": {
      "type": "object",
      "properties": {
        "globalLogLevel": {
          "type": "string",
          "enum": [
            "ERROR",
            "WARN",
            "INFO",
            "DEBUG",
            "TRACE"
          ]
        },
        "syslogServer": {
          "type": "string"
        },
        "syslogPort": {
          "type": "integer",
          "default": 514
        }
      }
    },
    "security": {
      "type": "object",
      "properties": {
        "enableTls": {
          "type": "boolean",
          "default": true
        },
        "tlsVersion": {
          "type": "string",
          "default": "TLSv1.2"
        },
        "sessionTimeout": {
          "type": "integer",
          "description": "Session timeout in minutes",
          "default": 30
        },
        "passwordPolicy": {
          "type": "object",
          "properties": {
            "minLength": {
              "type": "integer",
              "default": 8
            },
            "requireUppercase": {
              "type": "boolean",
              "default": true
            },
            "requireSpecialChar": {
              "type": "boolean",
              "default": true
            },
            "maxAge": {
              "type": "integer",
              "description": "Password max age in days"
            }
          }
        }
      }
    },
    "snmp": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "default": false
        },
        "communityString": {
          "type": "string"
        },
        "trapDestination": {
          "type": "string"
        }
      }
    }
  }
}