ai.newnal.mydata.interactionPreferencesLocalization

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

Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authoritymydata.newnal.ai
Commit rev3n2lk5rjzfw23
Indexed
cid bafyreieswnbahrgqcghscln2ld5v3twocjdgkzeu4zv2zlda7mv4efpeqi

Checks

Valid
  • field-name-syntax defs.main.record.properties._metaThe field name _meta should be letters and digits, starting with a letter.
JSONDownload
{
  "$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
}