# ai.newnal.mydata.relationshipsPets

> Pets and information related to their care.

- Kind: record
- Record key: tid
- 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.relationshipsPets)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.relationshipsPets/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.relationshipsPets/analytics)

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

Type: record · key tid

### Properties

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

## #entry (`ai.newnal.mydata.relationshipsPets#entry`)

Type: object

One pet.

### Properties

- `birthDate` (ref): The pet's date of birth.
  - Reference: `ai.newnal.mydata.defs#date`
- `breed` (string): The breed of the pet.
  - Constraints: maxLength: 2560, maxGraphemes: 256
- `name` (string): The name of the pet.
  - Constraints: maxLength: 2560, maxGraphemes: 256
- `notes` (string): An additional note.
  - Constraints: maxLength: 30000, maxGraphemes: 3000
- `species` (string): The species of the pet.
  - Constraints: maxLength: 640, maxGraphemes: 64, knownValues: dog | cat | bird | rabbit | fish | reptile | other
- `status` (string): The living and care status of the pet.
  - Constraints: maxLength: 640, maxGraphemes: 64, knownValues: living | deceased | rehomed | lost

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "entry": {
      "description": "One pet.",
      "properties": {
        "birthDate": {
          "description": "The pet's date of birth.",
          "ref": "ai.newnal.mydata.defs#date",
          "type": "ref"
        },
        "breed": {
          "description": "The breed of the pet.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "name": {
          "description": "The name of the pet.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "notes": {
          "description": "An additional note.",
          "maxGraphemes": 3000,
          "maxLength": 30000,
          "type": "string"
        },
        "species": {
          "description": "The species of the pet.",
          "knownValues": [
            "dog",
            "cat",
            "bird",
            "rabbit",
            "fish",
            "reptile",
            "other"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "status": {
          "description": "The living and care status of the pet.",
          "knownValues": [
            "living",
            "deceased",
            "rehomed",
            "lost"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "Pets and information related to their care.",
      "key": "tid",
      "record": {
        "properties": {
          "_meta": {
            "ref": "ai.newnal.mydata.defs#recordMeta",
            "type": "ref"
          },
          "data": {
            "closed": true,
            "refs": [
              "#entry"
            ],
            "type": "union"
          }
        },
        "required": [
          "data",
          "_meta"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "ai.newnal.mydata.relationshipsPets",
  "lexicon": 1
}
```
