{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The home the user lives in and who they live with: the type of home, how it is held and the make-up of the household. The address is kept in profile.addresses and the people in relationships.people.",
      "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": "The home the user lives in and who they live with: the type of home, how it is held and the make-up of the household. The address is kept in profile.addresses and the people in relationships.people.",
      "properties": {
        "dependents": {
          "description": "The number of people who depend on the user for care or support.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        },
        "householdSize": {
          "description": "The number of people living in the household, the user included.",
          "maximum": 100,
          "minimum": 1,
          "type": "integer"
        },
        "housingType": {
          "description": "The type of home.",
          "knownValues": [
            "apartment",
            "house",
            "studio",
            "shared_housing",
            "dormitory",
            "other"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "livingWith": {
          "description": "List of who the user lives with.",
          "items": {
            "description": "One item of the list of who the user lives with.",
            "knownValues": [
              "alone",
              "spouse",
              "partner",
              "children",
              "parents",
              "siblings",
              "relatives",
              "roommates",
              "pets"
            ],
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "notes": {
          "description": "An additional note.",
          "maxGraphemes": 3000,
          "maxLength": 30000,
          "type": "string"
        },
        "tenure": {
          "description": "How the home is held.",
          "knownValues": [
            "owned",
            "rented",
            "family_owned",
            "employer_provided"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "ai.newnal.mydata.lifestyleHousehold",
  "lexicon": 1
}
