{
  "exportType" : "test_case",
  "formatVersion" : 1,
  "name" : "Check the order event and its embedded JSON",
  "description" : "",
  "steps" : [ {
    "type" : "FILTER",
    "params" : {
      "field" : "traceId",
      "operator" : "equals",
      "value" : "demo-trace-42"
    },
    "runWhen" : null
  }, {
    "type" : "VALIDATE_FIELD",
    "params" : {
      "field" : "phase",
      "operator" : "equals",
      "value" : "RESPONSE"
    },
    "runWhen" : null
  }, {
    "type" : "EXTRACT_JSON",
    "params" : {
      "jsonPath" : "message",
      "variable" : "body"
    },
    "runWhen" : null
  }, {
    "type" : "VALIDATE_FIELD",
    "params" : {
      "field" : "status",
      "operator" : "equals",
      "value" : "PAID"
    },
    "runWhen" : null
  }, {
    "type" : "VALIDATE_FIELD",
    "params" : {
      "field" : "amount",
      "operator" : "equals",
      "value" : "300",
      "typeCheck" : "is_integer"
    },
    "runWhen" : null
  } ]
}