{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-restincident-schema.json",
  "title": "RESTIncident",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-intelligence-api-openapi.yml#/components/schemas/RESTIncident",
  "properties": {
    "actionTaken": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "equation": {
      "$ref": "#/$defs/RESTIndicatorEquationNode",
      "type": "object"
    },
    "feedId": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "indicatorId": {
      "type": "string"
    },
    "indicatorName": {
      "type": "string"
    },
    "iteratorId": {
      "type": "string"
    },
    "links": {
      "$ref": "#/$defs/ILinks",
      "type": "object"
    },
    "llincident": {
      "$ref": "#/$defs/LLIncident",
      "type": "object"
    },
    "metadata": {
      "$ref": "#/$defs/IMetadata",
      "type": "object"
    },
    "name": {
      "type": "string"
    },
    "observations": {
      "items": {
        "$ref": "#/$defs/RESTObservation",
        "type": "object"
      },
      "type": "array"
    },
    "property": {
      "$ref": "#/$defs/RESTFeedProperty",
      "type": "object"
    },
    "realizedAt": {
      "format": "int32",
      "type": "integer"
    },
    "sourceName": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "updatedAt": {
      "format": "int32",
      "type": "integer"
    },
    "version": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "IDomain": {
      "properties": {
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "ILinks": {
      "description": "This defines the self referencing links for the given resource.",
      "properties": {
        "parent": {
          "description": "Full resource URL path to reference the parent (if any) for this resource.",
          "type": "string"
        },
        "self": {
          "description": "Full resource URL path to reference this particular resource.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "IMetadata": {
      "properties": {
        "domain": {
          "$ref": "#/$defs/IDomain",
          "type": "object"
        },
        "isLocked": {
          "type": "boolean"
        },
        "lastUser": {
          "$ref": "#/$defs/IMetadataUser",
          "type": "object"
        },
        "matches": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "readOnly": {
          "$ref": "#/$defs/IReadonly",
          "type": "object"
        },
        "timestamp": {
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "IMetadataUser": {
      "properties": {
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "IReadonly": {
      "properties": {
        "reason": {
          "enum": [
            "RBAC",
            "SYSTEM",
            "DOMAIN"
          ],
          "type": "string"
        },
        "state": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "LLEquationNode": {
      "properties": {
        "applyCondition": {
          "type": "string"
        },
        "children": {
          "items": {
            "$ref": "#/$defs/LLEquationNode",
            "type": "object"
          },
          "type": "array"
        },
        "condition": {
          "type": "string"
        },
        "isRealized": {
          "type": "boolean"
        },
        "op": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "LLFeedProperty": {
      "properties": {
        "action": {
          "type": "string"
        },
        "allowlist": {
          "type": "boolean"
        },
        "expirationTime": {
          "format": "int32",
          "type": "integer"
        },
        "publish": {
          "type": "boolean"
        },
        "tags": {
          "$ref": "#/$defs/LLTags",
          "type": "object"
        },
        "ttl": {
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "LLIncident": {
      "properties": {
        "actionTaken": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "equation": {
          "$ref": "#/$defs/LLEquationNode",
          "type": "object"
        },
        "feedId": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "indicatorId": {
          "type": "string"
        },
        "indicatorName": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "observations": {
          "items": {
            "$ref": "#/$defs/LLObservation",
            "type": "object"
          },
          "type": "array"
        },
        "property": {
          "$ref": "#/$defs/LLFeedProperty",
          "type": "object"
        },
        "publish": {
          "type": "boolean"
        },
        "realizedAt": {
          "format": "int32",
          "type": "integer"
        },
        "sourceName": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "updatedAt": {
          "format": "int32",
          "type": "integer"
        },
        "version": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "LLMiscData": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "LLObservation": {
      "properties": {
        "count": {
          "format": "int32",
          "type": "integer"
        },
        "data": {
          "$ref": "#/$defs/LLObservationData",
          "type": "object"
        },
        "elementId": {
          "type": "string"
        },
        "elementName": {
          "type": "string"
        },
        "timestamp": {
          "format": "int32",
          "type": "integer"
        },
        "type": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "LLObservationData": {
      "properties": {
        "actionTaken": {
          "type": "string"
        },
        "miscData": {
          "$ref": "#/$defs/LLMiscData",
          "type": "object"
        },
        "type": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "LLTags": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "RESTFeedProperty": {
      "properties": {
        "action": {
          "type": "string"
        },
        "allowlist": {
          "type": "boolean"
        },
        "expirationTime": {
          "format": "int32",
          "type": "integer"
        },
        "llfeedProperty": {
          "$ref": "#/$defs/LLFeedProperty",
          "type": "object"
        },
        "publish": {
          "type": "boolean"
        },
        "tags": {
          "$ref": "#/$defs/LLTags",
          "type": "object"
        },
        "ttl": {
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "RESTIndicatorEquationNode": {
      "properties": {
        "applyCondition": {
          "type": "string"
        },
        "children": {
          "items": {
            "$ref": "#/$defs/RESTIndicatorEquationNode",
            "type": "object"
          },
          "type": "array"
        },
        "condition": {
          "type": "string"
        },
        "isRealized": {
          "type": "boolean"
        },
        "item": {
          "$ref": "#/$defs/LLEquationNode",
          "type": "object"
        },
        "op": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "RESTObservation": {
      "properties": {
        "count": {
          "format": "int32",
          "type": "integer"
        },
        "data": {
          "$ref": "#/$defs/RESTObservationData",
          "type": "object"
        },
        "elementId": {
          "type": "string"
        },
        "elementName": {
          "type": "string"
        },
        "llobservation": {
          "$ref": "#/$defs/LLObservation",
          "type": "object"
        },
        "timestamp": {
          "format": "int32",
          "type": "integer"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "RESTObservationData": {
      "properties": {
        "actionTaken": {
          "type": "string"
        },
        "llobservationData": {
          "$ref": "#/$defs/LLObservationData",
          "type": "object"
        },
        "miscData": {
          "$ref": "#/$defs/LLMiscData",
          "type": "object"
        },
        "type": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}