# ai.newnal.mydata.profileBirth

> When the user was born and the birthday they keep: the date of birth, or only the year when that is all that is known, and the birthday kept every year, which may be on a lunar calendar. It is apart from legal identity so that an age or a birthday can be shared without the legal name and nationality; the date registered on official documents is kept in profile.legalIdentity.

- Kind: record
- Record key: literal:self
- Authority: mydata.newnal.ai
- Lexicon: 1
- Published by [newnal-platform.newnal.id](https://lexicon.garden/identity/did:plc:vciktevzoffubdvdaajz2yp3), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.profileBirth)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.profileBirth/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.profileBirth/analytics)

## Record (`ai.newnal.mydata.profileBirth`)

Type: record · key literal:self

### Properties

- `_meta` (ref, required)
  - Reference: `ai.newnal.mydata.defs#recordMeta`
- `data` (union, required)
  - One of (closed): `#section`

## #section (`ai.newnal.mydata.profileBirth#section`)

Type: object

When the user was born and the birthday they keep: the date of birth, or only the year when that is all that is known, and the birthday kept every year, which may be on a lunar calendar. It is apart from legal identity so that an age or a birthday can be shared without the legal name and nationality; the date registered on official documents is kept in profile.legalIdentity.

### Properties

- `birthDate` (ref): The date of birth.
  - Reference: `ai.newnal.mydata.defs#date`
- `birthYear` (integer): The year of birth, for when the full date of birth is not known or not given. When birthDate is there, it is the year of that date.
  - Constraints: minimum: 1800, maximum: 2200
- `birthday` (ref): The birthday the user keeps every year, which may be on a lunar calendar. When absent, the month and day of birthDate.
  - Reference: `ai.newnal.mydata.defs#yearlyDate`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "When the user was born and the birthday they keep: the date of birth, or only the year when that is all that is known, and the birthday kept every year, which may be on a lunar calendar. It is apart from legal identity so that an age or a birthday can be shared without the legal name and nationality; the date registered on official documents is kept in profile.legalIdentity.",
      "key": "literal:self",
      "record": {
        "properties": {
          "_meta": {
            "ref": "ai.newnal.mydata.defs#recordMeta",
            "type": "ref"
          },
          "data": {
            "closed": true,
            "refs": [
              "#section"
            ],
            "type": "union"
          }
        },
        "required": [
          "data",
          "_meta"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "section": {
      "description": "When the user was born and the birthday they keep: the date of birth, or only the year when that is all that is known, and the birthday kept every year, which may be on a lunar calendar. It is apart from legal identity so that an age or a birthday can be shared without the legal name and nationality; the date registered on official documents is kept in profile.legalIdentity.",
      "properties": {
        "birthDate": {
          "description": "The date of birth.",
          "ref": "ai.newnal.mydata.defs#date",
          "type": "ref"
        },
        "birthYear": {
          "description": "The year of birth, for when the full date of birth is not known or not given. When birthDate is there, it is the year of that date.",
          "maximum": 2200,
          "minimum": 1800,
          "type": "integer"
        },
        "birthday": {
          "description": "The birthday the user keeps every year, which may be on a lunar calendar. When absent, the month and day of birthDate.",
          "ref": "ai.newnal.mydata.defs#yearlyDate",
          "type": "ref"
        }
      },
      "type": "object"
    }
  },
  "id": "ai.newnal.mydata.profileBirth",
  "lexicon": 1
}
```
