# ing.opn.availability.schedule

> General availability: the hours of a normal week, and dates that differ.

- Kind: record
- Record key: tid
- Authority: availability.opn.ing
- Lexicon: 1
- Published by [opn.ing](https://lexicon.garden/identity/did:plc:fd7yovynbzbli5i7m6tu76cl), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:fd7yovynbzbli5i7m6tu76cl/ing.opn.availability.schedule)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:fd7yovynbzbli5i7m6tu76cl/ing.opn.availability.schedule/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:fd7yovynbzbli5i7m6tu76cl/ing.opn.availability.schedule/analytics)

## Record (`ing.opn.availability.schedule`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `name` (string, required)
  - Constraints: minLength: 1, maxLength: 640, maxGraphemes: 64
- `overrides` (array)
  - Constraints: maxLength: 500
  - `items` (ref)
    - Reference: `ing.opn.availability.defs#override`
- `timeZone` (string, required): An IANA timezone name, such as Europe/Lisbon.
  - Constraints: maxLength: 64
- `weekly` (ref, required)
  - Reference: `ing.opn.availability.defs#week`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "General availability: the hours of a normal week, and dates that differ.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "name": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "minLength": 1,
            "type": "string"
          },
          "overrides": {
            "items": {
              "ref": "ing.opn.availability.defs#override",
              "type": "ref"
            },
            "maxLength": 500,
            "type": "array"
          },
          "timeZone": {
            "description": "An IANA timezone name, such as Europe/Lisbon.",
            "maxLength": 64,
            "type": "string"
          },
          "weekly": {
            "ref": "ing.opn.availability.defs#week",
            "type": "ref"
          }
        },
        "required": [
          "name",
          "timeZone",
          "weekly",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "ing.opn.availability.schedule",
  "lexicon": 1
}
```
