ai.newnal.mydata.profileLocation

The user's most recently observed location (country, administrative area, city, coordinates) and the time zone of that location. observedAt says when it was observed. It is not the place of residence or the main area of living (the residence is in profile.addresses); the place a device is installed or a GPS value alone is not taken to mean the user is there, and an old observation is not treated as the current location. How often it is updated and whether it is disclosed are not decided by this schema.

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

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 user's most recently observed location (country, administrative area, city, coordinates) and the time zone of that location. observedAt says when it was observed. It is not the place of residence or the main area of living (the residence is in profile.addresses); the place a device is installed or a GPS value alone is not taken to mean the user is there, and an old observation is not treated as the current location. How often it is updated and whether it is disclosed are not decided by this schema.",
      "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 user's most recently observed location (country, administrative area, city, coordinates) and the time zone of that location. observedAt says when it was observed. It is not the place of residence or the main area of living (the residence is in profile.addresses); the place a device is installed or a GPS value alone is not taken to mean the user is there, and an old observation is not treated as the current location. How often it is updated and whether it is disclosed are not decided by this schema.",
      "properties": {
        "adminArea": {
          "description": "The first-level administrative area of the most recently observed location.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "coordinates": {
          "description": "The coordinates of the most recently observed location.",
          "ref": "ai.newnal.mydata.defs#geoCoordinates",
          "type": "ref"
        },
        "country": {
          "description": "The country of the most recently observed location, as an ISO 3166-1 alpha-2 code (for example KR).",
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "locality": {
          "description": "The city or locality of the most recently observed location.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "observedAt": {
          "description": "The time this location was actually observed. Not the time the record was stored or updated. When this time is old, the location is not to be taken as the current one.",
          "format": "datetime",
          "type": "string"
        },
        "subLocality": {
          "description": "The finer area of the most recently observed location, such as a district or neighbourhood.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "timezone": {
          "description": "The IANA time zone of the most recently observed location (for example Asia/Seoul).",
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "ai.newnal.mydata.profileLocation",
  "lexicon": 1
}