{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "act": {
      "description": "A name DJs play under other than their own.",
      "properties": {
        "basics": {
          "ref": "computer.localnetwork.section.defs#basics",
          "type": "ref"
        },
        "form": {
          "description": "alias: one member. duo, group or collective: several.",
          "knownValues": [
            "alias",
            "duo",
            "group",
            "collective"
          ],
          "maxLength": 32,
          "type": "string"
        },
        "performer": {
          "ref": "computer.localnetwork.section.defs#performer",
          "type": "ref"
        },
        "slug": {
          "maxLength": 64,
          "minLength": 2,
          "type": "string"
        }
      },
      "required": [
        "slug",
        "form",
        "basics",
        "performer"
      ],
      "type": "object"
    },
    "dj": {
      "description": "A DJ under their own name, whose page is their profile.",
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    },
    "main": {
      "description": "Who a performer's space is for: an act, or a DJ under their own name. Written only by the Local Network root account, into the performer's space.",
      "key": "literal:self",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "formerly": {
            "description": "The projects this performer was before, so links to them still find it.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 20,
            "type": "array"
          },
          "subject": {
            "closed": false,
            "description": "An act, with what its page shows, or the DJ whose backstage and managers the space holds.",
            "refs": [
              "#act",
              "#dj"
            ],
            "type": "union"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "computer.localnetwork.performer",
  "lexicon": 1
}
