# ai.newnal.mydata.interactionPreferencesLocalization

> The locale, units, currency and time zone to use for presentation.

- Kind: record
- Record key: literal:self
- Authority: mydata.newnal.ai
- Lexicon: 1
- Published by [newnal-platform.newnal.id](https://lexicon.garden/identity/did:plc:vciktevzoffubdvdaajz2yp3), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.interactionPreferencesLocalization)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.interactionPreferencesLocalization/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.interactionPreferencesLocalization/analytics)

## Record (`ai.newnal.mydata.interactionPreferencesLocalization`)

Type: record · key literal:self

### Properties

- `_meta` (ref, required)
  - Reference: `ai.newnal.mydata.defs#recordMeta`
- `data` (union, required)
  - One of (closed): `#section`

## #section (`ai.newnal.mydata.interactionPreferencesLocalization#section`)

Type: object

The locale, units, currency and time zone to use for presentation.

### Properties

- `currency` (string): The currency to show amounts in, as an ISO 4217 code (for example KRW).
  - Constraints: maxLength: 640, maxGraphemes: 64
- `locale` (string · language): The locale to use for display and formatting, as a BCP 47 language tag (for example ko-KR).
- `timezone` (string): The IANA time zone in which times are read (for example Asia/Seoul).
  - Constraints: maxLength: 640, maxGraphemes: 64
- `unitSystem` (string): The unit system for displaying measurements.
  - Constraints: maxLength: 640, maxGraphemes: 64, knownValues: metric | imperial | mixed

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The locale, units, currency and time zone to use for presentation.",
      "key": "literal:self",
      "record": {
        "properties": {
          "_meta": {
            "ref": "ai.newnal.mydata.defs#recordMeta",
            "type": "ref"
          },
          "data": {
            "closed": true,
            "refs": [
              "#section"
            ],
            "type": "union"
          }
        },
        "required": [
          "data",
          "_meta"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "section": {
      "description": "The locale, units, currency and time zone to use for presentation.",
      "properties": {
        "currency": {
          "description": "The currency to show amounts in, as an ISO 4217 code (for example KRW).",
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "locale": {
          "description": "The locale to use for display and formatting, as a BCP 47 language tag (for example ko-KR).",
          "format": "language",
          "type": "string"
        },
        "timezone": {
          "description": "The IANA time zone in which times are read (for example Asia/Seoul).",
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "unitSystem": {
          "description": "The unit system for displaying measurements.",
          "knownValues": [
            "metric",
            "imperial",
            "mixed"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "ai.newnal.mydata.interactionPreferencesLocalization",
  "lexicon": 1
}
```
