jams.schema.values

jams.schema.values(ns_key)[source]

Return the allowed values for an enumerated namespace.

Parameters:
ns_key : str

Namespace key identifier

Returns:
values : list
Raises:
NamespaceError

If ns_key is not found, or does not have enumerated values

Examples

>>> jams.schema.values('tag_gtzan')
['blues', 'classical', 'country', 'disco', 'hip-hop', 'jazz',
 'metal', 'pop', 'reggae', 'rock']