# at.nsid.cobalt.label.defs

> Published by [bnewbold.net](https://lexicon.garden/identity/did:plc:44ybard66vv44zksje25o7dz)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:44ybard66vv44zksje25o7dz/at.nsid.cobalt.label.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:44ybard66vv44zksje25o7dz/at.nsid.cobalt.label.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:44ybard66vv44zksje25o7dz/at.nsid.cobalt.label.defs/examples)

## Definitions

### `at.nsid.cobalt.label.defs#labelRequest`

**Type**: `object`

Request body for creation/negation of a label

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | No |  |
| `exp` | `string` (datetime) | No | expiration timestamp |
| `src` | `string` (did) | No | Label authority DID. Some servers might support only a single label authority, in which case this can be omitted, or must match exactly. Other servers might support multiple authorities. |
| `uri` | `string` (uri) | Yes | Subject URI. May be an AT-URI or DID. Support for other URI schemes is indeterminate. |
| `val` | `string` | Yes |  |

## Raw Schema

```json
{
  "id": "at.nsid.cobalt.label.defs",
  "defs": {
    "labelRequest": {
      "type": "object",
      "required": [
        "uri",
        "val"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "exp": {
          "type": "string",
          "format": "datetime",
          "description": "expiration timestamp"
        },
        "src": {
          "type": "string",
          "format": "did",
          "description": "Label authority DID. Some servers might support only a single label authority, in which case this can be omitted, or must match exactly. Other servers might support multiple authorities."
        },
        "uri": {
          "type": "string",
          "format": "uri",
          "description": "Subject URI. May be an AT-URI or DID. Support for other URI schemes is indeterminate."
        },
        "val": {
          "type": "string"
        }
      },
      "description": "Request body for creation/negation of a label"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
