# Variable: spaceInvite

```ts
const spaceInvite: object & Typed<{
  invite: string;
  space: string;
}>;
```

Defined in: [packages/core/src/schemas/contacts.ts:123](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/contacts.ts#L123)

An invite to a space, left for a contact in your space for two with them:
only the two of you read it there, so it needs no sealing. What space it is,
and its name, are read from the signed invite; `space` only keys the record.
Joining deletes it, and the inviter closes the invite once they are in.

## Type Declaration

### description

```ts
readonly description: "An invite to a space, left for a contact in your space for two." = 'An invite to a space, left for a contact in your space for two.';
```

### name

```ts
readonly name: "std.space-invite" = 'std.space-invite';
```

### rules

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

#### rules.onePer

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

### schema

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

#### schema.properties

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

#### schema.properties.invite

```ts
readonly invite: object;
```

#### schema.properties.invite.description

```ts
readonly description: "The invite, as spaces.join takes it" = 'The invite, as spaces.join takes it';
```

#### schema.properties.invite.maxLength

```ts
readonly maxLength: 12000 = 12000;
```

#### schema.properties.invite.type

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

#### schema.properties.space

```ts
readonly space: object;
```

#### schema.properties.space.description

```ts
readonly description: "The space it invites them to" = 'The space it invites them to';
```

#### schema.properties.space.maxLength

```ts
readonly maxLength: 256 = 256;
```

#### schema.properties.space.type

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

#### schema.required

```ts
readonly required: readonly ["space", "invite"];
```

#### schema.type

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

### title

```ts
readonly title: "Space invite" = 'Space invite';
```
