__( 'A user role object', 'wp-graphql' ), 'interfaces' => [ 'Node' ], 'fields' => [ 'id' => [ 'description' => __( 'The globally unique identifier for the user role object.', 'wp-graphql' ), ], 'name' => [ 'type' => 'String', 'description' => __( 'The registered name of the role', 'wp-graphql' ), ], 'capabilities' => [ 'type' => [ 'list_of' => 'String', ], 'description' => __( 'The capabilities that belong to this role', 'wp-graphql' ), ], 'displayName' => [ 'type' => 'String', 'description' => __( 'The display name of the role', 'wp-graphql' ), ], 'isRestricted' => [ 'type' => 'Boolean', 'description' => __( 'Whether the object is restricted from the current viewer', 'wp-graphql' ), ], ], ] ); } }