{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "detail": "Publish and update your DJ profile, your sets, their recordings and your locallibrary settings, remove the sets you delete and their recordings, and ask Local Network's directory to read them again.",
      "permissions": [
        {
          "action": [
            "create",
            "update"
          ],
          "collection": [
            "computer.localnetwork.locallibrary.settings"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "action": [
            "create",
            "update"
          ],
          "collection": [
            "computer.localnetwork.dj.profile"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "action": [
            "create",
            "update",
            "delete"
          ],
          "collection": [
            "computer.localnetwork.dj.set"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "action": [
            "create",
            "update",
            "delete"
          ],
          "collection": [
            "computer.localnetwork.dj.recording"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "aud": "*",
          "lxm": [
            "computer.localnetwork.directory.requestIndex"
          ],
          "resource": "rpc",
          "type": "permission"
        }
      ],
      "title": "Publish from locallibrary",
      "type": "permission-set"
    }
  },
  "id": "computer.localnetwork.locallibraryPublishing",
  "lexicon": 1
}
