{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grepr/json-schema/grepr-chat-list-schema.json",
  "title": "ChatList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/grepr-chats-api-openapi.yml#/components/schemas/ChatList",
  "properties": {
    "chats": {
      "items": {
        "$ref": "#/$defs/ChatSummary"
      },
      "type": "array"
    },
    "nextCursor": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "ChatSummary": {
      "properties": {
        "chatId": {
          "type": "string"
        },
        "createdAt": {
          "format": "date-time",
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "updatedAt": {
          "format": "date-time",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}