# Variable: host

```ts
const host: object & Typed<{
  did?: string;
  name?: string;
  url: string;
}>;
```

Defined in: [packages/core/src/schemas/library/community.ts:327](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/library/community.ts#L327)

A host the space pays to keep it online: its own subscription there
(`space:<id>`, spec 08 §2), which anyone in the space may chip in for.
Members' devices hand that host the space's pass once someone has paid, so
it carries the space without being able to read it. Only those who may
manage it choose the host: naming one sends it every member's pass.

## Type Declaration

### description

```ts
readonly description: "A host the space pays to keep it online, and anyone in it may chip in for." = 'A host the space pays to keep it online, and anyone in it may chip in for.';
```

### name

```ts
readonly name: "std.host" = 'std.host';
```

### rules

```ts
readonly rules: object;
```

#### rules.onePer

```ts
readonly onePer: readonly ["url"];
```

### schema

```ts
readonly schema: object;
```

#### schema.properties

```ts
readonly properties: object;
```

#### schema.properties.did

```ts
readonly did: object;
```

#### schema.properties.did.maxLength

```ts
maxLength: number = max;
```

#### schema.properties.did.minLength?

```ts
minLength?: number = min;
```

#### schema.properties.did.type

```ts
type: "string";
```

#### schema.properties.name

```ts
readonly name: object;
```

#### schema.properties.name.maxLength

```ts
maxLength: number = max;
```

#### schema.properties.name.minLength?

```ts
minLength?: number = min;
```

#### schema.properties.name.type

```ts
type: "string";
```

#### schema.properties.url

```ts
readonly url: object;
```

#### schema.properties.url.maxLength

```ts
maxLength: number = max;
```

#### schema.properties.url.minLength?

```ts
minLength?: number = min;
```

#### schema.properties.url.type

```ts
type: "string";
```

#### schema.required

```ts
readonly required: readonly ["url"];
```

#### schema.type

```ts
readonly type: "object" = 'object';
```

### title

```ts
readonly title: "Host" = 'Host';
```
