Socrata was acquired by Tyler Technologies in 2018 and is now the Data and Insights division of Tyler. The platform is still powered by the same software formerly known as Socrata but you will see references to Data & Insights going forward.

# domain_categories

##### Function: domain_categories
Returns the categories currently configured on the domain. Useful primarily
for metadata transformation and validation expressions. Note that the value
returned is cached for a period of time, so if you update your domain's categories,
that change may not be reflected immediately from this function.

Examples:

-- All the domain's categories
domain_categories()

-- Test if a value exists in the configured categories
json_array_contains(domain_categories(), "education")
-- Result: true

-- Test if a value exists in the configured categories
json_array_contains(domain_categories(), "not actually a category")
-- Result: false


###### Signatures
 -> json