I'm creating some scripts for DSpace's 6 REST API and i've found out that the attributes of createSchema endpoint (POST/registries/schema) are exchanged. The requested prefix attribute ends up on namespace attribute and vice-versa.
To confirm you may use the following command:
The result is:
It's also confirmed on XMLUI interface, as seen on attached file.