document token attributes and their scopes