It’s need to be namespaced like in my example, see the two lines of code above.
See Create Custom Claims for docs.