{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-ansible-automation-platform/json-schema/red-hat-ansible-automation-platform-nested-role-response-schema.json",
  "title": "NestedRoleResponse",
  "description": "Serializer to add/remove object roles to/from users/groups.\n\nThis is used in conjunction with ``pulpcore.app.viewsets.base.RolesMixin`` and requires the\nunderlying object to be passed as ``content_object`` in the context.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-ansible-automation-platform-acs-file-api-openapi.yml#/components/schemas/NestedRoleResponse",
  "type": "object",
  "properties": {
    "users": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
      },
      "default": []
    },
    "groups": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": []
    },
    "role": {
      "type": "string"
    }
  },
  "required": [
    "role"
  ]
}