computer.localnetwork.directory.defs

Views served by the Local Network directory, the HappyView AppView that indexes published projects, their managers' DJ records, press kits and shows, and follows.

Repository @localnetwork.computer did:plc:d42l64gsczg6qh2vo243xv5l not from the namespace authority
Details · defs
Kinddefs
Authoritydirectory.localnetwork.computer
Commit rev3n2kacz6enu2n
Indexed

#artistCredit

object

Properties

mbid

string

Their MusicBrainz artist ID, as a bare lowercase UUID.

  • maxLength: 36

name

requiredstring
  • maxLength: 3000

#djView

object

A DJ and the active projects they manage.

Properties

did

requiredstring · did

projects

requiredarray
itemsref
Reference

#facet

object

Properties

count

requiredinteger
  • minimum: 0

value

requiredstring
  • maxLength: 48

#match

object

How well a project fits a show.

Properties

breakdown

requiredref
Reference

inRange

requiredboolean

False when the project is farther than the search radius and doesn't travel that far.

project

requiredref
Reference

reasons

requiredarray
itemsref
Reference

score

requiredinteger

Weighted fit across every factor.

  • minimum: 0
  • maximum: 100

warnings

requiredarray
itemsref
Reference

#matchBreakdown

object

Each factor's fit before weighting. Weights: genre 40, distance 25, budget 15, capacity 8, setType 7, format 5.

Properties

budget

requiredinteger
  • minimum: 0
  • maximum: 100

capacity

requiredinteger
  • minimum: 0
  • maximum: 100

distance

requiredinteger
  • minimum: 0
  • maximum: 100

format

requiredinteger
  • minimum: 0
  • maximum: 100

genre

requiredinteger
  • minimum: 0
  • maximum: 100

setType

requiredinteger
  • minimum: 0
  • maximum: 100

#matchNote

object

One reason a project fits a show, or one concern. Clients turn the code into text.

Properties

code

requiredstring
  • maxLength: 32
  • knownValues: plays | adjacentSound | noGenreOverlap | locationUnknown | local | nearby | travels | outOfRange | fitsBudget | aboveBudget | wellAboveBudget | fitsRoom | biggerRoom | smallerRoom | setType | formats | differentSetup

distanceM

integer

For nearby, travels, and outOfRange.

  • minimum: 0

formats

array

For formats: the formats both sides share.

itemsstring
  • maxLength: 32

genres

array

For plays: the project's closely matching genres.

itemsstring
  • maxLength: 48

setType

string

For setType.

  • maxLength: 32

#performerView

object

A performer the directory found: a published project, or a listed DJ's profile. Exactly one of the two is set.

Properties

Reference
Reference

#place

object

Properties

city

requiredstring
  • maxLength: 1000

count

requiredinteger
  • minimum: 0

country

requiredstring
  • maxLength: 10

#play

object

One time a DJ played a track.

Properties

did

requiredstring · did

The DJ: the set's author.

set

requiredref
Reference

When it starts in the set, when the set knows.

  • minimum: 0

#profileView

object

A DJ's profile that staff list in the directory, as the directory indexed it.

Properties

cid

requiredstring · cid

distanceM

integer

Meters from the searched location, when the search had one and the profile has coordinates.

  • minimum: 0

genres

requiredarray

The genres it was searched by: its performer section's, or when that names none, the ones the DJ plays most by their computer.localnetwork.dj.profile.

itemsstring
  • maxLength: 48

listing

requiredstring · at-uri

The root's computer.localnetwork.listing.profile that lists it.

record

requiredunknown

The computer.localnetwork.profile record.

uri

requiredstring · at-uri

#projectView

object

A published project as the directory indexed it.

Properties

cid

requiredstring · cid

distanceM

integer

Meters from the searched location, when the search had one and the project has coordinates.

  • minimum: 0

record

requiredunknown

The computer.localnetwork.project record.

uri

requiredstring · at-uri

#recordView

object

A record as the directory indexed it. Its collection's record script can leave fields out and add its own.

Properties

cid

requiredstring · cid

uri

requiredstring · at-uri

value

requiredunknown

#setView

object

A computer.localnetwork.dj.set by one of a project's managers, as the directory keeps it: what it was and where, without its tracks.

Properties

cid

requiredstring · cid

The set's current version.

date

requiredstring

The day it was played, as YYYY-MM-DD.

  • minLength: 10
  • maxLength: 10

kind

string
  • maxLength: 640

title

string
  • maxLength: 1000

trackCount

requiredinteger
  • minimum: 0

uri

requiredstring · at-uri

venue

string
  • maxLength: 1000

#showView

object

A show as the directory keeps it, with the project it's for.

Properties

cid

requiredstring · cid

distanceM

integer

Meters from the searched location, when the search had one and the show has coordinates.

  • minimum: 0

project

requiredref
Reference

record

requiredunknown

The computer.localnetwork.show record.

uri

requiredstring · at-uri

#supportedArtist

object

An artist whose tracks DJs played. An artist is their MusicBrainz ID, else their name in any case; a name some sets give one MBID counts as that MBID's. A DJ is an act: a project whose managers are all counted as one, and only while it's active.

Properties

djCount

requiredinteger

How many DJs that is.

  • minimum: 0

mbid

string

Their MusicBrainz artist ID, as a bare lowercase UUID.

  • maxLength: 36

name

requiredstring

The name sets credit them as most.

  • maxLength: 3000

supports

requiredinteger

Each DJ's distinct tracks of theirs, at most 5 per DJ, summed.

  • minimum: 0

#supportedTrack

object

A track DJs played, as its latest play names it. A track is its recording's MusicBrainz ID, else its ISRC, else its credit and title in any case; a track without an ID counts as the one other plays give it, when only one fits.

Properties

artist

string

The artist credit, as one line.

  • maxLength: 3000

artists

requiredarray

The artists it credits, one by one, or its whole credit as one.

itemsref
Reference

id

requiredstring

Opaque: tells tracks apart within one answer and between answers. Clients shouldn't read meaning into it.

  • maxLength: 6006

isrc

string
  • maxLength: 12

Its MusicBrainz recording ID, as a bare lowercase UUID.

  • maxLength: 36

supports

requiredinteger

How many DJs played it.

  • minimum: 0

title

requiredstring
  • maxLength: 3000

#trackPlays

object

A track and every time it was played.

Properties

plays

requiredarray
itemsref
Reference

track

requiredref
Reference

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • computer.localnetwork.defs

    not from the namespace authority

    Shared definitions for Local Network, where promoters find local DJ projects.

  • computer.localnetwork.directory.getArtist

    query not from the namespace authority

    Which of the directory's DJs played an artist's tracks, and where: each track that appears in their sets, most supported first, with every play, newest first (at most 1,000 plays). Asked for by mbid or by name. The output has no artist when no set credits them.