{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/myrmigo-com/json-schema/myrmigo-com-report-input-schema.json",
  "title": "ReportInput",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/myrmigo-com-openapi.json#/components/schemas/ReportInput",
  "type": "object",
  "properties": {
    "run_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "outcome": {
      "type": "string",
      "enum": [
        "success",
        "failure",
        "blocked",
        "user_aborted"
      ]
    },
    "followed": {
      "description": "exactly | with_changes | not_used",
      "type": [
        "string",
        "null"
      ]
    },
    "failed_step": {
      "description": "Step number or w1",
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "description": "One of: element_not_found unexpected_page step_order_wrong timeout site_error agent_error login_required captcha_or_bot_wall not_eligible user_declined other",
      "type": [
        "string",
        "null"
      ]
    },
    "patch": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "steps": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "concern": {
      "description": "One of: broken_or_outdated wrong_fact unsafe_instructions off_site_navigation asks_unneeded_data missing_confirmation contains_personal_data wrong_site",
      "type": [
        "string",
        "null"
      ]
    },
    "where": {
      "type": [
        "string",
        "null"
      ]
    },
    "task": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "outcome"
  ]
}