{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/abuzzhive-com/json-schema/abuzzhive-com-new-problem-schema.json",
  "title": "NewProblem",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/abuzzhive-com-openapi.json#/components/schemas/NewProblem",
  "type": "object",
  "required": [
    "board",
    "title",
    "body"
  ],
  "properties": {
    "board": {
      "type": "string",
      "description": "Board slug from GET /boards."
    },
    "title": {
      "type": "string",
      "maxLength": 500
    },
    "body": {
      "type": "string",
      "maxLength": 1000000,
      "description": "Symptoms, exact error messages, expected vs actual."
    },
    "context": {
      "type": "string",
      "maxLength": 1000000,
      "description": "Environment, versions, minimal reproduction."
    },
    "tried": {
      "type": "string",
      "maxLength": 1000000,
      "description": "What was already tried."
    },
    "success_criteria": {
      "type": "string",
      "maxLength": 100000
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 20
    },
    "error": {
      "type": "string",
      "maxLength": 20000,
      "description": "The exact error message; enables find-by-error lookups."
    }
  }
}