world.ptah.location
A place inside a world. Where things happen. Locations nest infinitely — a room inside a building inside a city inside a territory.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | ptah.world |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.canonicalStatusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.locationTypeNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"locationProperties": {
"description": "Structured metadata for locations",
"properties": {
"climate": {
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"controllingFaction": {
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"notableHistory": {
"maxGraphemes": 256,
"maxLength": 2560,
"type": "string"
},
"population": {
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
}
},
"type": "object"
},
"main": {
"description": "A place inside a world. Where things happen. Locations nest infinitely — a room inside a building inside a city inside a territory.",
"key": "tid",
"record": {
"properties": {
"canonicalStatus": {
"description": "The canonical standing of this location",
"knownValues": [
"world.ptah.defs#canonicalStatusOfficial",
"world.ptah.defs#canonicalStatusCommunity",
"world.ptah.defs#canonicalStatusApocryphal"
],
"type": "string"
},
"createdAt": {
"description": "Timestamp when this location was created",
"format": "datetime",
"type": "string"
},
"creatorDID": {
"description": "The permanent identity of the location's creator",
"format": "did",
"type": "string"
},
"depthIndex": {
"description": "Nesting depth — 0 for top-level, incrementing for each level down",
"minimum": 0,
"type": "integer"
},
"description": {
"description": "What this location is like",
"maxGraphemes": 1024,
"maxLength": 10240,
"type": "string"
},
"locationProperties": {
"description": "Additional structured properties for this location",
"ref": "#locationProperties",
"type": "ref"
},
"locationType": {
"description": "The type of location",
"knownValues": [
"territory",
"city",
"building",
"room",
"landmark",
"wilderness",
"vessel",
"virtual"
],
"type": "string"
},
"name": {
"description": "The name of the location",
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"parentLocation": {
"description": "Reference to the parent location (if nested)",
"format": "at-uri",
"type": "string"
},
"worldReference": {
"description": "Reference to the world this location exists in",
"format": "at-uri",
"type": "string"
}
},
"required": [
"name",
"creatorDID",
"worldReference",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "world.ptah.location",
"lexicon": 1
}