id.sifa.profile.location
A single location entry in the user's profile.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | profile.sifa.id |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.typeNo maxLength, maxGraphemes or format limits this string.
{
"$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
}