# computer.localnetwork.directory.matchProjects

> Rank active projects by how well they fit a show, best first.

- Kind: query
- Authority: directory.localnetwork.computer
- Lexicon: 1
- Published by [localnetwork.computer](https://lexicon.garden/identity/did:plc:d42l64gsczg6qh2vo243xv5l), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.directory.matchProjects)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.directory.matchProjects/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.directory.matchProjects/analytics)

## Query (`computer.localnetwork.directory.matchProjects`)

Type: query · GET

### Parameters (query string)

- `budgetTier` (string)
  - Constraints: maxLength: 32, knownValues: community | emerging | established | headliner
- `capacity` (integer)
  - Constraints: minimum: 1
- `formats` (array)
  - Constraints: maxLength: 10
  - `items` (string)
    - Constraints: maxLength: 48
- `genres` (array)
  - Constraints: maxLength: 12
  - `items` (string)
    - Constraints: maxLength: 48
- `includeOutOfRange` (boolean)
  - Constraints: default: false
- `latE6` (integer): Latitude in millionths of a degree, like the record's location.latE6.
  - Constraints: minimum: -90000000, maximum: 90000000
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 50, default: 30
- `lngE6` (integer): Longitude in millionths of a degree.
  - Constraints: minimum: -180000000, maximum: 180000000
- `radiusKm` (integer)
  - Constraints: minimum: 1, maximum: 2000, default: 50
- `setType` (string)
  - Constraints: maxLength: 32

### Output (application/json)

- `matches` (array, required)
  - `items` (ref)
    - Reference: `computer.localnetwork.directory.defs#match`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Rank active projects by how well they fit a show, best first.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "matches": {
              "items": {
                "ref": "computer.localnetwork.directory.defs#match",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "matches"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "budgetTier": {
            "knownValues": [
              "community",
              "emerging",
              "established",
              "headliner"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "capacity": {
            "minimum": 1,
            "type": "integer"
          },
          "formats": {
            "items": {
              "maxLength": 48,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "genres": {
            "items": {
              "maxLength": 48,
              "type": "string"
            },
            "maxLength": 12,
            "type": "array"
          },
          "includeOutOfRange": {
            "default": false,
            "type": "boolean"
          },
          "latE6": {
            "description": "Latitude in millionths of a degree, like the record's location.latE6.",
            "maximum": 90000000,
            "minimum": -90000000,
            "type": "integer"
          },
          "limit": {
            "default": 30,
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          },
          "lngE6": {
            "description": "Longitude in millionths of a degree.",
            "maximum": 180000000,
            "minimum": -180000000,
            "type": "integer"
          },
          "radiusKm": {
            "default": 50,
            "maximum": 2000,
            "minimum": 1,
            "type": "integer"
          },
          "setType": {
            "maxLength": 32,
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "computer.localnetwork.directory.matchProjects",
  "lexicon": 1
}
```
