template-backend/src/ApiDomain/Schema/External/Authentication/ConfirmRegistration/response.json
2025-01-02 00:04:43 +01:00

35 lines
788 B
JSON

{
"description": "Successfully confirmed registration",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"id",
"username",
"roleIdentifier",
"permissions"
],
"properties": {
"id": {
"$ref": "../../../Partials/uuid.json"
},
"username": {
"$ref": "../Partials/username.json"
},
"roleIdentifier": {
"$ref": "../Partials/role-identifier.json"
},
"permissions": {
"description": "All permissions assigned to the user",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}