{
  "$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
}
