Follow below link for uploading enterprise roles.
Attached sample for reference.
You can upload a role using the Upload Role via Role Management option available at Admin > Identity Repository > Roles > Action. This option enables you to add role metadata and role owner. While importing, you can create a role owner, an entitlement, or you can also update an existing entitlement.
SSM provides a sample CSV file containing example values for role management. To upload role management details, download this file to your server, modify its details, and upload it to SSM. The sample file includes different parameters to specify the role management details: