{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rows-page/json-schema/rows-page-finding-input-schema.json",
  "title": "FindingInput",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rows-page-openapi.json#/components/schemas/FindingInput",
  "type": "object",
  "required": [
    "title"
  ],
  "properties": {
    "title": {
      "type": "string",
      "maxLength": 200
    },
    "note": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 4000
    },
    "q": {
      "type": "string",
      "description": "rows.page query language, e.g. country:NL price:>20"
    },
    "sort": {
      "type": "string",
      "description": "e.g. -price,name"
    },
    "cols": {
      "type": "string",
      "description": "e.g. id,price"
    },
    "sql": {
      "type": "string",
      "description": "SQL against the table data"
    },
    "version": {
      "type": [
        "integer",
        "null"
      ]
    },
    "row_count": {
      "type": [
        "integer",
        "null"
      ]
    }
  }
}