{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "entry": {
      "description": "One ability to perform a bodily function or everyday movement.",
      "properties": {
        "abilityLevel": {
          "description": "The level at which that movement or function is performed: independent (without help), limited (alone but with difficulty), device_assisted (with an assistive device such as a cane or a handrail), person_assisted (with another person watching over or holding), assisted (with help, when the kind of help is not known), unable (hardly or not at all).",
          "knownValues": [
            "independent",
            "limited",
            "assisted",
            "unable",
            "device_assisted",
            "person_assisted"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "activity": {
          "description": "The kind of movement or function.",
          "knownValues": [
            "walking",
            "standing",
            "sitting",
            "climbing_stairs",
            "lifting",
            "gripping",
            "reaching",
            "seeing",
            "hearing",
            "speaking",
            "chewing",
            "swallowing",
            "eating",
            "dressing",
            "bathing",
            "toileting",
            "remembering",
            "concentrating",
            "rising_from_chair",
            "rising_from_floor",
            "rising_from_bed",
            "raising_arm",
            "turning_trunk",
            "bending",
            "kneeling"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "assistance": {
          "description": "List of assistive devices and forms of support.",
          "items": {
            "description": "One item of the list of assistive devices and forms of support.",
            "knownValues": [
              "cane",
              "quad_cane",
              "walker",
              "rollator",
              "wheelchair",
              "handrail",
              "furniture_or_walls",
              "another_person"
            ],
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "extent": {
          "description": "How far the movement or function goes, when a level alone does not say it: the height an arm is raised to, the distance walked, how far the trunk turns, the food texture that can be chewed.",
          "knownValues": [
            "above_head",
            "face_height",
            "shoulder_height",
            "below_chest",
            "indoors_only",
            "near_home",
            "around_neighborhood",
            "beyond_neighborhood",
            "full_turn",
            "partial_turn",
            "neck_only",
            "any_food",
            "soft_food",
            "very_soft_food",
            "liquid_food"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "notes": {
          "description": "Free-form text and supplementary explanation.",
          "maxGraphemes": 3000,
          "maxLength": 30000,
          "type": "string"
        },
        "observedAt": {
          "description": "The time this functional state was actually observed or assessed. Not the time the record was stored or updated.",
          "format": "datetime",
          "type": "string"
        },
        "side": {
          "description": "The direction or side of the body.",
          "knownValues": [
            "left",
            "right",
            "both"
          ],
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "The general ability to perform bodily functions and everyday movements. It is not the same as a diagnosis or an official disability determination: health conditions and symptoms are kept in health.healthStatus, medical documents in health.medicalRecords, and accessibility preferences when using services in interactionPreferences.accessibility.",
      "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.healthFunctionalAbilities",
  "lexicon": 1
}
