{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-managed-grafana/refs/heads/main/json-structure/amazon-managed-grafana-permission-entry-structure.json",
"name": "PermissionEntry",
"description": "A structure containing the identity of one user or group and the Admin, Editor, or Viewer role that they have.",
"type": "object",
"properties": {
"role": {
"allOf": [
{
"$ref": "#/components/schemas/Role"
},
{
"description": "Specifies whether the user or group has the Admin, Editor, or Viewer role."
}
]
},
"user": {
"allOf": [
{
"$ref": "#/components/schemas/User"
},
{
"description": "A structure with the ID of the user or group with this role."
}
]
}
},
"required": [
"role",
"user"
]
}