# site.mochott.adventEntry

> Record in the participant's repo claiming a day of a site.mochott.adventCalendar.

- Kind: record
- Record key: tid
- Authority: mochott.site
- Lexicon: 1
- Published by [tokimeki.blue](https://lexicon.garden/identity/did:plc:4tr5dqti7nmu6g2czpthntak), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/site.mochott.adventEntry)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/site.mochott.adventEntry/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/site.mochott.adventEntry/analytics)

## Record (`site.mochott.adventEntry`)

Type: record · key tid

### Properties

- `article` (string · at-uri): The post written for this day: a site.mochott.article or site.standard.document record.
- `calendar` (ref, required): The site.mochott.adventCalendar record this entry joins.
  - Reference: `com.atproto.repo.strongRef`
- `createdAt` (string · datetime, required): Timestamp when the day was claimed.
- `day` (integer, required): 1-based day of the calendar.
  - Constraints: minimum: 1, maximum: 31
- `plan` (string): What the participant plans to write about, shown before the post is published.
  - Constraints: maxLength: 1000, maxGraphemes: 100
- `updatedAt` (string · datetime): Timestamp when the entry was last updated.
- `url` (string · uri): The post written for this day when it is not an AT Protocol record. Accepted only when the calendar allows external posts.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Record in the participant's repo claiming a day of a site.mochott.adventCalendar.",
      "key": "tid",
      "record": {
        "properties": {
          "article": {
            "description": "The post written for this day: a site.mochott.article or site.standard.document record.",
            "format": "at-uri",
            "type": "string"
          },
          "calendar": {
            "description": "The site.mochott.adventCalendar record this entry joins.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "createdAt": {
            "description": "Timestamp when the day was claimed.",
            "format": "datetime",
            "type": "string"
          },
          "day": {
            "description": "1-based day of the calendar.",
            "maximum": 31,
            "minimum": 1,
            "type": "integer"
          },
          "plan": {
            "description": "What the participant plans to write about, shown before the post is published.",
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "updatedAt": {
            "description": "Timestamp when the entry was last updated.",
            "format": "datetime",
            "type": "string"
          },
          "url": {
            "description": "The post written for this day when it is not an AT Protocol record. Accepted only when the calendar allows external posts.",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "calendar",
          "day",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A participant's claim of one day of an advent calendar, and later the post written for it.",
  "id": "site.mochott.adventEntry",
  "lexicon": 1,
  "revision": 1
}
```
