{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clusterhack-dev/json-schema/clusterhack-dev-titles-schema.json",
  "title": "Titles",
  "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/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"
  ]
}