{
"id": "app.standard-reader.defs",
"defs": {
"profileView": {
"type": "object",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"handle": {
"type": "string",
"nullable": true
},
"avatarUrl": {
"type": "string",
"format": "uri",
"nullable": true
},
"bannerUrl": {
"type": "string",
"format": "uri",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
}
}
},
"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
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"title": {
"type": "string"
},
"isRead": {
"type": "boolean"
},
"featured": {
"type": "boolean"
},
"description": {
"type": "string",
"nullable": true
},
"publishedAt": {
"type": "string",
"format": "datetime"
},
"canonicalUrl": {
"type": "string",
"format": "uri",
"nullable": true
},
"commentCount": {
"type": "integer"
},
"coverImageUrl": {
"type": "string",
"format": "uri",
"nullable": true
},
"publicationUri": {
"type": "string",
"format": "at-uri",
"nullable": true
},
"recommendCount": {
"type": "integer"
},
"publicationName": {
"type": "string",
"nullable": true
},
"searchTitleHtml": {
"type": "string",
"nullable": true
},
"publicationTopic": {
"type": "string",
"nullable": true
},
"hasRenderableBody": {
"type": "boolean"
},
"searchSnippetHtml": {
"type": "string",
"nullable": true
},
"publicationIconUrl": {
"type": "string",
"format": "uri",
"nullable": true
},
"publicationBannerUrl": {
"type": "string",
"format": "uri",
"nullable": true
},
"publicationOwnerHandle": {
"type": "string",
"nullable": true
},
"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"
},
"topic": {
"type": "string",
"nullable": true
},
"iconUrl": {
"type": "string",
"format": "uri",
"nullable": true
},
"verified": {
"type": "boolean"
},
"description": {
"type": "string",
"nullable": true
},
"ownerHandle": {
"type": "string",
"nullable": true
},
"documentCount": {
"type": "integer"
},
"lastDocumentAt": {
"type": "string",
"format": "datetime",
"nullable": true
},
"ownerAvatarUrl": {
"type": "string",
"format": "uri",
"nullable": true
},
"searchNameHtml": {
"type": "string",
"nullable": true
},
"subscriberCount": {
"type": "integer"
},
"searchSnippetHtml": {
"type": "string",
"nullable": true
}
},
"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"
},
"title": {
"type": "string"
},
"isRead": {
"type": "boolean"
},
"readerUrl": {
"type": "string",
"format": "uri"
},
"authorName": {
"type": "string",
"nullable": true
},
"documentUri": {
"type": "string",
"format": "at-uri"
},
"isFollowing": {
"type": "boolean"
},
"publishedAt": {
"type": "string",
"format": "datetime",
"nullable": true
},
"authorHandle": {
"type": "string",
"nullable": true
},
"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
},
"publicationHandle": {
"type": "string",
"nullable": true
},
"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"
}
}
},
"cursorPageDocuments": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"ref": "app.standard-reader.defs#documentView",
"type": "ref"
}
},
"cursor": {
"type": "string",
"nullable": true
}
}
},
"resolveViewReaderLink": {
"type": "object",
"required": [
"kind",
"readerUrl"
],
"properties": {
"kind": {
"type": "string",
"const": "reader-link"
},
"readerUrl": {
"type": "string"
}
}
},
"cursorPagePublications": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"ref": "app.standard-reader.defs#publicationView",
"type": "ref"
}
},
"cursor": {
"type": "string",
"nullable": true
}
}
},
"resolveViewPublication": {
"type": "object",
"required": [
"kind",
"publicationUri",
"name",
"readerUrl"
],
"properties": {
"kind": {
"type": "string",
"const": "publication"
},
"name": {
"type": "string"
},
"handle": {
"type": "string",
"nullable": true
},
"iconUrl": {
"type": "string",
"format": "uri",
"nullable": true
},
"siteUrl": {
"type": "string",
"format": "uri",
"nullable": true
},
"readerUrl": {
"type": "string",
"format": "uri"
},
"description": {
"type": "string",
"nullable": true
},
"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
}