# Variable: decision

```ts
const decision: object & Typed<{
  ballots: readonly string[];
  outcome: number;
  proposal: string;
}>;
```

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

What a proposal came to, proven: it cites the proposal as first put and
enough ballots for one option, from different people, to reach its
quorum. Anyone may write it once the ballots are in; every device checks.

## Type Declaration

### contract

```ts
readonly contract: object;
```

#### contract.check

```ts
readonly check: readonly Contract[] = DECIDES;
```

### description

```ts
readonly description: "What a proposal came to, proven by the ballots it cites." = 'What a proposal came to, proven by the ballots it cites.';
```

### links

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

#### links.about

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

### name

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

### rules

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

#### rules.onePer

```ts
readonly onePer: readonly ["link:about"];
```

### schema

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

#### schema.properties

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

#### schema.properties.ballots

```ts
readonly ballots: object;
```

#### schema.properties.ballots.description

```ts
readonly description: "Ids of the ballots it counts" = 'Ids of the ballots it counts';
```

#### schema.properties.ballots.items

```ts
readonly items: object;
```

#### schema.properties.ballots.items.maxLength

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

#### schema.properties.ballots.items.minLength?

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

#### schema.properties.ballots.items.type

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

#### schema.properties.ballots.maxItems

```ts
readonly maxItems: 256 = 256;
```

#### schema.properties.ballots.type

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

#### schema.properties.outcome

```ts
readonly outcome: object;
```

#### schema.properties.outcome.description

```ts
readonly description: "The option decided on" = 'The option decided on';
```

#### schema.properties.outcome.minimum

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

#### schema.properties.outcome.type

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

#### schema.properties.outcome.x-choicesFrom

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

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

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

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

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

#### schema.properties.proposal

```ts
readonly proposal: object;
```

#### schema.properties.proposal.maxLength

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

#### schema.properties.proposal.minLength?

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

#### schema.properties.proposal.type

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

#### schema.required

```ts
readonly required: readonly ["outcome", "proposal", "ballots"];
```

#### schema.type

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

### title

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