{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ktozvonil-net/json-schema/ktozvonil-net-comment-page-schema.json",
  "title": "CommentPage",
  "x-generated": "2026-11-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ktozvonil-net-openapi.json#/components/schemas/CommentPage",
  "type": "object",
  "required": [
    "page",
    "items"
  ],
  "properties": {
    "page": {
      "type": "integer"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CommentItem"
      }
    }
  },
  "$defs": {
    "CommentItem": {
      "type": "object",
      "required": [
        "id",
        "number",
        "text"
      ],
      "properties": {
        "id": {
          "type": "integer"
        },
        "number": {
          "type": "string"
        },
        "pretty": {
          "type": "string"
        },
        "text": {
          "type": "string"
        },
        "type": {
          "type": "integer"
        },
        "type_name": {
          "type": "string"
        },
        "date": {
          "type": "string"
        },
        "author_hash": {
          "type": "string"
        }
      }
    }
  }
}