# cc.coffeencode.verification

> A badge Coffee & Code grants to an account. Created by the publication owner; the record key is conventionally the subject's DID.

- Kind: record
- Record key: any
- Authority: coffeencode.cc
- Lexicon: 1
- Published by [coffeencode.cc](https://lexicon.garden/identity/did:plc:z7hzwpuv5ytin56wecfxa4mx), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.verification)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.verification/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.verification/analytics)

## Record (`cc.coffeencode.verification`)

Type: record · key any

### Properties

- `createdAt` (string · datetime, required)
- `subject` (string · did, required): The account this badge applies to.
- `type` (string): Legacy single badge — prefer types. verified — real-human check; author — publication author; moderator — community moderator; developer — Coffee & Code developer.
  - Constraints: knownValues: verified | author | moderator | developer
- `types` (array): All badges to show for this account.
  - Constraints: maxLength: 4
  - `items` (string)
    - Constraints: knownValues: verified | author | moderator | developer

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A badge Coffee & Code grants to an account. Created by the publication owner; the record key is conventionally the subject's DID.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "subject": {
            "description": "The account this badge applies to.",
            "format": "did",
            "type": "string"
          },
          "type": {
            "description": "Legacy single badge — prefer types. verified — real-human check; author — publication author; moderator — community moderator; developer — Coffee & Code developer.",
            "knownValues": [
              "verified",
              "author",
              "moderator",
              "developer"
            ],
            "type": "string"
          },
          "types": {
            "description": "All badges to show for this account.",
            "items": {
              "knownValues": [
                "verified",
                "author",
                "moderator",
                "developer"
              ],
              "type": "string"
            },
            "maxLength": 4,
            "type": "array"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "cc.coffeencode.verification",
  "lexicon": 1
}
```
