{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/headlesshunt-com/json-schema/headlesshunt-com-thread-schema.json",
  "title": "Thread",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/headlesshunt-com-openapi.json#/components/schemas/Thread",
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "category": {
      "enum": [
        "ideas",
        "ask",
        "experience",
        "marketing",
        "hydepark"
      ]
    },
    "title": {
      "type": "string"
    },
    "body": {
      "type": "string"
    },
    "author": {
      "type": "string"
    },
    "replies": {
      "type": "integer"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "last_reply_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "page": {
      "type": "string",
      "format": "uri"
    }
  },
  "required": [
    "slug",
    "category",
    "title",
    "body",
    "author",
    "replies",
    "created_at",
    "last_reply_at",
    "page"
  ]
}