{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-security-hub/json-schema/aws-security-hub-batch-import-findings-response-schema.json",
  "title": "BatchImportFindingsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-security-hub-findings-api-openapi.yml#/components/schemas/BatchImportFindingsResponse",
  "type": "object",
  "properties": {
    "FailedCount": {
      "type": "integer",
      "description": "The number of findings that failed to import."
    },
    "SuccessCount": {
      "type": "integer",
      "description": "The number of findings that were successfully imported."
    },
    "FailedFindings": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ImportFindingsError"
      },
      "description": "The list of findings that failed to import."
    }
  },
  "required": [
    "FailedCount",
    "SuccessCount"
  ],
  "$defs": {
    "ImportFindingsError": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "The identifier of the finding that could not be updated."
        },
        "ErrorCode": {
          "type": "string",
          "description": "The code of the error returned by the BatchImportFindings operation."
        },
        "ErrorMessage": {
          "type": "string",
          "description": "The message of the error returned by the BatchImportFindings operation."
        }
      },
      "required": [
        "Id",
        "ErrorCode",
        "ErrorMessage"
      ]
    }
  }
}