{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-crosswork/json-schema/cisco-crosswork-server-resource-import-response-schema.json",
  "title": "server.ResourceImportResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-crosswork-resources-api-openapi.yml#/components/schemas/server.ResourceImportResponse",
  "type": "object",
  "properties": {
    "errors": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "failure": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "isDryRun": {
      "type": "boolean"
    },
    "isOverride": {
      "type": "boolean"
    },
    "success": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/validator.Resource"
      }
    }
  },
  "$defs": {
    "validator.Resource": {
      "type": "object",
      "properties": {
        "resource": {
          "type": "object"
        },
        "resourceId": {
          "type": "string"
        },
        "resourceTypeId": {
          "type": "string"
        },
        "secretId": {
          "type": "string"
        }
      }
    }
  }
}