# win.tomo-x.atventar.entry

> A participant's registration for a day in an Advent calendar. The repository owner is the participant. URL and article reference may be provided independently or together, or omitted before publication.

- Kind: record
- Record key: tid
- Authority: atventar.tomo-x.win
- Lexicon: 1
- Published by [tomo-x.win](https://lexicon.garden/identity/did:plc:qcwvyds5tixmcwkwrg3hxgxd), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.atventar.entry)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.atventar.entry/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.atventar.entry/analytics)

## Record (`win.tomo-x.atventar.entry`)

Type: record · key tid

### Properties

- `article` (ref): Optional reference to the article's AT Protocol record, of any collection. Use a DID-based record URI. May coexist with url. Backlink path: .article.uri.
  - Reference: `com.atproto.repo.strongRef`
- `calendar` (ref, required): Reference to a win.tomo-x.atventar.calendar record. Use a DID-based record URI. Backlink path: .calendar.uri.
  - Reference: `com.atproto.repo.strongRef`
- `comment` (string)
  - Constraints: maxLength: 10000, maxGraphemes: 1000
- `createdAt` (string · datetime, required)
- `day` (integer, required): Day of December in the referenced calendar's year.
  - Constraints: minimum: 1, maximum: 25
- `title` (string, required): Public title or planned topic, available before the article is published.
  - Constraints: minLength: 1, maxLength: 2000, maxGraphemes: 200
- `url` (string · uri): Public HTTP(S) URL of the article. The application must enforce the HTTP(S) scheme. Omit when unpublished. Backlink path: .url.
  - Constraints: maxLength: 8192

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A participant's registration for a day in an Advent calendar. The repository owner is the participant. URL and article reference may be provided independently or together, or omitted before publication.",
      "key": "tid",
      "record": {
        "properties": {
          "article": {
            "description": "Optional reference to the article's AT Protocol record, of any collection. Use a DID-based record URI. May coexist with url. Backlink path: .article.uri.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "calendar": {
            "description": "Reference to a win.tomo-x.atventar.calendar record. Use a DID-based record URI. Backlink path: .calendar.uri.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "comment": {
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "day": {
            "description": "Day of December in the referenced calendar's year.",
            "maximum": 25,
            "minimum": 1,
            "type": "integer"
          },
          "title": {
            "description": "Public title or planned topic, available before the article is published.",
            "maxGraphemes": 200,
            "maxLength": 2000,
            "minLength": 1,
            "type": "string"
          },
          "url": {
            "description": "Public HTTP(S) URL of the article. The application must enforce the HTTP(S) scheme. Omit when unpublished. Backlink path: .url.",
            "format": "uri",
            "maxLength": 8192,
            "type": "string"
          }
        },
        "required": [
          "calendar",
          "day",
          "title",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "win.tomo-x.atventar.entry",
  "lexicon": 1
}
```
