371 lines · 9.0 KB · JSONRaw
{ "format_version": 1, "id": "health_workout", "name": "Workout", "plural": "Workouts", "picture": null, "builtin": false, "visibility": "owner", "engine": null, "columns": [ { "key": "key", "name": "Key", "type": "text", "required": true, "hidden": true }, { "key": "kind", "name": "Workout", "type": "choice", "choices": [ "american_football", "archery", "australian_football", "badminton", "baseball", "basketball", "bowling", "boxing", "climbing", "cricket", "cross_training", "curling", "cycling", "dance", "elliptical", "equestrian_sports", "fencing", "fishing", "functional_strength_training", "golf", "gymnastics", "handball", "hiking", "hockey", "hunting", "lacrosse", "martial_arts", "mind_and_body", "paddle_sports", "play", "preparation_and_recovery", "racquetball", "rowing", "rugby", "running", "sailing", "skating_sports", "snow_sports", "soccer", "softball", "squash", "stair_climbing", "surfing_sports", "swimming", "table_tennis", "tennis", "track_and_field", "traditional_strength_training", "volleyball", "walking", "water_fitness", "water_polo", "water_sports", "wrestling", "yoga", "barre", "core_training", "cross_country_skiing", "downhill_skiing", "flexibility", "high_intensity_interval_training", "jump_rope", "kickboxing", "pilates", "snowboarding", "stairs", "step_training", "wheelchair_walk_pace", "wheelchair_run_pace", "tai_chi", "mixed_cardio", "hand_cycling", "disc_sports", "fitness_gaming", "cardio_dance", "social_dance", "pickleball", "cooldown", "swim_bike_run", "transition", "underwater_diving", "other" ], "labels": { "american_football": "American football", "archery": "Archery", "australian_football": "Australian football", "badminton": "Badminton", "baseball": "Baseball", "basketball": "Basketball", "bowling": "Bowling", "boxing": "Boxing", "climbing": "Climbing", "cricket": "Cricket", "cross_training": "Cross training", "curling": "Curling", "cycling": "Cycling", "dance": "Dance", "elliptical": "Elliptical", "equestrian_sports": "Equestrian sports", "fencing": "Fencing", "fishing": "Fishing", "functional_strength_training": "Functional strength training", "golf": "Golf", "gymnastics": "Gymnastics", "handball": "Handball", "hiking": "Hiking", "hockey": "Hockey", "hunting": "Hunting", "lacrosse": "Lacrosse", "martial_arts": "Martial arts", "mind_and_body": "Mind and body", "paddle_sports": "Paddle sports", "play": "Play", "preparation_and_recovery": "Preparation and recovery", "racquetball": "Racquetball", "rowing": "Rowing", "rugby": "Rugby", "running": "Running", "sailing": "Sailing", "skating_sports": "Skating sports", "snow_sports": "Snow sports", "soccer": "Soccer", "softball": "Softball", "squash": "Squash", "stair_climbing": "Stair climbing", "surfing_sports": "Surfing sports", "swimming": "Swimming", "table_tennis": "Table tennis", "tennis": "Tennis", "track_and_field": "Track and field", "traditional_strength_training": "Traditional strength training", "volleyball": "Volleyball", "walking": "Walking", "water_fitness": "Water fitness", "water_polo": "Water polo", "water_sports": "Water sports", "wrestling": "Wrestling", "yoga": "Yoga", "barre": "Barre", "core_training": "Core training", "cross_country_skiing": "Cross country skiing", "downhill_skiing": "Downhill skiing", "flexibility": "Flexibility", "high_intensity_interval_training": "High-intensity interval training", "jump_rope": "Jump rope", "kickboxing": "Kickboxing", "pilates": "Pilates", "snowboarding": "Snowboarding", "stairs": "Stairs", "step_training": "Step training", "wheelchair_walk_pace": "Wheelchair walk pace", "wheelchair_run_pace": "Wheelchair run pace", "tai_chi": "Tai chi", "mixed_cardio": "Mixed cardio", "hand_cycling": "Hand cycling", "disc_sports": "Disc sports", "fitness_gaming": "Fitness gaming", "cardio_dance": "Cardio dance", "social_dance": "Social dance", "pickleball": "Pickleball", "cooldown": "Cooldown", "swim_bike_run": "Swim, bike, run", "transition": "Transition", "underwater_diving": "Underwater diving", "other": "Other" }, "readonly": true, "required": true }, { "key": "day", "name": "Day", "type": "date", "required": true, "readonly": true }, { "key": "started_at", "name": "Started", "type": "date", "readonly": true, "format": "calendar-datetime" }, { "key": "ended_at", "name": "Ended", "type": "date", "readonly": true, "format": "calendar-datetime" }, { "key": "minutes", "name": "Minutes", "type": "number", "readonly": true, "units": { "one": "{n} minute", "other": "{n} minutes" } }, { "key": "distance_m", "name": "Distance (m)", "type": "number", "readonly": true }, { "key": "energy_kcal", "name": "Active energy (kcal)", "type": "number", "readonly": true }, { "key": "heart_rate_avg", "name": "Average heart rate", "type": "number", "readonly": true }, { "key": "heart_rate_max", "name": "Highest heart rate", "type": "number", "readonly": true }, { "key": "device", "name": "Recorded by", "type": "text", "readonly": true }, { "key": "sample", "name": "Sample", "type": "text", "readonly": true, "hidden": true }, { "key": "source", "name": "From", "type": "choice", "choices": [ "healthkit", "health_connect", "export" ], "labels": { "healthkit": "Apple Health", "health_connect": "Health Connect", "export": "Apple Health export" }, "readonly": true } ], "seal": { "clear": [ "key", "day" ] }, "title": "kind", "date": "day", "project": null, "order": null, "slip": { "title": "kind", "subtitle": "minutes", "trailing": "day", "photo": null, "toggle": null }, "tile": { "face": "slip-list" }, "card": { "face": "health.stopwatch", "fields": [ { "slot": "title", "column": "kind" }, { "slot": "subtitle", "column": "minutes" }, { "slot": "date", "column": "day", "form": "weekday_date" } ] }, "page": [ { "heading": null, "columns": [ "kind", "day", "started_at", "ended_at", "minutes" ] }, { "heading": "The workout", "columns": [ "distance_m", "energy_kcal", "heart_rate_avg", "heart_rate_max", "device", "source" ] } ], "sort": { "column": "day", "descending": true }, "empty": { "title": "No workouts yet", "message": "Workouts recorded in Apple Health stand here." }, "create": { "label": "Bring in", "doors": [ { "id": "apple_health", "label": "Read Apple Health", "object": "device", "reads": "apple_health" }, { "id": "export", "label": "Bring in a Health export", "object": "folder", "files": { "types": [ "public.zip-archive", "public.xml" ] } } ] }, "row_key": "key", "instructions": "One workout recorded in Apple Health: its kind, the day it started on, when it started and ended, its minutes, distance (metres), active energy (kcal) and average and highest heart rate. Its route is not kept. Read from Apple Health, never written back: a person never edits a reading here, and Cotton never writes one to Health. Sealed: only the day stays clear on the object."}