com.actuallynearme.listing
A business location: who it is, where it is and when it is open. The record key is the location ID, a TID made once when the location is created and never changed. One business account holds one of these per location.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | actuallynearme.com |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"externalId": {
"description": "An identifier in another directory.",
"properties": {
"source": {
"description": "Which directory the identifier comes from.",
"knownValues": [
"osm",
"fsq",
"google"
],
"maxLength": 64,
"type": "string"
},
"value": {
"description": "The identifier within that directory.",
"maxLength": 256,
"type": "string"
}
},
"required": [
"source",
"value"
],
"type": "object"
},
"link": {
"description": "A labelled public link.",
"properties": {
"label": {
"description": "Text shown for the link.",
"maxGraphemes": 40,
"maxLength": 400,
"type": "string"
},
"uri": {
"description": "Link target.",
"format": "uri",
"type": "string"
}
},
"required": [
"label",
"uri"
],
"type": "object"
},
"main": {
"description": "A business location: who it is, where it is and when it is open. The record key is the location ID, a TID made once when the location is created and never changed. One business account holds one of these per location.",
"key": "tid",
"record": {
"properties": {
"addresses": {
"description": "Places where the business operates, at least one.",
"items": {
"ref": "#typedAddress",
"type": "ref"
},
"maxLength": 5,
"minLength": 1,
"type": "array"
},
"byAppointment": {
"description": "True if the business operates by appointment only.",
"type": "boolean"
},
"categories": {
"description": "Free-text category labels, at most five. When absent, readers use the same field of the organization record (key `self`) in the same repository.",
"items": {
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"maxLength": 5,
"type": "array"
},
"createdAt": {
"description": "When this listing was first created.",
"format": "datetime",
"type": "string"
},
"description": {
"description": "Short description of what the business offers. When absent, readers use the same field of the organization record (key `self`) in the same repository.",
"maxGraphemes": 1000,
"maxLength": 10000,
"type": "string"
},
"email": {
"description": "Public contact email address.",
"maxLength": 320,
"type": "string"
},
"externalIds": {
"description": "Identifiers of this business in other directories.",
"items": {
"ref": "#externalId",
"type": "ref"
},
"maxLength": 10,
"type": "array"
},
"hours": {
"description": "Regular weekly opening ranges.",
"items": {
"ref": "com.actuallynearme.hours#openRange",
"type": "ref"
},
"maxLength": 21,
"type": "array"
},
"links": {
"description": "Other public links, such as menus or social profiles.",
"items": {
"ref": "#link",
"type": "ref"
},
"maxLength": 10,
"type": "array"
},
"movedFrom": {
"description": "AT URI of the listing this one was copied from, set when a location moves to another account.",
"format": "at-uri",
"type": "string"
},
"name": {
"description": "Public name of this location. It may be the same as the organization's name.",
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
},
"phone": {
"description": "Public phone number.",
"maxLength": 64,
"type": "string"
},
"specialHours": {
"description": "Exceptions to the regular hours for specific dates.",
"items": {
"ref": "com.actuallynearme.hours#specialDay",
"type": "ref"
},
"maxLength": 60,
"type": "array"
},
"timezone": {
"description": "IANA time zone name used to interpret hours, for example America/Chicago.",
"maxLength": 64,
"type": "string"
},
"updatedAt": {
"description": "When this listing was last changed.",
"format": "datetime",
"type": "string"
},
"website": {
"description": "Business website. When absent, readers use the same field of the organization record (key `self`) in the same repository.",
"format": "uri",
"type": "string"
}
},
"required": [
"name",
"addresses",
"timezone",
"createdAt",
"updatedAt"
],
"type": "object"
},
"type": "record"
},
"typedAddress": {
"description": "An address together with its role for the business.",
"properties": {
"address": {
"description": "The postal address.",
"ref": "community.lexicon.location.address",
"type": "ref"
},
"geo": {
"description": "Latitude and longitude (coordinates are strings).",
"ref": "community.lexicon.location.geo",
"type": "ref"
},
"hthree": {
"description": "H3 hexagonal cell index of the location.",
"ref": "community.lexicon.location.hthree",
"type": "ref"
},
"role": {
"description": "Role of this address for the business.",
"knownValues": [
"business-location",
"headquarters",
"mailing"
],
"maxLength": 64,
"type": "string"
}
},
"required": [
"role",
"address"
],
"type": "object"
}
},
"id": "com.actuallynearme.listing",
"lexicon": 1
}