{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intruder/json-schema/intruder-paginated-comment-list-schema.json",
  "title": "PaginatedCommentList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/intruder-issues-api-openapi.yml#/components/schemas/PaginatedCommentList",
  "type": "object",
  "required": [
    "count",
    "results"
  ],
  "properties": {
    "count": {
      "type": "integer"
    },
    "next": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "previous": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Comment"
      }
    }
  },
  "$defs": {
    "Comment": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "readOnly": true
        },
        "content": {
          "type": "string",
          "readOnly": true
        },
        "commenter_type": {
          "allOf": [
            {
              "$ref": "#/$defs/CommenterTypeEnum"
            }
          ],
          "readOnly": true
        },
        "user": {
          "type": [
            "string",
            "null"
          ],
          "format": "email",
          "readOnly": true
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        },
        "edited_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "readOnly": true
        }
      },
      "required": [
        "commenter_type",
        "content",
        "created_at",
        "edited_at",
        "id",
        "user"
      ]
    },
    "CommenterTypeEnum": {
      "enum": [
        "user",
        "greg_ai"
      ],
      "type": "string",
      "description": "* `user` - USER\n* `greg_ai` - GREG_AI"
    }
  }
}