com.actuallynearme.update

A short owner-written news item about one or more locations of a business, such as a schedule change.

Details · record, key tid
Kindrecord
Record keytid
Authorityactuallynearme.com
Indexed
cid bafyreia2ewiikqps5522jxw6krtgvbpy2namkcvpsujr2a4amimti22wwe

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "effect": {
      "description": "One thing an update changes about the listing.",
      "properties": {
        "kind": {
          "description": "What kind of change this is. The list is open, so other values may be used.",
          "knownValues": [
            "special-hours",
            "regular-hours",
            "by-appointment",
            "contact",
            "description",
            "other"
          ],
          "maxLength": 64,
          "type": "string"
        },
        "summary": {
          "description": "Short description of the change.",
          "maxGraphemes": 140,
          "maxLength": 1400,
          "type": "string"
        }
      },
      "required": [
        "kind",
        "summary"
      ],
      "type": "object"
    },
    "main": {
      "description": "A short owner-written news item about one or more locations of a business, such as a schedule change.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "When the update was written.",
            "format": "datetime",
            "type": "string"
          },
          "crossposts": {
            "description": "Copies of this update posted elsewhere, as strong references. Any network or app may be listed.",
            "items": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            },
            "maxLength": 10,
            "type": "array"
          },
          "effects": {
            "description": "Structured summary of what the update changes.",
            "items": {
              "ref": "#effect",
              "type": "ref"
            },
            "maxLength": 10,
            "type": "array"
          },
          "locations": {
            "description": "Location IDs (listing record keys, each a TID) in the same account that this update is about. List every location the update applies to.",
            "items": {
              "format": "tid",
              "type": "string"
            },
            "maxLength": 500,
            "minLength": 1,
            "type": "array"
          },
          "movedFrom": {
            "description": "AT URI of the update this one was copied from, set when a location moves to another account.",
            "format": "at-uri",
            "type": "string"
          },
          "showUntil": {
            "description": "Last date the update should be shown, YYYY-MM-DD.",
            "maxLength": 10,
            "minLength": 10,
            "type": "string"
          },
          "text": {
            "description": "The update text.",
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          }
        },
        "required": [
          "text",
          "locations",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.actuallynearme.update",
  "lexicon": 1
}