{
  "Comment": "Do some basic CRUD things.",
  "StartAt": "Upserting",
  "version": "1.0",
  "States": {
    "Upserting": {
      "Type": "Task",
      "InputPath": "$",
      "Resource": "module:upserting",
      "ResourceConfig": {
        "modelId": "people"
      },
      "Next": "FindingById"
    },
    "FindingById": {
      "Type": "Task",
      "InputPath": "$.employeeNo",
      "Resource": "module:findingById",
      "ResourceConfig": {
        "modelId": "people"
      },
      "ResultPath": "$.foundHomer",
      "End": true
    }
  },
  "restrictions": [
    {
      "roleId": "$everyone",
      "allows": [
        "*"
      ]
    }
  ]
}
