# com.luminframe.audioAnalysis

> Published by [luminframe.com](https://lexicon.garden/identity/did:plc:5mo4amsmatgfmzpeqqsuetot)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:5mo4amsmatgfmzpeqqsuetot/com.luminframe.audioAnalysis)
- [Documentation](https://lexicon.garden/lexicon/did:plc:5mo4amsmatgfmzpeqqsuetot/com.luminframe.audioAnalysis/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:5mo4amsmatgfmzpeqqsuetot/com.luminframe.audioAnalysis/examples)

## Definitions

### `com.luminframe.audioAnalysis`

**Type**: `record`

Reusable analysis of a public plyr track. Contains feature data, never audio or effect settings.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `analysis` | `blob` | Yes |  |
| `cacheKey` | `string` | Yes | Deterministic record key derived from track URI, exact input bytes, decoder compatibility, profile and detector settings. |
| `createdAt` | `string` (datetime) | Yes |  |
| `durationMs` | `integer` | Yes |  |
| `features` | `array` | Yes |  |
| `profile` | `string` | Yes |  |
| `schemaVersion` | `integer` | Yes |  |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Reusable analysis of a public plyr track. Contains feature data, never audio or effect settings.",
      "key": "any",
      "record": {
        "properties": {
          "analysis": {
            "accept": [
              "application/json"
            ],
            "maxSize": 2097152,
            "type": "blob"
          },
          "cacheKey": {
            "description": "Deterministic record key derived from track URI, exact input bytes, decoder compatibility, profile and detector settings.",
            "maxLength": 100,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "durationMs": {
            "maximum": 900000,
            "minimum": 1,
            "type": "integer"
          },
          "features": {
            "items": {
              "maxLength": 100,
              "type": "string"
            },
            "maxLength": 32,
            "type": "array"
          },
          "profile": {
            "maxLength": 200,
            "type": "string"
          },
          "schemaVersion": {
            "maximum": 1,
            "minimum": 1,
            "type": "integer"
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "schemaVersion",
          "profile",
          "subject",
          "cacheKey",
          "durationMs",
          "features",
          "analysis",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.luminframe.audioAnalysis",
  "lexicon": 1
}
```
