# town.delve.labeler.service

> Published by [delve.town](https://lexicon.garden/identity/did:plc:qzqct2rrq4u2gmy5g3mjxske)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.labeler.service)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.labeler.service/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.labeler.service/examples)

## Definitions

### `town.delve.labeler.service`

**Type**: `record`

A declaration of the existence of labeler service.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `labels` | `union` | No |  |
| `policies` | `ref` → `town.delve.labeler.defs#labelerPolicies` | Yes |  |
| `reasonTypes` | `array` | No | The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed. |
| `subjectCollections` | `array` | No | Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type. |
| `subjectTypes` | `array` | No | The set of subject types (account, record, etc) this service accepts reports on. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A declaration of the existence of labeler service.",
      "key": "literal:self",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "labels": {
            "refs": [
              "com.atproto.label.defs#selfLabels"
            ],
            "type": "union"
          },
          "policies": {
            "ref": "town.delve.labeler.defs#labelerPolicies",
            "type": "ref"
          },
          "reasonTypes": {
            "description": "The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed.",
            "items": {
              "ref": "com.atproto.moderation.defs#reasonType",
              "type": "ref"
            },
            "type": "array"
          },
          "subjectCollections": {
            "description": "Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type.",
            "items": {
              "format": "nsid",
              "type": "string"
            },
            "type": "array"
          },
          "subjectTypes": {
            "description": "The set of subject types (account, record, etc) this service accepts reports on.",
            "items": {
              "ref": "com.atproto.moderation.defs#subjectType",
              "type": "ref"
            },
            "type": "array"
          }
        },
        "required": [
          "policies",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "town.delve.labeler.service",
  "lexicon": 1
}
```
