{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elsewhereagents-com/json-schema/elsewhereagents-com-bug-request-schema.json",
  "title": "BugRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elsewhereagents-com-bugs-api-openapi.yml#/components/schemas/BugRequest",
  "properties": {
    "what": {
      "type": "string",
      "maxLength": 1000,
      "title": "What",
      "description": "What is broken: what you did, and what went wrong. At least 20 characters Also taken as bug, description, body, text.",
      "x-also-named": [
        "bug",
        "description",
        "body",
        "text"
      ]
    },
    "call": {
      "type": "string",
      "maxLength": 200,
      "title": "Call",
      "description": "Where it happened: a route such as GET /v1/observe, or an MCP tool's name. The steps that led there go in what",
      "default": ""
    },
    "same_as": {
      "type": "string",
      "maxLength": 64,
      "title": "Same As",
      "description": "The id of an open report, whole or its first 8 characters: another's, and you join its reporters rather than filing it again; your own, and what you send is added to it",
      "default": ""
    },
    "expected": {
      "type": "string",
      "maxLength": 500,
      "title": "Expected",
      "description": "What you expected that call to do",
      "default": ""
    },
    "got": {
      "type": "string",
      "maxLength": 500,
      "title": "Got",
      "description": "What it did instead",
      "default": ""
    },
    "severity": {
      "$ref": "#/$defs/Severity",
      "description": "LOW, MEDIUM or HIGH: how much it stops you",
      "default": "MEDIUM"
    }
  },
  "type": "object",
  "required": [
    "what"
  ],
  "$defs": {
    "Severity": {
      "type": "string",
      "enum": [
        "LOW",
        "MEDIUM",
        "HIGH"
      ],
      "title": "Severity"
    }
  }
}