How to create new user type with custom user schema?

Trying to do this with the SDK code.
Creating a new user type is straight forward and I save it.
But I need to edit the User Schema (called Attributes online – user name, first name, last name…)
UserType does have a of map of links, and one of those does seem to pull the scheme. Is there any easier/better way to get the schema data? From a user type?

Hello,

That is how the API is designed, User Types | Okta Developer