# computer.localnetwork.epk.defs

- Kind: defs
- Authority: epk.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.epk.defs)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.epk.defs/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.epk.defs/analytics)

## #access (`computer.localnetwork.epk.defs#access`)

Type: object

Who can ask to see the private part of a press kit, and whether they get it straight away. Each audience is auto (approved at once), review (a manager decides) or none (can't ask). Someone in several audiences gets the most open of their answers. Managers can always add people directly.

### Properties

- `anyone` (ref, required): Anyone signed in.
  - Reference: `#accessRule`
- `bookedWith` (ref, required): Accounts that have a booking thread with the project.
  - Reference: `#accessRule`
- `following` (ref, required): Accounts one of the project's managers follows on Bluesky.
  - Reference: `#accessRule`
- `promoters` (ref, required): Accounts that have sent a booking inquiry on Local Network.
  - Reference: `#accessRule`

## #accessRule (`computer.localnetwork.epk.defs#accessRule`)

Type: string

Constraints: maxLength: 32, knownValues: auto | review | none

## #aspectRatio (`computer.localnetwork.epk.defs#aspectRatio`)

Type: object

### Properties

- `height` (integer, required)
  - Constraints: minimum: 1
- `width` (integer, required)
  - Constraints: minimum: 1

## #contact (`computer.localnetwork.epk.defs#contact`)

Type: object

### Properties

- `email` (string)
  - Constraints: maxLength: 320
- `note` (string)
  - Constraints: maxLength: 5000, maxGraphemes: 500
- `phone` (string)
  - Constraints: maxLength: 64

## #photo (`computer.localnetwork.epk.defs#photo`)

Type: object

### Properties

- `alt` (string, required)
  - Constraints: maxLength: 10000, maxGraphemes: 1000
- `aspectRatio` (ref)
  - Reference: `#aspectRatio`
- `credit` (string): The photographer, for the caption press prints with it.
  - Constraints: maxLength: 2000, maxGraphemes: 200
- `image` (blob, required)
  - Constraints: maxSize: 5000000, accept: image/jpeg, image/png, image/webp

## #quote (`computer.localnetwork.epk.defs#quote`)

Type: object

### Properties

- `source` (string, required)
  - Constraints: minLength: 1, maxLength: 2000, maxGraphemes: 200
- `text` (string, required)
  - Constraints: minLength: 1, maxLength: 5000, maxGraphemes: 500
- `url` (string · uri)
  - Constraints: maxLength: 2048

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "access": {
      "description": "Who can ask to see the private part of a press kit, and whether they get it straight away. Each audience is auto (approved at once), review (a manager decides) or none (can't ask). Someone in several audiences gets the most open of their answers. Managers can always add people directly.",
      "properties": {
        "anyone": {
          "description": "Anyone signed in.",
          "ref": "#accessRule",
          "type": "ref"
        },
        "bookedWith": {
          "description": "Accounts that have a booking thread with the project.",
          "ref": "#accessRule",
          "type": "ref"
        },
        "following": {
          "description": "Accounts one of the project's managers follows on Bluesky.",
          "ref": "#accessRule",
          "type": "ref"
        },
        "promoters": {
          "description": "Accounts that have sent a booking inquiry on Local Network.",
          "ref": "#accessRule",
          "type": "ref"
        }
      },
      "required": [
        "anyone",
        "promoters",
        "following",
        "bookedWith"
      ],
      "type": "object"
    },
    "accessRule": {
      "knownValues": [
        "auto",
        "review",
        "none"
      ],
      "maxLength": 32,
      "type": "string"
    },
    "aspectRatio": {
      "properties": {
        "height": {
          "minimum": 1,
          "type": "integer"
        },
        "width": {
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "width",
        "height"
      ],
      "type": "object"
    },
    "contact": {
      "properties": {
        "email": {
          "maxLength": 320,
          "type": "string"
        },
        "note": {
          "maxGraphemes": 500,
          "maxLength": 5000,
          "type": "string"
        },
        "phone": {
          "maxLength": 64,
          "type": "string"
        }
      },
      "type": "object"
    },
    "photo": {
      "properties": {
        "alt": {
          "maxGraphemes": 1000,
          "maxLength": 10000,
          "type": "string"
        },
        "aspectRatio": {
          "ref": "#aspectRatio",
          "type": "ref"
        },
        "credit": {
          "description": "The photographer, for the caption press prints with it.",
          "maxGraphemes": 200,
          "maxLength": 2000,
          "type": "string"
        },
        "image": {
          "accept": [
            "image/jpeg",
            "image/png",
            "image/webp"
          ],
          "maxSize": 5000000,
          "type": "blob"
        }
      },
      "required": [
        "image",
        "alt"
      ],
      "type": "object"
    },
    "quote": {
      "properties": {
        "source": {
          "maxGraphemes": 200,
          "maxLength": 2000,
          "minLength": 1,
          "type": "string"
        },
        "text": {
          "maxGraphemes": 500,
          "maxLength": 5000,
          "minLength": 1,
          "type": "string"
        },
        "url": {
          "format": "uri",
          "maxLength": 2048,
          "type": "string"
        }
      },
      "required": [
        "text",
        "source"
      ],
      "type": "object"
    }
  },
  "id": "computer.localnetwork.epk.defs",
  "lexicon": 1
}
```
