{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flint-network/json-schema/flint-network-outcome-report-request-schema.json",
  "title": "OutcomeReportRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flint-network-outcome-feedback-api-openapi.yml#/components/schemas/OutcomeReportRequest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "outcome"
  ],
  "properties": {
    "outcome": {
      "type": "string",
      "enum": [
        "executed",
        "held",
        "executed_despite_block",
        "cancelled"
      ]
    },
    "tx_hash": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{64}$",
      "description": "Required when outcome starts with executed."
    },
    "chain": {
      "type": "string",
      "pattern": "^[-a-z0-9]{3,8}:[-_A-Za-z0-9]{1,32}$"
    },
    "note": {
      "type": "string",
      "maxLength": 280
    },
    "caller_binding_token": {
      "type": "string",
      "description": "Required to report anonymously as the caller instead of via session or partner credential."
    }
  }
}