id.sifa.profile.location

A single location entry in the user's profile.

Repository @sifa.id did:plc:2f2ahswozqy4v5lvu676375y namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityprofile.sifa.id
Indexed
cid bafyreiaulgf23e3meel6pvfiwf7icfra3pguh7tncffthjrl4vmwtslnn4

Checks

Valid
  • unlimited-string defs.main.record.properties.typeNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A single location entry in the user's profile.",
      "key": "tid",
      "record": {
        "properties": {
          "address": {
            "description": "Structured location address. Sifa enforces ISO 3166-1 alpha-2 country codes at the app layer.",
            "ref": "community.lexicon.location.address",
            "type": "ref"
          },
          "createdAt": {
            "description": "Client-declared timestamp when this record was created.",
            "format": "datetime",
            "type": "string"
          },
          "isPrimary": {
            "description": "Whether this is the primary/display location.",
            "type": "boolean"
          },
          "label": {
            "description": "Optional user-defined label for this location.",
            "maxGraphemes": 60,
            "maxLength": 600,
            "type": "string"
          },
          "type": {
            "description": "The role of this location.",
            "knownValues": [
              "id.sifa.defs#locationPrimary",
              "id.sifa.defs#locationBusiness",
              "id.sifa.defs#locationTravel"
            ],
            "type": "string"
          }
        },
        "required": [
          "address",
          "type",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A location associated with the user's professional profile. Supports multiple locations per user (e.g. residential, business, travel).",
  "id": "id.sifa.profile.location",
  "lexicon": 1
}