app.standard-reader.defs

standard-reader.app

{
  "id": "app.standard-reader.defs",
  "defs": {
    "profileView": {
      "type": "object",
      "required": [
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "handle": {
          "type": "string",
          "nullable": true,
          "maxLength": 128
        },
        "avatarUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        },
        "bannerUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        },
        "description": {
          "type": "string",
          "nullable": true,
          "maxLength": 4096
        },
        "displayName": {
          "type": "string",
          "nullable": true,
          "maxLength": 128
        }
      }
    },
    "documentView": {
      "type": "object",
      "required": [
        "uri",
        "did",
        "title",
        "publishedAt",
        "recommendCount",
        "commentCount",
        "hasRenderableBody",
        "isRead"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "path": {
          "type": "string",
          "nullable": true,
          "maxLength": 2048
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 128
          },
          "nullable": true
        },
        "title": {
          "type": "string",
          "maxLength": 512
        },
        "isRead": {
          "type": "boolean"
        },
        "content": {
          "type": "unknown",
          "description": "Renderable body payload (the content-union of the site.standard.document record). Only populated by getDocument; omitted from feed and search views."
        },
        "featured": {
          "type": "boolean"
        },
        "description": {
          "type": "string",
          "nullable": true,
          "maxLength": 4096
        },
        "publishedAt": {
          "type": "string",
          "format": "datetime"
        },
        "canonicalUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        },
        "commentCount": {
          "type": "integer"
        },
        "contentFormat": {
          "type": "string",
          "maxLength": 256,
          "description": "Explicit content-union $type, used when the body payload lacks one. Only populated by getDocument."
        },
        "coverImageUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        },
        "publicationUri": {
          "type": "string",
          "format": "at-uri",
          "nullable": true
        },
        "recommendCount": {
          "type": "integer"
        },
        "publicationName": {
          "type": "string",
          "nullable": true,
          "maxLength": 128
        },
        "searchTitleHtml": {
          "type": "string",
          "nullable": true,
          "maxLength": 1024
        },
        "publicationTopic": {
          "type": "string",
          "nullable": true,
          "maxLength": 128
        },
        "hasRenderableBody": {
          "type": "boolean"
        },
        "searchSnippetHtml": {
          "type": "string",
          "nullable": true,
          "maxLength": 8192
        },
        "publicationIconUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        },
        "publicationBannerUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        },
        "publicationOwnerHandle": {
          "type": "string",
          "nullable": true,
          "maxLength": 128
        },
        "publicationOwnerAvatarUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        }
      },
      "description": "An article as shown in feed rows and search results (metadata only)."
    },
    "publicationView": {
      "type": "object",
      "required": [
        "uri",
        "did",
        "name",
        "url",
        "subscriberCount",
        "documentCount"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "name": {
          "type": "string",
          "maxLength": 128
        },
        "topic": {
          "type": "string",
          "nullable": true,
          "maxLength": 128
        },
        "iconUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        },
        "verified": {
          "type": "boolean"
        },
        "description": {
          "type": "string",
          "nullable": true,
          "maxLength": 4096
        },
        "ownerHandle": {
          "type": "string",
          "nullable": true,
          "maxLength": 128
        },
        "documentCount": {
          "type": "integer"
        },
        "lastDocumentAt": {
          "type": "string",
          "format": "datetime",
          "nullable": true
        },
        "ownerAvatarUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        },
        "searchNameHtml": {
          "type": "string",
          "nullable": true,
          "maxLength": 512
        },
        "subscriberCount": {
          "type": "integer"
        },
        "searchSnippetHtml": {
          "type": "string",
          "nullable": true,
          "maxLength": 8192
        }
      },
      "description": "A publication as shown in directory cards and profile headers."
    },
    "resolveViewArticle": {
      "type": "object",
      "required": [
        "kind",
        "documentUri",
        "title",
        "readerUrl",
        "recommendCount",
        "commentCount"
      ],
      "properties": {
        "kind": {
          "type": "string",
          "const": "article",
          "maxLength": 64
        },
        "title": {
          "type": "string",
          "maxLength": 512
        },
        "isRead": {
          "type": "boolean"
        },
        "readerUrl": {
          "type": "string",
          "format": "uri"
        },
        "authorName": {
          "type": "string",
          "nullable": true,
          "maxLength": 128
        },
        "documentUri": {
          "type": "string",
          "format": "at-uri"
        },
        "isFollowing": {
          "type": "boolean"
        },
        "publishedAt": {
          "type": "string",
          "format": "datetime",
          "nullable": true
        },
        "authorHandle": {
          "type": "string",
          "nullable": true,
          "maxLength": 128
        },
        "canonicalUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        },
        "commentCount": {
          "type": "integer"
        },
        "isBookmarked": {
          "type": "boolean"
        },
        "publicationUri": {
          "type": "string",
          "format": "at-uri",
          "nullable": true
        },
        "readingMinutes": {
          "type": "integer",
          "nullable": true
        },
        "recommendCount": {
          "type": "integer"
        },
        "authorAvatarUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        },
        "publicationName": {
          "type": "string",
          "nullable": true,
          "maxLength": 128
        },
        "publicationHandle": {
          "type": "string",
          "nullable": true,
          "maxLength": 128
        },
        "publicationIconUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        },
        "publicationReaderUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        },
        "publicationOwnerAvatarUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        },
        "publicationSubscriberCount": {
          "type": "integer",
          "nullable": true
        }
      }
    },
    "resolveViewUnknown": {
      "type": "object",
      "required": [
        "kind"
      ],
      "properties": {
        "kind": {
          "type": "string",
          "const": "unknown",
          "maxLength": 64
        }
      }
    },
    "cursorPageDocuments": {
      "type": "object",
      "required": [
        "items"
      ],
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "ref": "app.standard-reader.defs#documentView",
            "type": "ref"
          }
        },
        "cursor": {
          "type": "string",
          "nullable": true,
          "maxLength": 8192
        }
      }
    },
    "resolveViewReaderLink": {
      "type": "object",
      "required": [
        "kind",
        "readerUrl"
      ],
      "properties": {
        "kind": {
          "type": "string",
          "const": "reader-link",
          "maxLength": 64
        },
        "readerUrl": {
          "type": "string",
          "format": "uri",
          "maxLength": 2048
        }
      }
    },
    "cursorPagePublications": {
      "type": "object",
      "required": [
        "items"
      ],
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "ref": "app.standard-reader.defs#publicationView",
            "type": "ref"
          }
        },
        "cursor": {
          "type": "string",
          "nullable": true,
          "maxLength": 8192
        }
      }
    },
    "resolveViewPublication": {
      "type": "object",
      "required": [
        "kind",
        "publicationUri",
        "name",
        "readerUrl"
      ],
      "properties": {
        "kind": {
          "type": "string",
          "const": "publication",
          "maxLength": 64
        },
        "name": {
          "type": "string",
          "maxLength": 128
        },
        "handle": {
          "type": "string",
          "nullable": true,
          "maxLength": 128
        },
        "iconUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        },
        "siteUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        },
        "readerUrl": {
          "type": "string",
          "format": "uri"
        },
        "description": {
          "type": "string",
          "nullable": true,
          "maxLength": 4096
        },
        "isFollowing": {
          "type": "boolean"
        },
        "ownerAvatarUrl": {
          "type": "string",
          "format": "uri",
          "nullable": true
        },
        "publicationUri": {
          "type": "string",
          "format": "at-uri"
        },
        "subscriberCount": {
          "type": "integer",
          "nullable": true
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against app.standard-reader.defs

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:f4os2wz5fjl56xpwcvtnqu7m
CID
bafyreifez46hn75of7tax2d7zjhfrdirtcevh5zfwiup6n5qnfjl7xlqgu
Indexed At
2026-07-21 06:48 UTC
AT-URI
at://did:plc:f4os2wz5fjl56xpwcvtnqu7m/com.atproto.lexicon.schema/app.standard-reader.defs

Version History (3 versions)

Lexicon Garden

@