{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clusterhack-dev/json-schema/clusterhack-dev-paginated-titles-list-schema.json",
  "title": "PaginatedTitlesList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clusterhack-dev-article-titles-api-openapi.yml#/components/schemas/PaginatedTitlesList",
  "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/Titles"
      }
    }
  },
  "$defs": {
    "Titles": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "readOnly": true
        },
        "title": {
          "type": "string",
          "maxLength": 67
        },
        "slug": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 100,
              "pattern": "^[-a-zA-Z0-9_]+$"
            },
            {
              "type": "string",
              "maxLength": 0
            }
          ]
        }
      },
      "required": [
        "id",
        "title"
      ]
    }
  }
}