diff --git a/src/iplant_groups/routes/schemas/attribute.clj b/src/iplant_groups/routes/schemas/attribute.clj index b0c6ab6..6322598 100644 --- a/src/iplant_groups/routes/schemas/attribute.clj +++ b/src/iplant_groups/routes/schemas/attribute.clj @@ -13,8 +13,8 @@ (into {} (map (fn [[k v]] [(s/optional-key k) v]) AttributeDefinition))) (def AttributeDefinitionLookup - (s/conditional AttributeDefinitionLookupSchema - (s/pred (some-fn :id :name) 'id-or-name-specified))) + (s/both AttributeDefinitionLookupSchema + (s/pred (some-fn :id :name) 'id-or-name-specified))) (s/defschema BaseAttributeName {:name