sh.diffuse.output.track

tokono.ma

{
  "id": "sh.diffuse.output.track",
  "defs": {
    "main": {
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "id",
          "uri"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "uri": {
            "type": "string",
            "description": "This is a 'semi-permanent' URI. Tracks are typically cached so you can't, for example, use an URL that expires in several hours."
          },
          "kind": {
            "enum": [
              "audiobook",
              "miscellaneous",
              "music",
              "placeholder",
              "podcast",
              "stream"
            ],
            "type": "string"
          },
          "tags": {
            "ref": "#tags",
            "type": "ref"
          },
          "stats": {
            "ref": "#stats",
            "type": "ref"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "ephemeral": {
            "type": "boolean"
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    },
    "tags": {
      "type": "object",
      "properties": {
        "bpm": {
          "type": "integer"
        },
        "asin": {
          "type": "string"
        },
        "date": {
          "type": "string"
        },
        "disc": {
          "ref": "#count",
          "type": "ref"
        },
        "isrc": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "work": {
          "type": "string"
        },
        "year": {
          "type": "integer"
        },
        "album": {
          "type": "string"
        },
        "media": {
          "type": "string"
        },
        "moods": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "title": {
          "type": "string"
        },
        "track": {
          "ref": "#count",
          "type": "ref"
        },
        "artist": {
          "type": "string"
        },
        "genres": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "labels": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mixers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "artists": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "barcode": {
          "type": "string"
        },
        "gapless": {
          "type": "boolean"
        },
        "writers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "arranger": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "djmixers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "remixers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "albumsort": {
          "type": "string"
        },
        "composers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "engineers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "lyricists": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "peakLevel": {
          "type": "integer"
        },
        "producers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "titlesort": {
          "type": "string"
        },
        "artistsort": {
          "type": "string"
        },
        "conductors": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "publishers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "albumartist": {
          "type": "string"
        },
        "compilation": {
          "type": "boolean"
        },
        "releasedate": {
          "type": "string"
        },
        "technicians": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "albumartists": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "averageLevel": {
          "type": "integer"
        },
        "composersort": {
          "type": "string"
        },
        "originaldate": {
          "type": "string"
        },
        "originalyear": {
          "type": "integer"
        },
        "releasetypes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "releasestatus": {
          "type": "string"
        },
        "catalognumbers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "releasecountry": {
          "type": "string"
        },
        "albumartistsort": {
          "type": "string"
        }
      }
    },
    "count": {
      "type": "object",
      "required": [
        "no"
      ],
      "properties": {
        "no": {
          "type": "integer"
        },
        "of": {
          "type": "integer"
        }
      }
    },
    "stats": {
      "type": "object",
      "properties": {
        "codec": {
          "type": "string",
          "description": "Compression algorithm"
        },
        "bitrate": {
          "type": "integer",
          "description": "Bits per second"
        },
        "duration": {
          "type": "integer",
          "description": "Duration in milliseconds"
        },
        "lossless": {
          "type": "boolean",
          "description": "Is track lossless"
        },
        "albumGain": {
          "type": "integer",
          "description": "Album gain in dB"
        },
        "container": {
          "type": "string",
          "description": "Encoding format"
        },
        "trackGain": {
          "type": "integer",
          "description": "Track gain in dB"
        },
        "sampleRate": {
          "type": "integer",
          "description": "Samples per second"
        },
        "spectralFlux": {
          "type": "integer",
          "description": "Average spectral flux scaled by 1000, measuring how quickly the spectrum changes over time in the track's spectrogram"
        },
        "bitsPerSample": {
          "type": "integer",
          "description": "Bit depth"
        },
        "spectralSpread": {
          "type": "integer",
          "description": "Average spectral spread in Hz, the standard deviation of the spectrum around its centroid, derived from the track's spectrogram"
        },
        "spectralRolloff": {
          "type": "integer",
          "description": "Average spectral rolloff in Hz, the frequency below which 85% of the spectral energy is contained, derived from the track's spectrogram"
        },
        "numberOfChannels": {
          "type": "integer",
          "description": "Number of audio channels"
        },
        "spectralCentroid": {
          "type": "integer",
          "description": "Average spectral centroid in Hz, the perceptual brightness of the track derived from its spectrogram"
        },
        "spectralFlatness": {
          "type": "integer",
          "description": "Average spectral flatness on a 0-1000 scale (0 = fully tonal, 1000 = fully noisy), derived from the track's spectrogram"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against sh.diffuse.output.track

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:qvgds53otyohus5lfcfjssk2
CID
bafyreidv7olhs3faou6vomsvzt3yzgre6ma7mll4bm5hgenm3wwij5jio4
Indexed At
2026-08-27 22:01 UTC
AT-URI
at://did:plc:qvgds53otyohus5lfcfjssk2/com.atproto.lexicon.schema/sh.diffuse.output.track

Lexicon Garden

@