{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/repowise-dev/json-schema/repowise-dev-external-system-importing-files-response-schema.json",
  "title": "ExternalSystemImportingFilesResponse",
  "description": "One independently bounded page of files behind an aggregate node.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/repowise-dev-external-systems-api-openapi.yml#/components/schemas/ExternalSystemImportingFilesResponse",
  "properties": {
    "package_key": {
      "type": "string",
      "title": "Package Key"
    },
    "aggregate_key": {
      "type": "string",
      "title": "Aggregate Key"
    },
    "items": {
      "items": {
        "$ref": "#/$defs/ExternalSystemImportingFile"
      },
      "type": "array",
      "title": "Items"
    },
    "total": {
      "type": "integer",
      "title": "Total"
    },
    "returned": {
      "type": "integer",
      "title": "Returned"
    },
    "limit": {
      "type": "integer",
      "title": "Limit"
    },
    "offset": {
      "type": "integer",
      "title": "Offset"
    },
    "truncated": {
      "type": "boolean",
      "title": "Truncated"
    },
    "scope": {
      "type": "string",
      "enum": [
        "primary",
        "all"
      ],
      "title": "Scope"
    }
  },
  "type": "object",
  "required": [
    "package_key",
    "aggregate_key",
    "items",
    "total",
    "returned",
    "limit",
    "offset",
    "truncated",
    "scope"
  ],
  "$defs": {
    "ExternalSystemImportingFile": {
      "properties": {
        "path": {
          "type": "string",
          "title": "Path"
        },
        "language": {
          "type": "string",
          "title": "Language"
        },
        "import_edge_count": {
          "type": "integer",
          "title": "Import Edge Count"
        },
        "matched_external_node_count": {
          "type": "integer",
          "title": "Matched External Node Count"
        }
      },
      "type": "object",
      "required": [
        "path",
        "language",
        "import_edge_count",
        "matched_external_node_count"
      ],
      "title": "ExternalSystemImportingFile"
    }
  }
}