{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "RoleAssignment",
"type": "object",
"description": "Represents a role assignment for a user.",
"properties": {
"role": {
"type": "string",
"description": "The role identifier."
},
"resource": {
"type": "object",
"description": "The resource the role is assigned to."
}
}
}