# pub.chive.graph.vote

> Published by [chive.pub](https://lexicon.garden/identity/did:plc:7natp5xae72bddaqlkef2t4e)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.graph.vote)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.graph.vote/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.graph.vote/examples)

## Definitions

### `pub.chive.graph.vote`

**Type**: `record`

Vote on field proposal

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `vote` | `string` | Yes |  |
| `comment` | `string` | No |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `proposalUri` | `string` (at-uri) | Yes | Proposal being voted on |
| `schemaRevision` | `integer` | No | Schema revision this record was created with. Absent means revision 1. |

## Raw Schema

```json
{
  "id": "pub.chive.graph.vote",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "proposalUri",
          "vote",
          "createdAt"
        ],
        "properties": {
          "vote": {
            "type": "string",
            "knownValues": [
              "approve",
              "reject"
            ]
          },
          "comment": {
            "type": "string",
            "maxLength": 500
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "proposalUri": {
            "type": "string",
            "format": "at-uri",
            "description": "Proposal being voted on"
          },
          "schemaRevision": {
            "type": "integer",
            "minimum": 1,
            "description": "Schema revision this record was created with. Absent means revision 1."
          }
        }
      },
      "description": "Vote on field proposal"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
