computer.localnetwork.directory.getCharts

The tracks and artists the directory's DJs supported most in sets played in a time and place, counted the way 1001Tracklists counts its Top 101 Producers: a DJ (a project, however many accounts manage it) supports a track once however often they play it, a track charts once 3 DJs support it, and an artist gets at most 5 supports from one DJ, counting only tracks that chart. Also lists every city there are sets from.

Repository @localnetwork.computer did:plc:d42l64gsczg6qh2vo243xv5l not from the namespace authority
Details · query
Kindquery
Authoritydirectory.localnetwork.computer
Commit rev3n2kaczwtw42k
Indexed
cid bafyreibzuafzd4gskkhqusnw5lmktwrh67ue5ndpjzf75qtw3qoefj5rim

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The tracks and artists the directory's DJs supported most in sets played in a time and place, counted the way 1001Tracklists counts its Top 101 Producers: a DJ (a project, however many accounts manage it) supports a track once however often they play it, a track charts once 3 DJs support it, and an artist gets at most 5 supports from one DJ, counting only tracks that chart. Also lists every city there are sets from.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "artists": {
              "description": "Most supported first.",
              "items": {
                "ref": "computer.localnetwork.directory.defs#supportedArtist",
                "type": "ref"
              },
              "type": "array"
            },
            "places": {
              "description": "Cities with sets, by how many, whatever the other params say.",
              "items": {
                "ref": "computer.localnetwork.directory.defs#place",
                "type": "ref"
              },
              "type": "array"
            },
            "tracks": {
              "description": "Most supported first, then most recently played.",
              "items": {
                "ref": "computer.localnetwork.directory.defs#supportedTrack",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "tracks",
            "artists",
            "places"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "before": {
            "description": "The day after the last one counted, as YYYY-MM-DD. Without it, every set from `since` on.",
            "maxLength": 10,
            "minLength": 10,
            "type": "string"
          },
          "city": {
            "description": "Only sets played in this city (the set's location.locality, any case). Needs country.",
            "maxLength": 200,
            "type": "string"
          },
          "country": {
            "description": "The city's country, as an ISO 3166-1 alpha-2 code.",
            "maxLength": 2,
            "minLength": 2,
            "type": "string"
          },
          "limit": {
            "default": 50,
            "description": "The most tracks, and the most artists.",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "since": {
            "description": "The first day counted, as YYYY-MM-DD. Without it, every set before `before`.",
            "maxLength": 10,
            "minLength": 10,
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "computer.localnetwork.directory.getCharts",
  "lexicon": 1
}