# Variable: measurement

```ts
const measurement: object & Typed<{
  at: string;
  kind: string;
  note?: string;
  unit: string;
  value: number;
}>;
```

Defined in: [packages/core/src/schemas/library/life.ts:151](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/library/life.ts#L151)

A measurement at a moment: a weight, a blood pressure, a meter reading.

## Type Declaration

### description

```ts
readonly description: "Something measured at a moment: a kind, a value, a unit." = 'Something measured at a moment: a kind, a value, a unit.';
```

### name

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

### schema

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

#### schema.properties

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

#### schema.properties.at

```ts
readonly at: object & object;
```

##### Type Declaration

###### maxLength

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

###### minLength?

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

###### type

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

###### x-kind

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

#### schema.properties.kind

```ts
readonly kind: object;
```

#### schema.properties.kind.maxLength

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

#### schema.properties.kind.minLength?

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

#### schema.properties.kind.type

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

#### schema.properties.note

```ts
readonly note: object;
```

#### schema.properties.note.maxLength

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

#### schema.properties.note.minLength?

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

#### schema.properties.note.type

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

#### schema.properties.unit

```ts
readonly unit: object;
```

#### schema.properties.unit.maxLength

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

#### schema.properties.unit.minLength?

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

#### schema.properties.unit.type

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

#### schema.properties.value

```ts
readonly value: object;
```

#### schema.properties.value.type

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

#### schema.required

```ts
readonly required: readonly ["kind", "value", "unit", "at"];
```

#### schema.type

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

### title

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