{
  "Comment": "Test blueprint to set context data",
  "version": "1.0",
  "StartAt": "SetDefaults",
  "States": {
    "SetDefaults": {
      "ResourceConfig": {
        "$.formData.isThisNull": "$NULL",
        "$.formData.catName": "Rupert",
        "$.formData.dogName": "$.dog",
        "$.formData.catOwnerId": "$USERID",
        "$.formData.catBirthday": "$NOW",
        "$.formData.email": "$EMAIL",
        "$.formData.faveColours": "$.faveColours",
        "$.formData.measurements": [
          {
            "height": "$.height",
            "weight": "$.weight"
          }
        ]
      },
      "Type": "Task",
      "Resource": "module:setContextData",
      "InputPath": "$",
      "End": true
    }
  },
  "restrictions": [
    {
      "roleId": "$authenticated",
      "allows": [
        "*"
      ]
    }
  ]
}