{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://capp.local/schemas/capp.solana-arena.outcome.v2.schema.json",
  "title": "capp.solana-arena.outcome.v2",
  "type": "object",
  "required": [
    "protocol",
    "operationId",
    "attemptId",
    "messageDigest",
    "state",
    "simulated",
    "fundsMoved",
    "mockFundsMoved"
  ],
  "properties": {
    "protocol": {
      "const": "capp.solana-arena.outcome.v2"
    },
    "operationId": {
      "type": "string"
    },
    "attemptId": {
      "type": "string"
    },
    "messageDigest": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "transactionDigest": {
      "type": "string"
    },
    "network": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "simulated": {
      "type": "boolean"
    },
    "createdAt": {
      "type": "number"
    },
    "updatedAt": {
      "type": "number"
    },
    "requestDigest": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "fundsMoved": {
      "const": false
    },
    "mockFundsMoved": {
      "type": "boolean"
    },
    "signature": {
      "type": [
        "string",
        "null"
      ]
    },
    "position": {
      "type": [
        "object",
        "null"
      ]
    },
    "settlement": {
      "type": [
        "object",
        "null"
      ]
    },
    "finality": {
      "type": "string"
    }
  },
  "additionalProperties": true
}
