{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/debridge-com/json-schema/debridge-com-extcall-execution-full-progress-dto-schema.json",
  "title": "ExtcallExecutionFullProgressDTO",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/debridge-com-orders-api-openapi.yml#/components/schemas/ExtcallExecutionFullProgressDTO",
  "type": "object",
  "properties": {
    "totalInstructionsCount": {
      "type": "integer",
      "description": "Total number of instructions in the ExternalCall",
      "format": "int32"
    },
    "steps": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/ExtcallExecutionProgressStepDTO"
      },
      "description": "External call execution steps"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "AddressPropertyDTO": {
      "type": "object",
      "properties": {
        "Base64Value": {
          "type": [
            "string",
            "null"
          ],
          "description": "Binary representation of the property value",
          "format": "byte"
        },
        "bytesArrayValue": {
          "type": [
            "string",
            "null"
          ],
          "description": "Bytes array representation of the value",
          "readOnly": true
        },
        "stringValue": {
          "type": [
            "string",
            "null"
          ],
          "description": "String representation of the property value",
          "readOnly": true
        }
      },
      "additionalProperties": false
    },
    "ExtcallExecutionProgressStepDTO": {
      "type": "object",
      "properties": {
        "stepNumber": {
          "type": "integer",
          "description": "Indicates how many\nExternalCall instructions were executed\nat the time the event occurred",
          "format": "int32"
        },
        "eventMetadata": {
          "$ref": "#/$defs/TransactionMetadataDTO"
        },
        "extcallBeneficiaries": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/AddressPropertyDTO"
          },
          "description": "Beneficiaries of the ExternalCall execution"
        },
        "status": {
          "$ref": "#/$defs/ExternalCallExecutionStatus"
        }
      },
      "additionalProperties": false,
      "description": "Describes progress of ExternalCall execution"
    },
    "ExternalCallExecutionStatus": {
      "enum": [
        "Executed",
        "FailedToExecute",
        "Canceled"
      ],
      "type": "string"
    },
    "StringPropertyDTO": {
      "type": "object",
      "properties": {
        "bytesValue": {
          "type": [
            "string",
            "null"
          ],
          "description": "Binary representation of the property value",
          "format": "byte"
        },
        "bytesArrayValue": {
          "type": [
            "string",
            "null"
          ],
          "description": "Bytes array representation of the value",
          "readOnly": true
        },
        "stringValue": {
          "type": [
            "string",
            "null"
          ],
          "description": "String representation of the property value",
          "readOnly": true
        }
      },
      "additionalProperties": false
    },
    "TransactionHashPropertyDto": {
      "type": "object",
      "allOf": [
        {
          "$ref": "#/$defs/StringPropertyDTO"
        }
      ],
      "properties": {
        "stringValue": {
          "type": [
            "string",
            "null"
          ],
          "description": "String representation of the transaction hash value",
          "readOnly": true
        }
      },
      "additionalProperties": false,
      "description": "Transaction Hash property"
    },
    "TransactionMetadataDTO": {
      "type": "object",
      "properties": {
        "transactionHash": {
          "$ref": "#/$defs/TransactionHashPropertyDto"
        },
        "blockNumber": {
          "type": "integer",
          "description": "Number of a block\\slot this event was produced in",
          "format": "int64"
        },
        "blockHash": {
          "oneOf": [
            {
              "$ref": "#/$defs/StringPropertyDTO"
            },
            {
              "$ref": "#/$defs/TransactionHashPropertyDto"
            }
          ],
          "description": "Hash of a block\\slot this event was produced in"
        },
        "blockTimeStamp": {
          "type": "integer",
          "description": "Timestamp of a block\\slot event was produced in",
          "format": "int64"
        },
        "initiator": {
          "$ref": "#/$defs/AddressPropertyDTO"
        }
      },
      "additionalProperties": false
    }
  }
}