computer.localnetwork.defs

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

Repository @localnetwork.computer did:plc:d42l64gsczg6qh2vo243xv5l not from the namespace authority
Details · defs
Kinddefs
Authoritylocalnetwork.computer
Commit rev3n2kacys3442n
Indexed
cid bafyreidtrsfsgf5x2yt3binmpx3s3n7b3fehtsg52kbhgswnccvn7pf5ni

Checks

Valid
  • large-string defs.projectProfile.properties.biomaxLength is over 20 KB. Use a blob for content that large.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "capacity": {
      "description": "Typical audience sizes the project plays to.",
      "properties": {
        "max": {
          "maximum": 1000000,
          "minimum": 0,
          "type": "integer"
        },
        "min": {
          "maximum": 1000000,
          "minimum": 0,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "fee": {
      "description": "One fee level: a tier, and optionally what it covers and an amount range.",
      "properties": {
        "currency": {
          "maxLength": 3,
          "minLength": 3,
          "type": "string"
        },
        "label": {
          "description": "What this level covers, like club nights, festivals, or private events.",
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "maxAmount": {
          "description": "Whole currency units.",
          "minimum": 0,
          "type": "integer"
        },
        "minAmount": {
          "description": "Whole currency units.",
          "minimum": 0,
          "type": "integer"
        },
        "tier": {
          "knownValues": [
            "community",
            "emerging",
            "established",
            "headliner"
          ],
          "maxLength": 32,
          "type": "string"
        }
      },
      "required": [
        "tier"
      ],
      "type": "object"
    },
    "link": {
      "properties": {
        "kind": {
          "knownValues": [
            "website",
            "soundcloud",
            "mixcloud",
            "bandcamp",
            "instagram",
            "bluesky",
            "residentAdvisor",
            "youtube",
            "spotify",
            "twitch",
            "other"
          ],
          "maxLength": 32,
          "type": "string"
        },
        "label": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "url": {
          "format": "uri",
          "maxLength": 2048,
          "type": "string"
        }
      },
      "required": [
        "kind",
        "url"
      ],
      "type": "object"
    },
    "location": {
      "properties": {
        "city": {
          "maxGraphemes": 100,
          "maxLength": 1000,
          "minLength": 1,
          "type": "string"
        },
        "country": {
          "description": "ISO 3166-1 alpha-2 country code.",
          "maxLength": 2,
          "minLength": 2,
          "type": "string"
        },
        "latE6": {
          "description": "Latitude in millionths of a degree (the atproto data model has no floats).",
          "maximum": 90000000,
          "minimum": -90000000,
          "type": "integer"
        },
        "lngE6": {
          "description": "Longitude in millionths of a degree.",
          "maximum": 180000000,
          "minimum": -180000000,
          "type": "integer"
        },
        "region": {
          "maxGraphemes": 100,
          "maxLength": 1000,
          "type": "string"
        }
      },
      "required": [
        "city",
        "country"
      ],
      "type": "object"
    },
    "mix": {
      "properties": {
        "durationMinutes": {
          "maximum": 1440,
          "minimum": 1,
          "type": "integer"
        },
        "recording": {
          "description": "The record where the mix can be played: an fm.plyr.track in a manager's own repo, for a mix whose url is that track on plyr.fm. Players play it where they can, and url stays the mix's link.",
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "set": {
          "description": "The set this mix is a recording of: a computer.localnetwork.dj.set record in a manager's own repo (locallibrary publishes them). The CID pins the version that was linked; the set can change after.",
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "title": {
          "maxGraphemes": 120,
          "maxLength": 1200,
          "minLength": 1,
          "type": "string"
        },
        "tracklist": {
          "accept": [
            "application/json"
          ],
          "description": "A mix report exported by locallibrary (format locallibrary.mix-report, version 1 or 2): which tracks the mix plays, when, at what tempo and key, and how they were mixed. Validated before it is published or shown.",
          "maxSize": 1000000,
          "type": "blob"
        },
        "url": {
          "format": "uri",
          "maxLength": 2048,
          "type": "string"
        },
        "year": {
          "maximum": 2100,
          "minimum": 1950,
          "type": "integer"
        }
      },
      "required": [
        "title",
        "url"
      ],
      "type": "object"
    },
    "money": {
      "properties": {
        "amount": {
          "description": "Whole currency units.",
          "minimum": 0,
          "type": "integer"
        },
        "currency": {
          "maxLength": 3,
          "minLength": 3,
          "type": "string"
        }
      },
      "required": [
        "amount",
        "currency"
      ],
      "type": "object"
    },
    "projectDetails": {
      "description": "Private booking details, kept in the industry space. The app shows them to the project's managers and to people granted one of its press kits.",
      "properties": {
        "bookingEmail": {
          "maxLength": 320,
          "type": "string"
        },
        "bookingPhone": {
          "maxLength": 64,
          "type": "string"
        },
        "hospitality": {
          "maxGraphemes": 1000,
          "maxLength": 10000,
          "type": "string"
        },
        "rateNotes": {
          "maxGraphemes": 1000,
          "maxLength": 10000,
          "type": "string"
        },
        "techRider": {
          "maxGraphemes": 2000,
          "maxLength": 20000,
          "type": "string"
        }
      },
      "type": "object"
    },
    "projectProfile": {
      "description": "The public, promoter-facing profile of a DJ project (a solo DJ, duo, group, or collective).",
      "properties": {
        "activeSince": {
          "description": "Year the project started playing out.",
          "maximum": 2100,
          "minimum": 1950,
          "type": "integer"
        },
        "avatar": {
          "accept": [
            "image/png",
            "image/jpeg",
            "image/webp"
          ],
          "maxSize": 1000000,
          "type": "blob"
        },
        "bio": {
          "maxGraphemes": 3000,
          "maxLength": 30000,
          "type": "string"
        },
        "capacity": {
          "ref": "#capacity",
          "type": "ref"
        },
        "fee": {
          "description": "Deprecated: use fees. Records written before fees existed carry their one fee level here.",
          "ref": "#fee",
          "type": "ref"
        },
        "fees": {
          "description": "The project's fee levels, like one per kind of booking. Each tier counts for budget matching.",
          "items": {
            "ref": "#fee",
            "type": "ref"
          },
          "type": "array"
        },
        "formats": {
          "items": {
            "knownValues": [
              "vinyl",
              "cdj",
              "controller",
              "hybrid",
              "live",
              "modular"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "maxLength": 8,
          "type": "array"
        },
        "genres": {
          "items": {
            "maxLength": 48,
            "minLength": 1,
            "type": "string"
          },
          "maxLength": 12,
          "minLength": 1,
          "type": "array"
        },
        "highlights": {
          "description": "Notable venues, events, residencies, or releases.",
          "items": {
            "maxGraphemes": 120,
            "maxLength": 1200,
            "type": "string"
          },
          "maxLength": 12,
          "type": "array"
        },
        "kind": {
          "knownValues": [
            "solo",
            "duo",
            "group",
            "collective",
            "live"
          ],
          "maxLength": 32,
          "type": "string"
        },
        "links": {
          "items": {
            "ref": "#link",
            "type": "ref"
          },
          "maxLength": 12,
          "type": "array"
        },
        "location": {
          "ref": "#location",
          "type": "ref"
        },
        "lookingFor": {
          "description": "The kinds of bookings the project wants.",
          "maxGraphemes": 500,
          "maxLength": 5000,
          "type": "string"
        },
        "mixes": {
          "items": {
            "ref": "#mix",
            "type": "ref"
          },
          "maxLength": 12,
          "type": "array"
        },
        "name": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "minLength": 1,
          "type": "string"
        },
        "pronouns": {
          "maxGraphemes": 24,
          "maxLength": 200,
          "type": "string"
        },
        "setLength": {
          "ref": "#setLength",
          "type": "ref"
        },
        "setTypes": {
          "items": {
            "knownValues": [
              "opener",
              "warmup",
              "peak",
              "closing",
              "allNight",
              "b2b",
              "daytime",
              "afterhours",
              "liveSet"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "maxLength": 10,
          "type": "array"
        },
        "tagline": {
          "maxGraphemes": 140,
          "maxLength": 1400,
          "type": "string"
        },
        "travel": {
          "ref": "#travel",
          "type": "ref"
        }
      },
      "required": [
        "name",
        "kind",
        "genres",
        "location"
      ],
      "type": "object"
    },
    "setLength": {
      "properties": {
        "maxMinutes": {
          "maximum": 720,
          "minimum": 15,
          "type": "integer"
        },
        "minMinutes": {
          "maximum": 720,
          "minimum": 15,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "showDetails": {
      "description": "A show a promoter is planning or booking for.",
      "properties": {
        "budget": {
          "ref": "#money",
          "type": "ref"
        },
        "budgetTier": {
          "knownValues": [
            "community",
            "emerging",
            "established",
            "headliner"
          ],
          "maxLength": 32,
          "type": "string"
        },
        "capacity": {
          "maximum": 1000000,
          "minimum": 0,
          "type": "integer"
        },
        "date": {
          "format": "datetime",
          "type": "string"
        },
        "genres": {
          "items": {
            "maxLength": 48,
            "type": "string"
          },
          "maxLength": 12,
          "type": "array"
        },
        "location": {
          "ref": "#location",
          "type": "ref"
        },
        "notes": {
          "maxGraphemes": 2000,
          "maxLength": 20000,
          "type": "string"
        },
        "setMinutes": {
          "maximum": 720,
          "minimum": 15,
          "type": "integer"
        },
        "setType": {
          "maxLength": 32,
          "type": "string"
        },
        "title": {
          "maxGraphemes": 120,
          "maxLength": 1200,
          "minLength": 1,
          "type": "string"
        },
        "venue": {
          "maxGraphemes": 120,
          "maxLength": 1200,
          "type": "string"
        }
      },
      "required": [
        "title"
      ],
      "type": "object"
    },
    "travel": {
      "properties": {
        "international": {
          "type": "boolean"
        },
        "notes": {
          "maxGraphemes": 300,
          "maxLength": 3000,
          "type": "string"
        },
        "radiusKm": {
          "maximum": 20000,
          "minimum": 0,
          "type": "integer"
        }
      },
      "type": "object"
    }
  },
  "description": "Shared definitions for Local Network, where promoters find local DJ projects.",
  "id": "computer.localnetwork.defs",
  "lexicon": 1
}