{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/main/json-schema/palo-alto-networks-catalog-config-schema.json",
  "title": "CatalogConfig",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-catalog-api-openapi.yml#/components/schemas/CatalogConfig",
  "properties": {
    "__metadata": {
      "additionalProperties": {
        "type": "object"
      },
      "properties": {
        "empty": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "category": {
      "type": "string"
    },
    "common_control": {
      "type": "string"
    },
    "console_url": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "description_url": {
      "type": "string"
    },
    "enabled": {
      "type": "boolean"
    },
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "native_category": {
      "type": "string"
    },
    "native_name": {
      "type": "string"
    },
    "operator": {
      "$ref": "#/$defs/CatalogConfigOperator"
    },
    "optional": {
      "type": "boolean"
    },
    "remediation": {
      "$ref": "#/$defs/RemediationConfig"
    },
    "remediation_steps": {
      "type": "string"
    },
    "severity": {
      "type": "string"
    },
    "value": {
      "$ref": "#/$defs/ConfigValue"
    }
  },
  "type": "object",
  "$defs": {
    "CatalogConfigOperator": {
      "properties": {
        "displayValue": {
          "type": "string"
        },
        "operator": {
          "enum": [
            "equal",
            "not_equal",
            "substring",
            "not_substring",
            "greater",
            "greater_or_equal",
            "less",
            "less_or_equal",
            "one_of",
            "not_one_of",
            "in_range",
            "not_in_range"
          ],
          "type": "string"
        },
        "valueType": {
          "enum": [
            "int",
            "double",
            "string",
            "bool"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "ConfigValue": {
      "properties": {
        "choices": {
          "type": "string"
        },
        "default_value": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "RemediationConfig": {
      "properties": {
        "auto_fix": {
          "type": "boolean"
        },
        "guide_footer": {
          "type": "string"
        },
        "guide_header": {
          "type": "string"
        },
        "guide_steps": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "remediation_value": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}