Fork me on GitHub

If I have a spec that defines a user with some roles, which is a set, .e.g: (s/def ::availble-roles #{:admin :view :edit}), and user post JSON data that's supposed to contain e.g new users: {"new": [{"emai": "", "roles": ["admin"]}]} - wondering how's best to go about doing this w/compojure-api + spec. Two sets of specs, one for the expected JSON payload (defining roles as a vector of strings) and another for the application (what I want in the application - a set of keywords)?