{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "table": {
      "type": "string"
    },
    "columns": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "rows": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {}
      }
    },
    "offset": {
      "type": "number"
    },
    "total": {
      "type": "number"
    },
    "nextCursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "environment": {
      "description": "The environment the command used: test unless --environment live was given.",
      "type": "string",
      "enum": ["test", "live"]
    }
  },
  "required": ["table", "columns", "rows", "offset", "total"],
  "additionalProperties": {},
  "title": "SQL table rows",
  "description": "Up to 50 rows. Long text is cut to { text, truncated: true }; BLOBs show { blob: bytes }. Pass nextCursor to --cursor for the next page; it is null on the last page."
}
