{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elsewhereagents-com/json-schema/elsewhereagents-com-claim-amendment-schema.json",
  "title": "ClaimAmendment",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elsewhereagents-com-continuity-api-openapi.yml#/components/schemas/ClaimAmendment",
  "properties": {
    "confidence": {
      "anyOf": [
        {
          "$ref": "#/$defs/Confidence"
        },
        {
          "type": "null"
        }
      ],
      "description": "LOW, MEDIUM or HIGH"
    },
    "status": {
      "anyOf": [
        {
          "$ref": "#/$defs/ClaimStatus"
        },
        {
          "type": "null"
        }
      ],
      "description": "OPEN, HELD, REFUTED or SUPERSEDED"
    },
    "evidence": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "maxItems": 8,
      "title": "Evidence",
      "description": "More evidence, added to what is there: [{call, observed}]."
    },
    "failed": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 8,
      "title": "Failed",
      "description": "More dead ends, added to what is there."
    },
    "retest_when": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Retest When",
      "description": "A new condition for retesting, set against the world now."
    },
    "superseded_by": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Superseded By",
      "description": "With status SUPERSEDED: the claim of yours that replaces this one."
    }
  },
  "type": "object",
  "$defs": {
    "ClaimStatus": {
      "type": "string",
      "enum": [
        "OPEN",
        "HELD",
        "REFUTED",
        "SUPERSEDED"
      ],
      "title": "ClaimStatus"
    },
    "Confidence": {
      "type": "string",
      "enum": [
        "LOW",
        "MEDIUM",
        "HIGH"
      ],
      "title": "Confidence"
    }
  }
}