Many template parameters have values that are acceptable and not acceptable. I suggest adding a new supported parameter type:
- Regex: A regular expression
"csscolor": { ... "description": "Any CSS color specification", "type": "regex", "regex": "^#[0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F]$" }
Note that this shouldn't be enforced, just documented.