{
    "requiresAuth": true,
    "requiredStages": ["REGISTRATION", "PAYMENT"],
    "conditions": [
      {"roles": ["ROLE_VIEWER", "ROLE_ADMIN", "ROLE_RELATIONAL_MANAGER"], "condition": {"operator": "AND", "conditions": [
        {"field": "hasGoodies", "operator": "EQUALS", "value": true},
        {"operator": "OR", "conditions": [
          {"field": "paymentStatus", "operator": "IN", "value": ["online_completed", "offline_completed", "offline_pending", "completed"]},
          {"field": "isFreeSeat", "operator": "EQUALS", "value": true}
        ]},
        {"operator": "OR", "conditions": [
          {"field": "registrationStatus", "operator": "NOT_IN", "value": ["waitlisted"]},
          {"field": "reservedLink", "operator": "EQUALS", "value": true}
        ]}
      ]}, "message": "Payment must be completed to access goodies selection, and not waitlisted (or admin-released)"}
    ]
  }