# social.pmsky.proposal

> Published by [pmsky.social](https://lexicon.garden/identity/did:plc:xhkqwjmxuo65vwbwuiz53qor)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:xhkqwjmxuo65vwbwuiz53qor/social.pmsky.proposal)
- [Documentation](https://lexicon.garden/lexicon/did:plc:xhkqwjmxuo65vwbwuiz53qor/social.pmsky.proposal/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:xhkqwjmxuo65vwbwuiz53qor/social.pmsky.proposal/examples)

## Definitions

### `social.pmsky.proposal`

**Type**: `record`

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `aid` | `string` | No | The persistent, anonymous identifier for the user creating the proposal. |
| `cid` | `string` (cid) | No | Optionally, CID specifying the specific version of 'uri' resource this proposal applies to. |
| `cts` | `string` (datetime) | Yes | Timestamp when this proposal was created. |
| `sig` | `bytes` | No | Signature of dag-cbor encoded proposal. |
| `src` | `string` (did) | Yes | DID of the actor who created this proposal. |
| `typ` | `string` | Yes | The type of moderation action being proposed. Currently expected values are 'allowed_user' or 'label' |
| `uri` | `string` (uri) | Yes | AT URI of the record, repository (account), or other resource that this proposal applies to. |
| `val` | `string` | Yes | For 'label' proposals, the short string name of the value of the proposed label. |
| `ver` | `integer` | No | The AT Protocol version of the proposal object. |
| `note` | `string` | No | For 'label' proposals where 'val' is 'needs-context', the full text of any proposed annotation (e.g. community note) to be shown below the post. |
| `reasons` | `array` | No | An optional array of predefined reasons justifying the moderation action. |

## Raw Schema

```json
{
  "id": "social.pmsky.proposal",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "typ",
          "src",
          "uri",
          "val",
          "cts"
        ],
        "properties": {
          "aid": {
            "type": "string",
            "description": "The persistent, anonymous identifier for the user creating the proposal."
          },
          "cid": {
            "type": "string",
            "format": "cid",
            "description": "Optionally, CID specifying the specific version of 'uri' resource this proposal applies to."
          },
          "cts": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp when this proposal was created."
          },
          "sig": {
            "type": "bytes",
            "description": "Signature of dag-cbor encoded proposal."
          },
          "src": {
            "type": "string",
            "format": "did",
            "description": "DID of the actor who created this proposal."
          },
          "typ": {
            "type": "string",
            "description": "The type of moderation action being proposed. Currently expected values are 'allowed_user' or 'label'"
          },
          "uri": {
            "type": "string",
            "format": "uri",
            "description": "AT URI of the record, repository (account), or other resource that this proposal applies to."
          },
          "val": {
            "type": "string",
            "maxLength": 128,
            "description": "For 'label' proposals, the short string name of the value of the proposed label."
          },
          "ver": {
            "type": "integer",
            "description": "The AT Protocol version of the proposal object."
          },
          "note": {
            "type": "string",
            "description": "For 'label' proposals where 'val' is 'needs-context', the full text of any proposed annotation (e.g. community note) to be shown below the post."
          },
          "reasons": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "An optional array of predefined reasons justifying the moderation action."
          }
        },
        "description": "A proposed moderation action (e.g. adding a label or annotation to a post). Refers to some other resource via URI (e.g. an atproto post). Superset of 'com.atproto.proposal.defs#label."
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
