# fm.freemix.defs

> Shared definitions referenced by FreeMix record lexicons. Not a record.

- Kind: defs
- Authority: freemix.fm
- Lexicon: 1
- Published by [lex-publisher.freemix.fm](https://lexicon.garden/identity/did:plc:bt7c6cqevgefnvej5cmgke4g), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:bt7c6cqevgefnvej5cmgke4g/fm.freemix.defs)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:bt7c6cqevgefnvej5cmgke4g/fm.freemix.defs/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:bt7c6cqevgefnvej5cmgke4g/fm.freemix.defs/analytics)

## #credit (`fm.freemix.defs#credit`)

Type: object

One descriptive credit line (FM-550). Record-of-fact only; read by NO money/control code. PRO-registration shape, not a split sheet: no percentages, no payout fields. Used by fm.freemix.track (credits[]) and fm.freemix.release (credits[]).

### Properties

- `did` (string · did): ATProto identity of the credited party, when on-network. OPTIONAL: named-but-unlinked credits are the common case.
- `ipi` (string): IPI/CAE number for PRO reconciliation. Optional.
  - Constraints: maxLength: 20
- `name` (string, required): Credited party's name. Required. Works for off-network parties (sampled composer, session player) with no ATProto identity.
  - Constraints: maxLength: 256, maxGraphemes: 128
- `role` (string, required): Credit role. OPEN knownValues (not a closed enum): off-list roles are allowed without a lexicon bump; the list is UI-picker guidance. executiveProducer, compiler and artwork are mainly release-level. artist = the main (primary) artist the work is released under; a did links the account.
  - Constraints: maxLength: 64, knownValues: artist | composer | lyricist | composerLyricist | writer | arranger | adapter | translator | performer | featuredArtist | vocalist | producer | remixer | mixEngineer | masteringEngineer | sampledArtist | originalArtist | executiveProducer | compiler | artwork

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "credit": {
      "description": "One descriptive credit line (FM-550). Record-of-fact only; read by NO money/control code. PRO-registration shape, not a split sheet: no percentages, no payout fields. Used by fm.freemix.track (credits[]) and fm.freemix.release (credits[]).",
      "properties": {
        "did": {
          "description": "ATProto identity of the credited party, when on-network. OPTIONAL: named-but-unlinked credits are the common case.",
          "format": "did",
          "type": "string"
        },
        "ipi": {
          "description": "IPI/CAE number for PRO reconciliation. Optional.",
          "maxLength": 20,
          "type": "string"
        },
        "name": {
          "description": "Credited party's name. Required. Works for off-network parties (sampled composer, session player) with no ATProto identity.",
          "maxGraphemes": 128,
          "maxLength": 256,
          "type": "string"
        },
        "role": {
          "description": "Credit role. OPEN knownValues (not a closed enum): off-list roles are allowed without a lexicon bump; the list is UI-picker guidance. executiveProducer, compiler and artwork are mainly release-level. artist = the main (primary) artist the work is released under; a did links the account.",
          "knownValues": [
            "artist",
            "composer",
            "lyricist",
            "composerLyricist",
            "writer",
            "arranger",
            "adapter",
            "translator",
            "performer",
            "featuredArtist",
            "vocalist",
            "producer",
            "remixer",
            "mixEngineer",
            "masteringEngineer",
            "sampledArtist",
            "originalArtist",
            "executiveProducer",
            "compiler",
            "artwork"
          ],
          "maxLength": 64,
          "type": "string"
        }
      },
      "required": [
        "role",
        "name"
      ],
      "type": "object"
    }
  },
  "description": "Shared definitions referenced by FreeMix record lexicons. Not a record.",
  "id": "fm.freemix.defs",
  "lexicon": 1
}
```
