# dev.jazco.boards.defs

> Published by [jaztesting.jazco.dev](https://lexicon.garden/identity/did:plc:wj2ubhxdhdbmkjq3pzckk7gx)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:wj2ubhxdhdbmkjq3pzckk7gx/dev.jazco.boards.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:wj2ubhxdhdbmkjq3pzckk7gx/dev.jazco.boards.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:wj2ubhxdhdbmkjq3pzckk7gx/dev.jazco.boards.defs/examples)

## Definitions

### `dev.jazco.boards.defs#boardView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `comments` | `integer` | Yes |  |
| `description` | `string` | No |  |
| `flairs` | `array` | No |  |
| `members` | `integer` | Yes | Repos the board's space host tracks, less removed members. |
| `name` | `string` | Yes |  |
| `owner` | `string` (did) | Yes |  |
| `pinned` | `array` | No |  |
| `posts` | `integer` | Yes |  |
| `uri` | `string` (uri) | Yes |  |

### `dev.jazco.boards.defs#commentView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `author` | `string` (did) | No |  |
| `body` | `string` | No |  |
| `cid` | `string` (cid) | No |  |
| `createdAt` | `string` (datetime) | No |  |
| `deleted` | `boolean` | No | A placeholder for a missing parent that still has replies. |
| `replies` | `array` | Yes |  |
| `score` | `integer` | Yes |  |
| `uri` | `string` (uri) | Yes |  |

### `dev.jazco.boards.defs#imageView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `alt` | `string` | No |  |
| `cid` | `string` (cid) | Yes |  |
| `mimeType` | `string` | No |  |
| `url` | `string` | No | dev.jazco.boards.getImage on this appview. |

### `dev.jazco.boards.defs#postView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `author` | `string` (did) | Yes |  |
| `body` | `string` | No |  |
| `cid` | `string` (cid) | Yes |  |
| `comments` | `integer` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `downs` | `integer` | Yes |  |
| `editedAt` | `string` (datetime) | No |  |
| `flair` | `string` | No |  |
| `image` | `ref` → `#imageView` | No |  |
| `pinned` | `boolean` | No |  |
| `score` | `integer` | Yes |  |
| `title` | `string` | Yes |  |
| `ups` | `integer` | Yes |  |
| `uri` | `string` (uri) | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "boardView": {
      "properties": {
        "comments": {
          "type": "integer"
        },
        "description": {
          "type": "string"
        },
        "flairs": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "members": {
          "description": "Repos the board's space host tracks, less removed members.",
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "owner": {
          "format": "did",
          "type": "string"
        },
        "pinned": {
          "items": {
            "format": "uri",
            "type": "string"
          },
          "type": "array"
        },
        "posts": {
          "type": "integer"
        },
        "uri": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "owner",
        "name",
        "members",
        "posts",
        "comments"
      ],
      "type": "object"
    },
    "commentView": {
      "properties": {
        "author": {
          "format": "did",
          "type": "string"
        },
        "body": {
          "type": "string"
        },
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "deleted": {
          "description": "A placeholder for a missing parent that still has replies.",
          "type": "boolean"
        },
        "replies": {
          "items": {
            "ref": "#commentView",
            "type": "ref"
          },
          "type": "array"
        },
        "score": {
          "type": "integer"
        },
        "uri": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "score",
        "replies"
      ],
      "type": "object"
    },
    "imageView": {
      "properties": {
        "alt": {
          "type": "string"
        },
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "mimeType": {
          "type": "string"
        },
        "url": {
          "description": "dev.jazco.boards.getImage on this appview.",
          "type": "string"
        }
      },
      "required": [
        "cid"
      ],
      "type": "object"
    },
    "postView": {
      "properties": {
        "author": {
          "format": "did",
          "type": "string"
        },
        "body": {
          "type": "string"
        },
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "comments": {
          "type": "integer"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "downs": {
          "type": "integer"
        },
        "editedAt": {
          "format": "datetime",
          "type": "string"
        },
        "flair": {
          "type": "string"
        },
        "image": {
          "ref": "#imageView",
          "type": "ref"
        },
        "pinned": {
          "type": "boolean"
        },
        "score": {
          "type": "integer"
        },
        "title": {
          "type": "string"
        },
        "ups": {
          "type": "integer"
        },
        "uri": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid",
        "author",
        "title",
        "score",
        "ups",
        "downs",
        "comments",
        "createdAt"
      ],
      "type": "object"
    }
  },
  "id": "dev.jazco.boards.defs",
  "lexicon": 1
}
```
