{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/opentext-cybersecurity/main/json-schema/opentext-cybersecurity-audit-template-list-response-schema.json",
  "title": "AuditTemplateListResponse",
  "description": "Generic List Response",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opentext-cybersecurity-audittemplate-api-openapi.yml#/components/schemas/AuditTemplateListResponse",
  "type": "object",
  "properties": {
    "items": {
      "description": "The list of items",
      "type": "array",
      "items": {
        "$ref": "#/$defs/AuditTemplate"
      }
    },
    "totalCount": {
      "format": "int32",
      "description": "Total count of items",
      "type": "integer"
    },
    "offset": {
      "format": "int32",
      "description": "Offset of the starting record. 0 indicates the first record.",
      "type": "integer"
    },
    "limit": {
      "format": "int32",
      "description": "Maximum records to return.",
      "type": "integer"
    }
  },
  "$defs": {
    "AuditTemplate": {
      "type": "object",
      "properties": {
        "applicationId": {
          "format": "int32",
          "type": "integer"
        },
        "scanType": {
          "type": "string"
        },
        "scanTypeId": {
          "format": "int32",
          "type": "integer"
        },
        "conditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AuditTemplateCondition"
          }
        },
        "action": {
          "$ref": "#/$defs/AuditTemplateAction"
        }
      }
    },
    "AuditTemplateAction": {
      "type": "object",
      "properties": {
        "actionType": {
          "type": "string"
        },
        "severity": {
          "type": "string"
        },
        "severityId": {
          "format": "int32",
          "type": "integer"
        },
        "suppressedStatus": {
          "type": "string"
        }
      }
    },
    "AuditTemplateCondition": {
      "type": "object",
      "properties": {
        "field": {
          "type": "string"
        },
        "conditionType": {
          "type": "string"
        },
        "fieldValue": {
          "type": "string"
        },
        "operationType": {
          "type": "string"
        }
      }
    }
  }
}