# dev.keytrace.serverPublicKey

> Published by [keytrace.dev](https://lexicon.garden/identity/did:plc:hcwfdlmprcc335oixyfsw7u3)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:hcwfdlmprcc335oixyfsw7u3/dev.keytrace.serverPublicKey)
- [Documentation](https://lexicon.garden/lexicon/did:plc:hcwfdlmprcc335oixyfsw7u3/dev.keytrace.serverPublicKey/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:hcwfdlmprcc335oixyfsw7u3/dev.keytrace.serverPublicKey/examples)

## Definitions

### `dev.keytrace.serverPublicKey`

**Type**: `record`

A signing key for claim attestations. It effectively hosts a JWK on a user's ATProto repo.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `comment` | `string` | No | Optional comment or description. |
| `publicJwk` | `string` | Yes | JWK public key as a JSON string (RFC 7517 format) |
| `validFrom` | `string` (datetime) | Yes | Datetime from which this key is valid (ISO 8601). |
| `validUntil` | `string` (datetime) | Yes | Datetime until which this key is valid (ISO 8601). |

## Raw Schema

```json
{
  "id": "dev.keytrace.serverPublicKey",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "publicJwk",
          "validFrom",
          "validUntil"
        ],
        "properties": {
          "comment": {
            "type": "string",
            "description": "Optional comment or description.",
            "maxGraphemes": 512
          },
          "publicJwk": {
            "type": "string",
            "maxLength": 512,
            "description": "JWK public key as a JSON string (RFC 7517 format)"
          },
          "validFrom": {
            "type": "string",
            "format": "datetime",
            "description": "Datetime from which this key is valid (ISO 8601)."
          },
          "validUntil": {
            "type": "string",
            "format": "datetime",
            "description": "Datetime until which this key is valid (ISO 8601)."
          }
        }
      },
      "description": "A signing key for claim attestations. It effectively hosts a JWK on a user's ATProto repo."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
