> ## Documentation Index
> Fetch the complete documentation index at: https://klef.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ManifestRelations

> The relations of each kind, as a manifest says them until its connector lists them in code.

```csharp
public static class ManifestRelations
```

## Methods

### Of()

```csharp
public static IReadOnlyList<CatalogRelation> Of(ConnectorManifest manifest, string kind)
```

Lists a kind's relations from the entitlement fields on it: the relation a field pins, and the values of its item's relation part, holdable by the kinds the field is grantable to.

A part the field's `key_fields` leave out names a level, so its values form an exclusive set, ranked in the order the manifest lists them.

#### Parameters

**manifest** `ConnectorManifest` *required*

**kind** `string` *required*

#### Returns

`IReadOnlyList<CatalogRelation>`

### Problems()

```csharp
public static IReadOnlyList<string> Problems(ConnectorManifest manifest, string kind, IReadOnlyList<CatalogRelation> relations)
```

Says what is wrong with the relations a connector lists for a kind: a repeated key, a holder that is no kind, a rank or a default a set repeats, or a relation a field pins and the list leaves out.

#### Parameters

**manifest** `ConnectorManifest` *required*

**kind** `string` *required*

**relations** `IReadOnlyList\<CatalogRelation\>` *required*

**Type:** `IReadOnlyList<CatalogRelation>`

#### Returns

`IReadOnlyList<string>`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.