{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get scrobbles for an actor",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "scrobbles": {
              "items": {
                "ref": "app.rocksky.scrobble.defs#scrobbleViewBasic",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "description": "The DID or handle of the actor",
            "format": "at-identifier",
            "type": "string"
          },
          "limit": {
            "description": "The maximum number of albums to return",
            "minimum": 1,
            "type": "integer"
          },
          "offset": {
            "description": "The offset for pagination",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "did"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.rocksky.actor.getActorScrobbles",
  "lexicon": 1
}
