{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gunspec-io/json-schema/gunspec-io-category-schema.json",
  "title": "Category",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gunspec-io-categories-api-openapi.yml#/components/schemas/Category",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "URL-safe slug identifying the category, e.g. `pistol`."
    },
    "name": {
      "type": "string",
      "description": "Display name, as the maker writes it."
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Prose summary of the record, where one has been written."
    }
  }
}