{
...
"taxonomies": {
"genre": {
"type": "number",
"description": "Rate the movie",
"min": 0,
"max": 10,
"step": 1
}
}
}
Each key-value defining a numerical taxonomy should have the following structure:
- key: a short string that serves as the identifier for the taxonomy.
- value: an object that should have the following keys:
description
: a human-readable string describing the taxonomy to a categorizer.type
: a string describing the type of taxonomy. Must benumber
for numerical taxonomies.min
(optional): The minimum number that may be chosen as the attribute.max
(optional): The maximum number that may be chosen as the attribute.step
(optional, default1
): The difference between two numbers in the sequence.