# Variable: ballot

```ts
const ballot: object & Typed<{
  choice: number;
  respondingTo?: string;
}>;
```

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

One person's final say on a proposal: the position of their choice in its
options. Unlike a `std.vote`, it can't be changed once cast, so a
`std.decision` can cite it and mean it.

## Type Declaration

### description

```ts
readonly description: "One person’s final vote on a std.proposal: it can’t be changed, so a std.decision can count it. For a poll, use std.vote." = 'One person’s final vote on a std.proposal: it can’t be changed, so a std.decision can count it. For a poll, use std.vote.';
```

### links

```ts
readonly links: object;
```

#### links.about

```ts
readonly about: LinkDeclaration;
```

### name

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

### rules

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

#### rules.fixed

```ts
readonly fixed: readonly ["choice"];
```

#### rules.onePer

```ts
readonly onePer: readonly ["@author", "link:about"];
```

### schema

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

#### schema.properties

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

#### schema.properties.choice

```ts
readonly choice: object;
```

#### schema.properties.choice.minimum

```ts
readonly minimum: 0 = 0;
```

#### schema.properties.choice.type

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

#### schema.properties.choice.x-choicesFrom

```ts
readonly "x-choicesFrom": object;
```

#### schema.properties.choice.x-choicesFrom.field

```ts
readonly field: "options" = 'options';
```

#### schema.properties.choice.x-choicesFrom.rel

```ts
readonly rel: "about" = 'about';
```

#### schema.properties.respondingTo

```ts
readonly respondingTo: object & object;
```

##### Type Declaration

###### maxLength

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

###### minLength?

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

###### type

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

###### x-kind

```ts
readonly "x-kind": "did";
```

#### schema.required

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

#### schema.type

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

### title

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

### topics

```ts
readonly topics: readonly ["respondingTo"];
```
