# fm.freemix.attestation.proof

> Published by [lex-publisher.freemix.fm](https://lexicon.garden/identity/did:plc:bt7c6cqevgefnvej5cmgke4g)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:bt7c6cqevgefnvej5cmgke4g/fm.freemix.attestation.proof)
- [Documentation](https://lexicon.garden/lexicon/did:plc:bt7c6cqevgefnvej5cmgke4g/fm.freemix.attestation.proof/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:bt7c6cqevgefnvej5cmgke4g/fm.freemix.attestation.proof/examples)

## Definitions

### `fm.freemix.attestation.proof`

**Type**: `record`

A service attestation proving a FreeMix record existed with specific content at a specific time. Created by the FreeMix attestor service in its own repo as an independent witness.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `purpose` | `string` | Yes | Purpose of the attestation |
| `attestedAt` | `string` (datetime) | Yes | Timestamp when the attestation was created |
| `subjectCid` | `string` (cid) | Yes | CID of the record at time of attestation |
| `subjectDid` | `string` (did) | Yes | DID of the subject record's owner |
| `subjectUri` | `string` (at-uri) | Yes | AT URI of the record being attested |
| `contentHash` | `string` | Yes | SHA-256 content hash of the attested record |
| `subjectCollection` | `string` | Yes | NSID of the subject record's collection |

## Raw Schema

```json
{
  "id": "fm.freemix.attestation.proof",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subjectUri",
          "subjectCid",
          "subjectCollection",
          "subjectDid",
          "purpose",
          "contentHash",
          "attestedAt"
        ],
        "properties": {
          "purpose": {
            "type": "string",
            "maxLength": 100,
            "description": "Purpose of the attestation",
            "knownValues": [
              "license-grant-witness",
              "attribution-witness",
              "track-publish-witness",
              "stem-publish-witness"
            ]
          },
          "attestedAt": {
            "type": "string",
            "format": "datetime",
            "maxLength": 100,
            "description": "Timestamp when the attestation was created"
          },
          "subjectCid": {
            "type": "string",
            "format": "cid",
            "maxLength": 200,
            "description": "CID of the record at time of attestation"
          },
          "subjectDid": {
            "type": "string",
            "format": "did",
            "maxLength": 2048,
            "description": "DID of the subject record's owner"
          },
          "subjectUri": {
            "type": "string",
            "format": "at-uri",
            "maxLength": 3000,
            "description": "AT URI of the record being attested"
          },
          "contentHash": {
            "type": "string",
            "maxLength": 128,
            "description": "SHA-256 content hash of the attested record"
          },
          "subjectCollection": {
            "type": "string",
            "maxLength": 200,
            "description": "NSID of the subject record's collection"
          }
        }
      },
      "description": "A service attestation proving a FreeMix record existed with specific content at a specific time. Created by the FreeMix attestor service in its own repo as an independent witness."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
