{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "literal:self",
      "record": {
        "properties": {
          "acceptsRepliesFrom": {
            "default": "anyone",
            "description": "Hint to clients about who the operator intends to accept entries from. Not enforced by the protocol.",
            "knownValues": [
              "anyone",
              "followers",
              "mutuals",
              "none"
            ],
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Optional context: who runs this guestbook, what you'd like people to say.",
            "maxLength": 500,
            "type": "string"
          },
          "title": {
            "description": "Human-readable name shown in clients that render the marker (e.g. 'hsinyau.com 留言板').",
            "maxLength": 120,
            "minLength": 1,
            "type": "string"
          },
          "url": {
            "description": "Canonical URL visitors are expected to have arrived from.",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "title",
          "url",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A marker record identifying a surface (a website, profile, project) that accepts com.hsinyau.guestbook.entry records. The marker lives on the operator's own PDS; entries reference it by AT-URI. Using `self` as the rkey means a single canonical guestbook per actor.",
  "id": "com.hsinyau.guestbook.marker",
  "lexicon": 1
}
