{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getoneprofile-ai/json-schema/getoneprofile-ai-chat-attachment-rows-count-schema-schema.json",
  "title": "ChatAttachmentRowsCountSchema",
  "description": "How many rows a file's sheet has, with what the sheet says about itself.\n\nThe count of the rows ``GET …/rows/`` pages through, read the same way, and\nwhat a reader needs to read those rows: their column names, the sheet they\ncome from and the workbook's others, whether the header is only a title,\nand what reading the sheet had to do. The comments on no data row are a\nlist of their own, ``GET …/comments/``: a count holds values, never\nrecords.",
  "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/ChatAttachmentRowsCountSchema",
  "properties": {
    "columns": {
      "description": "The header row's names for the sheet read, one per cell of each row.",
      "items": {
        "type": "string"
      },
      "title": "Columns",
      "type": "array"
    },
    "comment_notes": {
      "description": "Why some of the sheet's cell comments could not be read: true of the rows whose `comments_unread` is true.",
      "items": {
        "type": "string"
      },
      "title": "Comment Notes",
      "type": "array"
    },
    "count": {
      "description": "Data rows in the whole sheet read.",
      "title": "Count",
      "type": "integer"
    },
    "header_is_title": {
      "description": "Whether the first row is a one-cell title over a wider table, so the column names, if any, are in one of the rows below; the import and the column read take that row's number as `header_row`.",
      "title": "Header Is Title",
      "type": "boolean"
    },
    "notes": {
      "description": "Sentences about what reading the sheet had to do.",
      "items": {
        "type": "string"
      },
      "title": "Notes",
      "type": "array"
    },
    "sheet": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "The workbook sheet read; null for a CSV or a PDF.",
      "title": "Sheet"
    },
    "sheet_names": {
      "description": "Every visible sheet of the workbook, in tab order; empty for a CSV or a PDF.",
      "items": {
        "type": "string"
      },
      "title": "Sheet Names",
      "type": "array"
    }
  },
  "required": [
    "count",
    "columns",
    "sheet",
    "sheet_names",
    "header_is_title",
    "notes",
    "comment_notes"
  ],
  "type": "object"
}