{
  "$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
}
