# app.standard-reader.defs

> Published by [standard-reader.app](https://lexicon.garden/identity/did:plc:f4os2wz5fjl56xpwcvtnqu7m)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:f4os2wz5fjl56xpwcvtnqu7m/app.standard-reader.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:f4os2wz5fjl56xpwcvtnqu7m/app.standard-reader.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:f4os2wz5fjl56xpwcvtnqu7m/app.standard-reader.defs/examples)

## Definitions

### `app.standard-reader.defs#profileView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `handle` | `string` | No |  |
| `avatarUrl` | `string` (uri) | No |  |
| `bannerUrl` | `string` (uri) | No |  |
| `description` | `string` | No |  |
| `displayName` | `string` | No |  |

### `app.standard-reader.defs#documentView`

**Type**: `object`

An article as shown in feed rows and search results (metadata only).

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `path` | `string` | No |  |
| `tags` | `array` | No |  |
| `title` | `string` | Yes |  |
| `isRead` | `boolean` | Yes |  |
| `featured` | `boolean` | No |  |
| `description` | `string` | No |  |
| `publishedAt` | `string` (datetime) | Yes |  |
| `canonicalUrl` | `string` (uri) | No |  |
| `commentCount` | `integer` | Yes |  |
| `coverImageUrl` | `string` (uri) | No |  |
| `publicationUri` | `string` (at-uri) | No |  |
| `recommendCount` | `integer` | Yes |  |
| `publicationName` | `string` | No |  |
| `searchTitleHtml` | `string` | No |  |
| `publicationTopic` | `string` | No |  |
| `hasRenderableBody` | `boolean` | Yes |  |
| `searchSnippetHtml` | `string` | No |  |
| `publicationIconUrl` | `string` (uri) | No |  |
| `publicationBannerUrl` | `string` (uri) | No |  |
| `publicationOwnerHandle` | `string` | No |  |
| `publicationOwnerAvatarUrl` | `string` (uri) | No |  |

### `app.standard-reader.defs#publicationView`

**Type**: `object`

A publication as shown in directory cards and profile headers.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `url` | `string` (uri) | Yes |  |
| `name` | `string` | Yes |  |
| `topic` | `string` | No |  |
| `iconUrl` | `string` (uri) | No |  |
| `verified` | `boolean` | No |  |
| `description` | `string` | No |  |
| `ownerHandle` | `string` | No |  |
| `documentCount` | `integer` | Yes |  |
| `lastDocumentAt` | `string` (datetime) | No |  |
| `ownerAvatarUrl` | `string` (uri) | No |  |
| `searchNameHtml` | `string` | No |  |
| `subscriberCount` | `integer` | Yes |  |
| `searchSnippetHtml` | `string` | No |  |

### `app.standard-reader.defs#resolveViewArticle`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `kind` | `string` | Yes |  |
| `title` | `string` | Yes |  |
| `isRead` | `boolean` | No |  |
| `readerUrl` | `string` (uri) | Yes |  |
| `authorName` | `string` | No |  |
| `documentUri` | `string` (at-uri) | Yes |  |
| `isFollowing` | `boolean` | No |  |
| `publishedAt` | `string` (datetime) | No |  |
| `authorHandle` | `string` | No |  |
| `canonicalUrl` | `string` (uri) | No |  |
| `commentCount` | `integer` | Yes |  |
| `isBookmarked` | `boolean` | No |  |
| `publicationUri` | `string` (at-uri) | No |  |
| `readingMinutes` | `integer` | No |  |
| `recommendCount` | `integer` | Yes |  |
| `authorAvatarUrl` | `string` (uri) | No |  |
| `publicationName` | `string` | No |  |
| `publicationHandle` | `string` | No |  |
| `publicationIconUrl` | `string` (uri) | No |  |
| `publicationReaderUrl` | `string` (uri) | No |  |
| `publicationOwnerAvatarUrl` | `string` (uri) | No |  |
| `publicationSubscriberCount` | `integer` | No |  |

### `app.standard-reader.defs#resolveViewUnknown`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `kind` | `string` | Yes |  |

### `app.standard-reader.defs#cursorPageDocuments`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `items` | `array` | Yes |  |
| `cursor` | `string` | No |  |

### `app.standard-reader.defs#resolveViewReaderLink`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `kind` | `string` | Yes |  |
| `readerUrl` | `string` | Yes |  |

### `app.standard-reader.defs#cursorPagePublications`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `items` | `array` | Yes |  |
| `cursor` | `string` | No |  |

### `app.standard-reader.defs#resolveViewPublication`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `kind` | `string` | Yes |  |
| `name` | `string` | Yes |  |
| `handle` | `string` | No |  |
| `iconUrl` | `string` (uri) | No |  |
| `siteUrl` | `string` (uri) | No |  |
| `readerUrl` | `string` (uri) | Yes |  |
| `description` | `string` | No |  |
| `isFollowing` | `boolean` | No |  |
| `ownerAvatarUrl` | `string` (uri) | No |  |
| `publicationUri` | `string` (at-uri) | Yes |  |
| `subscriberCount` | `integer` | No |  |

## Raw Schema

```json
{
  "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
}
```
