{
  "$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
}
