{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getoneprofile-ai/json-schema/getoneprofile-ai-chat-attachment-import-response-schema-schema.json",
  "title": "ChatAttachmentImportResponseSchema",
  "description": "The table an attached file is becoming.\n\nThe table exists when this returns; its rows are still arriving, loaded\nin the background from the file's own rows. ``row_count`` is how many\nwill land, which is the file's count clamped to the row ceiling, and the\nfile's own count stands beside it so a caller can say when the two differ\nrather than pass the smaller number off as the whole file.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getoneprofile-ai-assistant-api-openapi.yml#/components/schemas/ChatAttachmentImportResponseSchema",
  "properties": {
    "column_count": {
      "title": "Column Count",
      "type": "integer"
    },
    "file_row_count": {
      "description": "Rows in the file, as its attachment card counts them, less the header row named and the rows above it.",
      "title": "File Row Count",
      "type": "integer"
    },
    "import_id": {
      "description": "The import job loading the rows, for polling.",
      "format": "uuid",
      "title": "Import Id",
      "type": "string"
    },
    "limited_by": {
      "anyOf": [
        {
          "enum": [
            "plan",
            "deployment"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Whose ceiling it was: the plan's, which a bigger plan raises, or the deployment's, which none does. Null when nothing was cut.",
      "title": "Limited By"
    },
    "row_count": {
      "description": "Rows that will be added: the rows chosen, or the file's from the top.",
      "title": "Row Count",
      "type": "integer"
    },
    "row_limit": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "The ceiling that cut the file short, or null when every row is being added.",
      "title": "Row Limit"
    },
    "table_id": {
      "format": "uuid",
      "title": "Table Id",
      "type": "string"
    },
    "table_name": {
      "title": "Table Name",
      "type": "string"
    }
  },
  "required": [
    "table_id",
    "table_name",
    "import_id",
    "row_count",
    "file_row_count",
    "row_limit",
    "limited_by",
    "column_count"
  ],
  "type": "object"
}