{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://weverlabs.com/schemas/controlled-pilot-run-report.schema.json",
  "title": "Controlled Pilot Run Report",
  "type": "object",
  "required": [
    "report_id",
    "pilot_id",
    "tool",
    "task_token",
    "runtime_state",
    "proof_trail"
  ],
  "properties": {
    "report_id": {
      "type": "string"
    },
    "pilot_id": {
      "type": "string"
    },
    "tool": {
      "type": "string"
    },
    "task_token": {
      "type": "string"
    },
    "runtime_state": {
      "type": "string"
    },
    "work_order_id": {
      "type": "string"
    },
    "result_contract_id": {
      "type": "string"
    },
    "settlement_receipt_id": {
      "type": "string"
    },
    "usage_receipt_id": {
      "type": "string"
    },
    "callback_delivery_id": {
      "type": "string"
    },
    "ledger_entry_id": {
      "type": "string"
    },
    "attestation_id": {
      "type": "string"
    },
    "proof_trail": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "operator_review": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}
