{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get one published project by URI or slug. The output has no project when none matches. With counts, it also says how many press kits and upcoming shows the project's pages list and how many of its managers have DJ stats or sets on file, so they can hold room for them while those load.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "djs": {
              "description": "Managers of the project with a DJ stats or set record on file. Only with counts.",
              "minimum": 0,
              "type": "integer"
            },
            "pressKits": {
              "description": "Press kits naming the project, by the root or one of its managers, once each by record key. Only with counts.",
              "minimum": 0,
              "type": "integer"
            },
            "project": {
              "ref": "computer.localnetwork.directory.defs#projectView",
              "type": "ref"
            },
            "upcomingShows": {
              "description": "Upcoming shows of the project, as listShows lists them. Only with counts.",
              "minimum": 0,
              "type": "integer"
            }
          },
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "counts": {
            "description": "Also count the project's press kits, upcoming shows, and managers with DJ records.",
            "type": "boolean"
          },
          "slug": {
            "maxLength": 64,
            "type": "string"
          },
          "uri": {
            "format": "at-uri",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "computer.localnetwork.directory.getProject",
  "lexicon": 1
}
