{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bernstein-run/json-schema/bernstein-run-claim-gossip-response-schema.json",
  "title": "ClaimGossipResponse",
  "description": "Response for POST /cluster/claims/gossip.\n\n``forked`` is surfaced at the top level because a fork is the one outcome\nthat must not be lost in a per-receipt list an integrator might ignore.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bernstein-run-cluster-api-openapi.yml#/components/schemas/ClaimGossipResponse",
  "properties": {
    "head": {
      "type": "string",
      "title": "Head"
    },
    "accepted": {
      "type": "integer",
      "title": "Accepted"
    },
    "results": {
      "items": {
        "$ref": "#/$defs/ClaimGossipResult"
      },
      "type": "array",
      "title": "Results"
    },
    "forked": {
      "type": "boolean",
      "title": "Forked",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "head",
    "accepted",
    "results"
  ],
  "$defs": {
    "ClaimGossipResult": {
      "properties": {
        "entry_hash": {
          "type": "string",
          "title": "Entry Hash"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reason"
        },
        "divergence_index": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Divergence Index"
        }
      },
      "type": "object",
      "required": [
        "entry_hash",
        "status"
      ],
      "title": "ClaimGossipResult",
      "description": "Per-receipt outcome of a gossip push."
    }
  }
}