{
  "cases": [
    {
      "id": "happy-path",
      "process_id": "main",
      "input": {
        "path": {},
        "query": {},
        "headers": {},
        "body": {
          "customer": "  Ada Example  ",
          "quantity": 3
        }
      },
      "expected_status": "simulated",
      "expected_output": {
        "accepted": true,
        "order": {
          "customer": "ADA EXAMPLE",
          "quantity": 3
        }
      },
      "verify": [
        {
          "process_id": "normalize_order",
          "node_id": "map_fields",
          "times": 1
        },
        {
          "process_id": "main",
          "node_id": "log_failure",
          "times": 0
        }
      ]
    },
    {
      "id": "trim-uppercase-and-single-item",
      "process_id": "main",
      "input": {
        "path": {},
        "query": {},
        "headers": {},
        "body": {
          "customer": "  Lin Example  ",
          "quantity": 1
        }
      },
      "expected_status": "simulated",
      "expected_output": {
        "accepted": true,
        "order": {
          "customer": "LIN EXAMPLE",
          "quantity": 1
        }
      }
    },
    {
      "id": "invalid-quantity",
      "process_id": "main",
      "input": {
        "path": {},
        "query": {},
        "headers": {},
        "body": {
          "customer": "Ada Example",
          "quantity": 0
        }
      },
      "expected_status": "failed",
      "expected_error": "quantity_invalid",
      "verify": [
        {
          "process_id": "normalize_order",
          "node_id": "map_fields",
          "times": 0
        },
        {
          "process_id": "main",
          "node_id": "log_failure",
          "times": 1
        }
      ]
    }
  ],
  "coverage": {
    "min_activity": 100,
    "min_transition": 100
  },
  "timeout_seconds": 30
}
