@kingstinct/react-native-healthkit 13.3.1 → 14.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/ReactNativeHealthkit.podspec +1 -0
  2. package/app.plugin.ts +40 -2
  3. package/ios/BackgroundDeliveryManager.swift +196 -0
  4. package/ios/CategoryTypeModule.swift +1 -1
  5. package/ios/CoreModule.swift +24 -0
  6. package/ios/CorrelationTypeModule.swift +2 -35
  7. package/ios/ElectrocardiogramModule.swift +2 -34
  8. package/ios/HeartbeatSeriesModule.swift +2 -34
  9. package/ios/MedicationModule.swift +3 -35
  10. package/ios/PredicateHelpers.swift +2 -2
  11. package/ios/QuantityTypeModule.swift +11 -11
  12. package/ios/Serializers.swift +58 -90
  13. package/ios/StateOfMindModule.swift +2 -34
  14. package/ios/WorkoutProxy.swift +4 -149
  15. package/ios/generated/HealthkitGenerated.swift +52 -0
  16. package/lib/commonjs/generated/healthkit.generated.js +745 -0
  17. package/lib/commonjs/healthkit.ios.js +51 -17
  18. package/lib/commonjs/healthkit.js +120 -34
  19. package/lib/commonjs/specs/QuantityTypeModule.nitro.js +1 -0
  20. package/lib/commonjs/type-tests/generated-typing.js +2 -0
  21. package/lib/commonjs/types/CategoryType.js +19 -99
  22. package/lib/commonjs/types/Medication.js +2 -0
  23. package/lib/commonjs/types/MetadataEnums.js +17 -0
  24. package/lib/commonjs/types/QuantityType.js +4 -15
  25. package/lib/commonjs/types/WeatherCondition.js +2 -32
  26. package/lib/commonjs/types/Workouts.js +3 -98
  27. package/lib/commonjs/types/index.js +2 -0
  28. package/lib/module/generated/healthkit.generated.js +742 -0
  29. package/lib/module/healthkit.ios.js +49 -15
  30. package/lib/module/healthkit.js +94 -20
  31. package/lib/module/specs/QuantityTypeModule.nitro.js +1 -0
  32. package/lib/module/type-tests/generated-typing.js +1 -0
  33. package/lib/module/types/CategoryType.js +2 -98
  34. package/lib/module/types/Medication.js +1 -0
  35. package/lib/module/types/MetadataEnums.js +1 -0
  36. package/lib/module/types/QuantityType.js +2 -14
  37. package/lib/module/types/WeatherCondition.js +1 -32
  38. package/lib/module/types/Workouts.js +2 -98
  39. package/lib/module/types/index.js +2 -0
  40. package/lib/typescript/generated/healthkit.generated.d.ts +1006 -0
  41. package/lib/typescript/healthkit.d.ts +39 -36
  42. package/lib/typescript/healthkit.ios.d.ts +64 -53
  43. package/lib/typescript/hooks/useMostRecentQuantitySample.d.ts +3 -2
  44. package/lib/typescript/hooks/useMostRecentWorkout.d.ts +2 -2
  45. package/lib/typescript/hooks/useQuantitySampleById.d.ts +5 -4
  46. package/lib/typescript/hooks/useStatisticsForQuantity.d.ts +2 -2
  47. package/lib/typescript/hooks/useSubscribeToQuantitySamples.d.ts +1 -1
  48. package/lib/typescript/modules.d.ts +2 -2
  49. package/lib/typescript/specs/CategoryTypeModule.nitro.d.ts +3 -3
  50. package/lib/typescript/specs/CoreModule.nitro.d.ts +15 -0
  51. package/lib/typescript/specs/QuantityTypeModule.nitro.d.ts +20 -9
  52. package/lib/typescript/type-tests/generated-typing.d.ts +1 -0
  53. package/lib/typescript/types/CategoryType.d.ts +10 -104
  54. package/lib/typescript/types/CategoryTypeIdentifier.d.ts +1 -61
  55. package/lib/typescript/types/CorrelationType.d.ts +8 -2
  56. package/lib/typescript/types/ElectrocardiogramSample.d.ts +8 -1
  57. package/lib/typescript/types/HeartbeatSeries.d.ts +8 -1
  58. package/lib/typescript/types/InterfaceVerification.d.ts +14 -1
  59. package/lib/typescript/types/Medication.d.ts +10 -0
  60. package/lib/typescript/types/MetadataEnums.d.ts +1 -0
  61. package/lib/typescript/types/QuantitySample.d.ts +9 -1
  62. package/lib/typescript/types/QuantityType.d.ts +14 -18
  63. package/lib/typescript/types/QuantityTypeIdentifier.d.ts +1 -671
  64. package/lib/typescript/types/QueryOptions.d.ts +8 -4
  65. package/lib/typescript/types/Shared.d.ts +12 -41
  66. package/lib/typescript/types/StateOfMind.d.ts +8 -1
  67. package/lib/typescript/types/Subscriptions.d.ts +11 -11
  68. package/lib/typescript/types/WeatherCondition.d.ts +1 -30
  69. package/lib/typescript/types/Workouts.d.ts +20 -104
  70. package/lib/typescript/types/index.d.ts +2 -0
  71. package/lib/typescript/utils/getMostRecentQuantitySample.d.ts +2 -1
  72. package/lib/typescript/utils/getMostRecentWorkout.d.ts +2 -1
  73. package/lib/typescript/utils/getPreferredUnit.d.ts +2 -1
  74. package/lib/typescript/utils/getQuantitySampleById.d.ts +2 -1
  75. package/lib/typescript/utils/subscribeToQuantitySamples.d.ts +1 -1
  76. package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.hpp +55 -109
  77. package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Umbrella.hpp +12 -18
  78. package/nitrogen/generated/ios/c++/HybridCategoryTypeModuleSpecSwift.hpp +5 -14
  79. package/nitrogen/generated/ios/c++/HybridCoreModuleSpecSwift.hpp +18 -2
  80. package/nitrogen/generated/ios/c++/HybridCorrelationTypeModuleSpecSwift.hpp +1 -13
  81. package/nitrogen/generated/ios/c++/HybridElectrocardiogramModuleSpecSwift.hpp +1 -13
  82. package/nitrogen/generated/ios/c++/HybridHeartbeatSeriesModuleSpecSwift.hpp +2 -14
  83. package/nitrogen/generated/ios/c++/HybridMedicationModuleSpecSwift.hpp +1 -13
  84. package/nitrogen/generated/ios/c++/HybridQuantityTypeModuleSpecSwift.hpp +19 -28
  85. package/nitrogen/generated/ios/c++/HybridStateOfMindModuleSpecSwift.hpp +2 -14
  86. package/nitrogen/generated/ios/c++/HybridWorkoutProxySpecSwift.hpp +3 -116
  87. package/nitrogen/generated/ios/swift/CategorySample.swift +4 -329
  88. package/nitrogen/generated/ios/swift/CategoryTypeIdentifier.swift +112 -108
  89. package/nitrogen/generated/ios/swift/CategoryTypeIdentifierWriteable.swift +292 -0
  90. package/nitrogen/generated/ios/swift/CorrelationSample.swift +4 -347
  91. package/nitrogen/generated/ios/swift/ElectrocardiogramSample.swift +4 -329
  92. package/nitrogen/generated/ios/swift/FilterForWorkouts.swift +30 -30
  93. package/nitrogen/generated/ios/swift/FilterForWorkoutsBase.swift +30 -30
  94. package/nitrogen/generated/ios/swift/GeneralForm.swift +4 -4
  95. package/nitrogen/generated/ios/swift/HeartbeatSeriesSample.swift +4 -329
  96. package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec.swift +1 -1
  97. package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec_cxx.swift +1 -1
  98. package/nitrogen/generated/ios/swift/HybridCoreModuleSpec.swift +2 -0
  99. package/nitrogen/generated/ios/swift/HybridCoreModuleSpec_cxx.swift +38 -0
  100. package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec.swift +6 -6
  101. package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec_cxx.swift +6 -6
  102. package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec.swift +1 -27
  103. package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec_cxx.swift +2 -340
  104. package/nitrogen/generated/ios/swift/MedicationDoseEvent.swift +4 -329
  105. package/nitrogen/generated/ios/swift/ObjectTypeIdentifier.swift +492 -492
  106. package/nitrogen/generated/ios/swift/QuantitySample.swift +4 -329
  107. package/nitrogen/generated/ios/swift/QuantityTypeIdentifier.swift +380 -384
  108. package/nitrogen/generated/ios/swift/QuantityTypeIdentifierWriteable.swift +372 -376
  109. package/nitrogen/generated/ios/swift/{QueryOptionsWithAnchorAndUnit.swift → QueryOptionsWithAnchorAndStringUnit.swift} +5 -5
  110. package/nitrogen/generated/ios/swift/{QueryOptionsWithSortOrderAndUnit.swift → QueryOptionsWithSortOrderAndStringUnit.swift} +5 -5
  111. package/nitrogen/generated/ios/swift/QueryStatisticsResponseFromSingleSource.swift +37 -37
  112. package/nitrogen/generated/ios/swift/SampleTypeIdentifier.swift +492 -492
  113. package/nitrogen/generated/ios/swift/SampleTypeIdentifierWriteable.swift +482 -486
  114. package/nitrogen/generated/ios/swift/StateOfMindSample.swift +4 -329
  115. package/nitrogen/generated/ios/swift/{StatisticsQueryOptions.swift → StatisticsQueryOptionsWithStringUnit.swift} +5 -5
  116. package/nitrogen/generated/ios/swift/WorkoutEvent.swift +20 -2
  117. package/nitrogen/generated/ios/swift/WorkoutSample.swift +4 -402
  118. package/nitrogen/generated/shared/c++/CategorySample.hpp +8 -100
  119. package/nitrogen/generated/shared/c++/CategoryTypeIdentifier.hpp +153 -149
  120. package/nitrogen/generated/shared/c++/CategoryTypeIdentifierWriteable.hpp +328 -0
  121. package/nitrogen/generated/shared/c++/CorrelationSample.hpp +9 -105
  122. package/nitrogen/generated/shared/c++/ElectrocardiogramSample.hpp +7 -99
  123. package/nitrogen/generated/shared/c++/FilterForWorkouts.hpp +13 -13
  124. package/nitrogen/generated/shared/c++/FilterForWorkoutsBase.hpp +13 -13
  125. package/nitrogen/generated/shared/c++/GeneralForm.hpp +7 -7
  126. package/nitrogen/generated/shared/c++/HeartbeatSeriesSample.hpp +8 -100
  127. package/nitrogen/generated/shared/c++/HybridCategoryTypeModuleSpec.hpp +5 -2
  128. package/nitrogen/generated/shared/c++/HybridCoreModuleSpec.cpp +2 -0
  129. package/nitrogen/generated/shared/c++/HybridCoreModuleSpec.hpp +4 -2
  130. package/nitrogen/generated/shared/c++/HybridQuantityTypeModuleSpec.hpp +15 -15
  131. package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.cpp +1 -27
  132. package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.hpp +2 -37
  133. package/nitrogen/generated/shared/c++/MedicationDoseEvent.hpp +7 -99
  134. package/nitrogen/generated/shared/c++/ObjectTypeIdentifier.hpp +565 -565
  135. package/nitrogen/generated/shared/c++/QuantitySample.hpp +8 -100
  136. package/nitrogen/generated/shared/c++/QuantityTypeIdentifier.hpp +407 -411
  137. package/nitrogen/generated/shared/c++/QuantityTypeIdentifierWriteable.hpp +398 -402
  138. package/nitrogen/generated/shared/c++/{QueryOptionsWithAnchorAndUnit.hpp → QueryOptionsWithAnchorAndStringUnit.hpp} +11 -11
  139. package/nitrogen/generated/shared/c++/{QueryOptionsWithSortOrderAndUnit.hpp → QueryOptionsWithSortOrderAndStringUnit.hpp} +11 -11
  140. package/nitrogen/generated/shared/c++/QueryStatisticsResponseFromSingleSource.hpp +12 -12
  141. package/nitrogen/generated/shared/c++/SampleTypeIdentifier.hpp +559 -559
  142. package/nitrogen/generated/shared/c++/SampleTypeIdentifierWriteable.hpp +541 -545
  143. package/nitrogen/generated/shared/c++/StateOfMindSample.hpp +8 -100
  144. package/nitrogen/generated/shared/c++/{StatisticsQueryOptions.hpp → StatisticsQueryOptionsWithStringUnit.hpp} +11 -11
  145. package/nitrogen/generated/shared/c++/WorkoutEvent.hpp +8 -2
  146. package/nitrogen/generated/shared/c++/WorkoutSample.hpp +7 -120
  147. package/package.json +5 -2
  148. package/src/generated/healthkit-schema.json +3680 -0
  149. package/src/generated/healthkit.generated.ts +1307 -0
  150. package/src/healthkit.ios.ts +225 -19
  151. package/src/healthkit.ts +181 -55
  152. package/src/hooks/useMostRecentQuantitySample.ts +6 -5
  153. package/src/hooks/useMostRecentWorkout.ts +2 -2
  154. package/src/hooks/useQuantitySampleById.ts +6 -5
  155. package/src/hooks/useStatisticsForQuantity.ts +2 -1
  156. package/src/hooks/useSubscribeToQuantitySamples.ts +1 -1
  157. package/src/modules.ts +7 -2
  158. package/src/specs/CategoryTypeModule.nitro.ts +8 -5
  159. package/src/specs/CoreModule.nitro.ts +20 -0
  160. package/src/specs/QuantityTypeModule.nitro.ts +81 -7
  161. package/src/test-setup.ts +2 -0
  162. package/src/type-tests/generated-typing.ts +133 -0
  163. package/src/types/CategoryType.ts +52 -148
  164. package/src/types/CategoryTypeIdentifier.ts +5 -134
  165. package/src/types/CorrelationType.ts +13 -3
  166. package/src/types/ElectrocardiogramSample.ts +13 -1
  167. package/src/types/HeartbeatSeries.ts +13 -1
  168. package/src/types/InterfaceVerification.ts +38 -1
  169. package/src/types/Medication.ts +19 -0
  170. package/src/types/MetadataEnums.ts +15 -0
  171. package/src/types/QuantitySample.ts +14 -2
  172. package/src/types/QuantityType.ts +22 -122
  173. package/src/types/QuantityTypeIdentifier.ts +5 -772
  174. package/src/types/QueryOptions.ts +11 -4
  175. package/src/types/Shared.ts +22 -49
  176. package/src/types/StateOfMind.ts +13 -1
  177. package/src/types/Subscriptions.ts +19 -13
  178. package/src/types/WeatherCondition.ts +1 -31
  179. package/src/types/Workouts.ts +46 -108
  180. package/src/types/index.ts +2 -0
  181. package/src/utils/getMostRecentQuantitySample.ts +4 -3
  182. package/src/utils/getMostRecentWorkout.ts +5 -2
  183. package/src/utils/getPreferredUnit.ts +5 -4
  184. package/src/utils/getQuantitySampleById.ts +4 -3
  185. package/src/utils/subscribeToQuantitySamples.ts +5 -3
  186. package/nitrogen/generated/ios/swift/HeartRateMotionContext.swift +0 -44
  187. package/nitrogen/generated/ios/swift/InsulinDeliveryReason.swift +0 -40
  188. package/nitrogen/generated/ios/swift/WeatherCondition.swift +0 -144
  189. package/nitrogen/generated/shared/c++/HeartRateMotionContext.hpp +0 -67
  190. package/nitrogen/generated/shared/c++/InsulinDeliveryReason.hpp +0 -62
  191. package/nitrogen/generated/shared/c++/WeatherCondition.hpp +0 -88
@@ -0,0 +1,3680 @@
1
+ {
2
+ "quantityIdentifiers": [
3
+ {
4
+ "name": "HKQuantityTypeIdentifierActiveEnergyBurned",
5
+ "ios": "8.0",
6
+ "canonicalUnit": "kcal",
7
+ "aggregationStyle": "Cumulative",
8
+ "writeable": true,
9
+ "legacy": false
10
+ },
11
+ {
12
+ "name": "HKQuantityTypeIdentifierAppleExerciseTime",
13
+ "ios": "9.3",
14
+ "canonicalUnit": "min",
15
+ "aggregationStyle": "Cumulative",
16
+ "writeable": false,
17
+ "legacy": false
18
+ },
19
+ {
20
+ "name": "HKQuantityTypeIdentifierAppleMoveTime",
21
+ "ios": "14.5",
22
+ "canonicalUnit": "min",
23
+ "aggregationStyle": "Cumulative",
24
+ "writeable": true,
25
+ "legacy": false
26
+ },
27
+ {
28
+ "name": "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances",
29
+ "ios": "18.0",
30
+ "canonicalUnit": "count",
31
+ "aggregationStyle": "Discrete (Arithmetic)",
32
+ "writeable": true,
33
+ "legacy": false
34
+ },
35
+ {
36
+ "name": "HKQuantityTypeIdentifierAppleSleepingWristTemperature",
37
+ "ios": "16.0",
38
+ "canonicalUnit": "degC",
39
+ "aggregationStyle": "Discrete (Arithmetic)",
40
+ "writeable": true,
41
+ "legacy": false
42
+ },
43
+ {
44
+ "name": "HKQuantityTypeIdentifierAppleStandTime",
45
+ "ios": "13.0",
46
+ "canonicalUnit": "min",
47
+ "aggregationStyle": "Cumulative",
48
+ "writeable": false,
49
+ "legacy": false
50
+ },
51
+ {
52
+ "name": "HKQuantityTypeIdentifierAppleWalkingSteadiness",
53
+ "ios": "15.0",
54
+ "canonicalUnit": "%",
55
+ "aggregationStyle": "Discrete (Arithmetic)",
56
+ "writeable": false,
57
+ "legacy": false
58
+ },
59
+ {
60
+ "name": "HKQuantityTypeIdentifierAtrialFibrillationBurden",
61
+ "ios": "16.0",
62
+ "canonicalUnit": "%",
63
+ "aggregationStyle": "Discrete (Temporally Weighted)",
64
+ "writeable": false,
65
+ "legacy": false
66
+ },
67
+ {
68
+ "name": "HKQuantityTypeIdentifierBasalBodyTemperature",
69
+ "ios": "9.0",
70
+ "canonicalUnit": "degC",
71
+ "aggregationStyle": "Discrete (Arithmetic)",
72
+ "writeable": true,
73
+ "legacy": false
74
+ },
75
+ {
76
+ "name": "HKQuantityTypeIdentifierBasalEnergyBurned",
77
+ "ios": "8.0",
78
+ "canonicalUnit": "kcal",
79
+ "aggregationStyle": "Cumulative",
80
+ "writeable": true,
81
+ "legacy": false
82
+ },
83
+ {
84
+ "name": "HKQuantityTypeIdentifierBloodAlcoholContent",
85
+ "ios": "8.0",
86
+ "canonicalUnit": "%",
87
+ "aggregationStyle": "Discrete (Arithmetic)",
88
+ "writeable": true,
89
+ "legacy": false
90
+ },
91
+ {
92
+ "name": "HKQuantityTypeIdentifierBloodGlucose",
93
+ "ios": "8.0",
94
+ "canonicalUnit": "mg/dL",
95
+ "aggregationStyle": "Discrete (Arithmetic)",
96
+ "writeable": true,
97
+ "legacy": false
98
+ },
99
+ {
100
+ "name": "HKQuantityTypeIdentifierBloodPressureDiastolic",
101
+ "ios": "8.0",
102
+ "canonicalUnit": "mmHg",
103
+ "aggregationStyle": "Discrete (Arithmetic)",
104
+ "writeable": true,
105
+ "legacy": false
106
+ },
107
+ {
108
+ "name": "HKQuantityTypeIdentifierBloodPressureSystolic",
109
+ "ios": "8.0",
110
+ "canonicalUnit": "mmHg",
111
+ "aggregationStyle": "Discrete (Arithmetic)",
112
+ "writeable": true,
113
+ "legacy": false
114
+ },
115
+ {
116
+ "name": "HKQuantityTypeIdentifierBodyFatPercentage",
117
+ "ios": "8.0",
118
+ "canonicalUnit": "%",
119
+ "aggregationStyle": "Discrete (Arithmetic)",
120
+ "writeable": true,
121
+ "legacy": false
122
+ },
123
+ {
124
+ "name": "HKQuantityTypeIdentifierBodyMass",
125
+ "ios": "8.0",
126
+ "canonicalUnit": "kg",
127
+ "aggregationStyle": "Discrete (Arithmetic)",
128
+ "writeable": true,
129
+ "legacy": false
130
+ },
131
+ {
132
+ "name": "HKQuantityTypeIdentifierBodyMassIndex",
133
+ "ios": "8.0",
134
+ "canonicalUnit": "count",
135
+ "aggregationStyle": "Discrete (Arithmetic)",
136
+ "writeable": true,
137
+ "legacy": false
138
+ },
139
+ {
140
+ "name": "HKQuantityTypeIdentifierBodyTemperature",
141
+ "ios": "8.0",
142
+ "canonicalUnit": "degC",
143
+ "aggregationStyle": "Discrete (Arithmetic)",
144
+ "writeable": true,
145
+ "legacy": false
146
+ },
147
+ {
148
+ "name": "HKQuantityTypeIdentifierCrossCountrySkiingSpeed",
149
+ "ios": "18.0",
150
+ "canonicalUnit": "m/s",
151
+ "aggregationStyle": "Discrete (Arithmetic)",
152
+ "writeable": true,
153
+ "legacy": false
154
+ },
155
+ {
156
+ "name": "HKQuantityTypeIdentifierCyclingCadence",
157
+ "ios": "17.0",
158
+ "canonicalUnit": "count/min",
159
+ "aggregationStyle": "Discrete (Arithmetic)",
160
+ "writeable": true,
161
+ "legacy": false
162
+ },
163
+ {
164
+ "name": "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower",
165
+ "ios": "17.0",
166
+ "canonicalUnit": "W",
167
+ "aggregationStyle": "Discrete (Arithmetic)",
168
+ "writeable": true,
169
+ "legacy": false
170
+ },
171
+ {
172
+ "name": "HKQuantityTypeIdentifierCyclingPower",
173
+ "ios": "17.0",
174
+ "canonicalUnit": "W",
175
+ "aggregationStyle": "Discrete (Arithmetic)",
176
+ "writeable": true,
177
+ "legacy": false
178
+ },
179
+ {
180
+ "name": "HKQuantityTypeIdentifierCyclingSpeed",
181
+ "ios": "17.0",
182
+ "canonicalUnit": "m/s",
183
+ "aggregationStyle": "Discrete (Arithmetic)",
184
+ "writeable": true,
185
+ "legacy": false
186
+ },
187
+ {
188
+ "name": "HKQuantityTypeIdentifierDietaryBiotin",
189
+ "ios": "8.0",
190
+ "canonicalUnit": "g",
191
+ "aggregationStyle": "Cumulative",
192
+ "writeable": true,
193
+ "legacy": false
194
+ },
195
+ {
196
+ "name": "HKQuantityTypeIdentifierDietaryCaffeine",
197
+ "ios": "8.0",
198
+ "canonicalUnit": "g",
199
+ "aggregationStyle": "Cumulative",
200
+ "writeable": true,
201
+ "legacy": false
202
+ },
203
+ {
204
+ "name": "HKQuantityTypeIdentifierDietaryCalcium",
205
+ "ios": "8.0",
206
+ "canonicalUnit": "g",
207
+ "aggregationStyle": "Cumulative",
208
+ "writeable": true,
209
+ "legacy": false
210
+ },
211
+ {
212
+ "name": "HKQuantityTypeIdentifierDietaryCarbohydrates",
213
+ "ios": "8.0",
214
+ "canonicalUnit": "g",
215
+ "aggregationStyle": "Cumulative",
216
+ "writeable": true,
217
+ "legacy": false
218
+ },
219
+ {
220
+ "name": "HKQuantityTypeIdentifierDietaryChloride",
221
+ "ios": "8.0",
222
+ "canonicalUnit": "g",
223
+ "aggregationStyle": "Cumulative",
224
+ "writeable": true,
225
+ "legacy": false
226
+ },
227
+ {
228
+ "name": "HKQuantityTypeIdentifierDietaryCholesterol",
229
+ "ios": "8.0",
230
+ "canonicalUnit": "g",
231
+ "aggregationStyle": "Cumulative",
232
+ "writeable": true,
233
+ "legacy": false
234
+ },
235
+ {
236
+ "name": "HKQuantityTypeIdentifierDietaryChromium",
237
+ "ios": "8.0",
238
+ "canonicalUnit": "g",
239
+ "aggregationStyle": "Cumulative",
240
+ "writeable": true,
241
+ "legacy": false
242
+ },
243
+ {
244
+ "name": "HKQuantityTypeIdentifierDietaryCopper",
245
+ "ios": "8.0",
246
+ "canonicalUnit": "g",
247
+ "aggregationStyle": "Cumulative",
248
+ "writeable": true,
249
+ "legacy": false
250
+ },
251
+ {
252
+ "name": "HKQuantityTypeIdentifierDietaryEnergyConsumed",
253
+ "ios": "8.0",
254
+ "canonicalUnit": "kcal",
255
+ "aggregationStyle": "Cumulative",
256
+ "writeable": true,
257
+ "legacy": false
258
+ },
259
+ {
260
+ "name": "HKQuantityTypeIdentifierDietaryFatMonounsaturated",
261
+ "ios": "8.0",
262
+ "canonicalUnit": "g",
263
+ "aggregationStyle": "Cumulative",
264
+ "writeable": true,
265
+ "legacy": false
266
+ },
267
+ {
268
+ "name": "HKQuantityTypeIdentifierDietaryFatPolyunsaturated",
269
+ "ios": "8.0",
270
+ "canonicalUnit": "g",
271
+ "aggregationStyle": "Cumulative",
272
+ "writeable": true,
273
+ "legacy": false
274
+ },
275
+ {
276
+ "name": "HKQuantityTypeIdentifierDietaryFatSaturated",
277
+ "ios": "8.0",
278
+ "canonicalUnit": "g",
279
+ "aggregationStyle": "Cumulative",
280
+ "writeable": true,
281
+ "legacy": false
282
+ },
283
+ {
284
+ "name": "HKQuantityTypeIdentifierDietaryFatTotal",
285
+ "ios": "8.0",
286
+ "canonicalUnit": "g",
287
+ "aggregationStyle": "Cumulative",
288
+ "writeable": true,
289
+ "legacy": false
290
+ },
291
+ {
292
+ "name": "HKQuantityTypeIdentifierDietaryFiber",
293
+ "ios": "8.0",
294
+ "canonicalUnit": "g",
295
+ "aggregationStyle": "Cumulative",
296
+ "writeable": true,
297
+ "legacy": false
298
+ },
299
+ {
300
+ "name": "HKQuantityTypeIdentifierDietaryFolate",
301
+ "ios": "8.0",
302
+ "canonicalUnit": "g",
303
+ "aggregationStyle": "Cumulative",
304
+ "writeable": true,
305
+ "legacy": false
306
+ },
307
+ {
308
+ "name": "HKQuantityTypeIdentifierDietaryIodine",
309
+ "ios": "8.0",
310
+ "canonicalUnit": "g",
311
+ "aggregationStyle": "Cumulative",
312
+ "writeable": true,
313
+ "legacy": false
314
+ },
315
+ {
316
+ "name": "HKQuantityTypeIdentifierDietaryIron",
317
+ "ios": "8.0",
318
+ "canonicalUnit": "g",
319
+ "aggregationStyle": "Cumulative",
320
+ "writeable": true,
321
+ "legacy": false
322
+ },
323
+ {
324
+ "name": "HKQuantityTypeIdentifierDietaryMagnesium",
325
+ "ios": "8.0",
326
+ "canonicalUnit": "g",
327
+ "aggregationStyle": "Cumulative",
328
+ "writeable": true,
329
+ "legacy": false
330
+ },
331
+ {
332
+ "name": "HKQuantityTypeIdentifierDietaryManganese",
333
+ "ios": "8.0",
334
+ "canonicalUnit": "g",
335
+ "aggregationStyle": "Cumulative",
336
+ "writeable": true,
337
+ "legacy": false
338
+ },
339
+ {
340
+ "name": "HKQuantityTypeIdentifierDietaryMolybdenum",
341
+ "ios": "8.0",
342
+ "canonicalUnit": "g",
343
+ "aggregationStyle": "Cumulative",
344
+ "writeable": true,
345
+ "legacy": false
346
+ },
347
+ {
348
+ "name": "HKQuantityTypeIdentifierDietaryNiacin",
349
+ "ios": "8.0",
350
+ "canonicalUnit": "g",
351
+ "aggregationStyle": "Cumulative",
352
+ "writeable": true,
353
+ "legacy": false
354
+ },
355
+ {
356
+ "name": "HKQuantityTypeIdentifierDietaryPantothenicAcid",
357
+ "ios": "8.0",
358
+ "canonicalUnit": "g",
359
+ "aggregationStyle": "Cumulative",
360
+ "writeable": true,
361
+ "legacy": false
362
+ },
363
+ {
364
+ "name": "HKQuantityTypeIdentifierDietaryPhosphorus",
365
+ "ios": "8.0",
366
+ "canonicalUnit": "g",
367
+ "aggregationStyle": "Cumulative",
368
+ "writeable": true,
369
+ "legacy": false
370
+ },
371
+ {
372
+ "name": "HKQuantityTypeIdentifierDietaryPotassium",
373
+ "ios": "8.0",
374
+ "canonicalUnit": "g",
375
+ "aggregationStyle": "Cumulative",
376
+ "writeable": true,
377
+ "legacy": false
378
+ },
379
+ {
380
+ "name": "HKQuantityTypeIdentifierDietaryProtein",
381
+ "ios": "8.0",
382
+ "canonicalUnit": "g",
383
+ "aggregationStyle": "Cumulative",
384
+ "writeable": true,
385
+ "legacy": false
386
+ },
387
+ {
388
+ "name": "HKQuantityTypeIdentifierDietaryRiboflavin",
389
+ "ios": "8.0",
390
+ "canonicalUnit": "g",
391
+ "aggregationStyle": "Cumulative",
392
+ "writeable": true,
393
+ "legacy": false
394
+ },
395
+ {
396
+ "name": "HKQuantityTypeIdentifierDietarySelenium",
397
+ "ios": "8.0",
398
+ "canonicalUnit": "g",
399
+ "aggregationStyle": "Cumulative",
400
+ "writeable": true,
401
+ "legacy": false
402
+ },
403
+ {
404
+ "name": "HKQuantityTypeIdentifierDietarySodium",
405
+ "ios": "8.0",
406
+ "canonicalUnit": "g",
407
+ "aggregationStyle": "Cumulative",
408
+ "writeable": true,
409
+ "legacy": false
410
+ },
411
+ {
412
+ "name": "HKQuantityTypeIdentifierDietarySugar",
413
+ "ios": "8.0",
414
+ "canonicalUnit": "g",
415
+ "aggregationStyle": "Cumulative",
416
+ "writeable": true,
417
+ "legacy": false
418
+ },
419
+ {
420
+ "name": "HKQuantityTypeIdentifierDietaryThiamin",
421
+ "ios": "8.0",
422
+ "canonicalUnit": "g",
423
+ "aggregationStyle": "Cumulative",
424
+ "writeable": true,
425
+ "legacy": false
426
+ },
427
+ {
428
+ "name": "HKQuantityTypeIdentifierDietaryVitaminA",
429
+ "ios": "8.0",
430
+ "canonicalUnit": "g",
431
+ "aggregationStyle": "Cumulative",
432
+ "writeable": true,
433
+ "legacy": false
434
+ },
435
+ {
436
+ "name": "HKQuantityTypeIdentifierDietaryVitaminB12",
437
+ "ios": "8.0",
438
+ "canonicalUnit": "g",
439
+ "aggregationStyle": "Cumulative",
440
+ "writeable": true,
441
+ "legacy": false
442
+ },
443
+ {
444
+ "name": "HKQuantityTypeIdentifierDietaryVitaminB6",
445
+ "ios": "8.0",
446
+ "canonicalUnit": "g",
447
+ "aggregationStyle": "Cumulative",
448
+ "writeable": true,
449
+ "legacy": false
450
+ },
451
+ {
452
+ "name": "HKQuantityTypeIdentifierDietaryVitaminC",
453
+ "ios": "8.0",
454
+ "canonicalUnit": "g",
455
+ "aggregationStyle": "Cumulative",
456
+ "writeable": true,
457
+ "legacy": false
458
+ },
459
+ {
460
+ "name": "HKQuantityTypeIdentifierDietaryVitaminD",
461
+ "ios": "8.0",
462
+ "canonicalUnit": "g",
463
+ "aggregationStyle": "Cumulative",
464
+ "writeable": true,
465
+ "legacy": false
466
+ },
467
+ {
468
+ "name": "HKQuantityTypeIdentifierDietaryVitaminE",
469
+ "ios": "8.0",
470
+ "canonicalUnit": "g",
471
+ "aggregationStyle": "Cumulative",
472
+ "writeable": true,
473
+ "legacy": false
474
+ },
475
+ {
476
+ "name": "HKQuantityTypeIdentifierDietaryVitaminK",
477
+ "ios": "8.0",
478
+ "canonicalUnit": "g",
479
+ "aggregationStyle": "Cumulative",
480
+ "writeable": true,
481
+ "legacy": false
482
+ },
483
+ {
484
+ "name": "HKQuantityTypeIdentifierDietaryWater",
485
+ "ios": "9.0",
486
+ "canonicalUnit": "mL",
487
+ "aggregationStyle": "Cumulative",
488
+ "writeable": true,
489
+ "legacy": false
490
+ },
491
+ {
492
+ "name": "HKQuantityTypeIdentifierDietaryZinc",
493
+ "ios": "8.0",
494
+ "canonicalUnit": "g",
495
+ "aggregationStyle": "Cumulative",
496
+ "writeable": true,
497
+ "legacy": false
498
+ },
499
+ {
500
+ "name": "HKQuantityTypeIdentifierDistanceCrossCountrySkiing",
501
+ "ios": "18.0",
502
+ "canonicalUnit": "m",
503
+ "aggregationStyle": "Cumulative",
504
+ "writeable": true,
505
+ "legacy": false
506
+ },
507
+ {
508
+ "name": "HKQuantityTypeIdentifierDistanceCycling",
509
+ "ios": "8.0",
510
+ "canonicalUnit": "m",
511
+ "aggregationStyle": "Cumulative",
512
+ "writeable": true,
513
+ "legacy": false
514
+ },
515
+ {
516
+ "name": "HKQuantityTypeIdentifierDistanceDownhillSnowSports",
517
+ "ios": "11.2",
518
+ "canonicalUnit": "m",
519
+ "aggregationStyle": "Cumulative",
520
+ "writeable": true,
521
+ "legacy": false
522
+ },
523
+ {
524
+ "name": "HKQuantityTypeIdentifierDistancePaddleSports",
525
+ "ios": "18.0",
526
+ "canonicalUnit": "m",
527
+ "aggregationStyle": "Cumulative",
528
+ "writeable": true,
529
+ "legacy": false
530
+ },
531
+ {
532
+ "name": "HKQuantityTypeIdentifierDistanceRowing",
533
+ "ios": "18.0",
534
+ "canonicalUnit": "m",
535
+ "aggregationStyle": "Cumulative",
536
+ "writeable": true,
537
+ "legacy": false
538
+ },
539
+ {
540
+ "name": "HKQuantityTypeIdentifierDistanceSkatingSports",
541
+ "ios": "18.0",
542
+ "canonicalUnit": "m",
543
+ "aggregationStyle": "Cumulative",
544
+ "writeable": true,
545
+ "legacy": false
546
+ },
547
+ {
548
+ "name": "HKQuantityTypeIdentifierDistanceSwimming",
549
+ "ios": "10.0",
550
+ "canonicalUnit": "m",
551
+ "aggregationStyle": "Cumulative",
552
+ "writeable": true,
553
+ "legacy": false
554
+ },
555
+ {
556
+ "name": "HKQuantityTypeIdentifierDistanceWalkingRunning",
557
+ "ios": "8.0",
558
+ "canonicalUnit": "m",
559
+ "aggregationStyle": "Cumulative",
560
+ "writeable": true,
561
+ "legacy": false
562
+ },
563
+ {
564
+ "name": "HKQuantityTypeIdentifierDistanceWheelchair",
565
+ "ios": "10.0",
566
+ "canonicalUnit": "m",
567
+ "aggregationStyle": "Cumulative",
568
+ "writeable": true,
569
+ "legacy": false
570
+ },
571
+ {
572
+ "name": "HKQuantityTypeIdentifierElectrodermalActivity",
573
+ "ios": "8.0",
574
+ "canonicalUnit": "S",
575
+ "aggregationStyle": "Discrete (Arithmetic)",
576
+ "writeable": true,
577
+ "legacy": false
578
+ },
579
+ {
580
+ "name": "HKQuantityTypeIdentifierEnvironmentalAudioExposure",
581
+ "ios": "13.0",
582
+ "canonicalUnit": "dBASPL",
583
+ "aggregationStyle": "Discrete (Equivalent Continuous Level)",
584
+ "writeable": true,
585
+ "legacy": false
586
+ },
587
+ {
588
+ "name": "HKQuantityTypeIdentifierEnvironmentalSoundReduction",
589
+ "ios": "16.0",
590
+ "canonicalUnit": "dBASPL",
591
+ "aggregationStyle": "Discrete (Equivalent Continuous Level)",
592
+ "writeable": true,
593
+ "legacy": false
594
+ },
595
+ {
596
+ "name": "HKQuantityTypeIdentifierEstimatedWorkoutEffortScore",
597
+ "ios": "18.0",
598
+ "canonicalUnit": "appleEffortScore",
599
+ "aggregationStyle": "Discrete (Arithmetic)",
600
+ "writeable": true,
601
+ "legacy": false
602
+ },
603
+ {
604
+ "name": "HKQuantityTypeIdentifierFlightsClimbed",
605
+ "ios": "8.0",
606
+ "canonicalUnit": "count",
607
+ "aggregationStyle": "Cumulative",
608
+ "writeable": true,
609
+ "legacy": false
610
+ },
611
+ {
612
+ "name": "HKQuantityTypeIdentifierForcedExpiratoryVolume1",
613
+ "ios": "8.0",
614
+ "canonicalUnit": "L",
615
+ "aggregationStyle": "Discrete (Arithmetic)",
616
+ "writeable": true,
617
+ "legacy": false
618
+ },
619
+ {
620
+ "name": "HKQuantityTypeIdentifierForcedVitalCapacity",
621
+ "ios": "8.0",
622
+ "canonicalUnit": "L",
623
+ "aggregationStyle": "Discrete (Arithmetic)",
624
+ "writeable": true,
625
+ "legacy": false
626
+ },
627
+ {
628
+ "name": "HKQuantityTypeIdentifierHeadphoneAudioExposure",
629
+ "ios": "13.0",
630
+ "canonicalUnit": "dBASPL",
631
+ "aggregationStyle": "Discrete (Equivalent Continuous Level)",
632
+ "writeable": true,
633
+ "legacy": false
634
+ },
635
+ {
636
+ "name": "HKQuantityTypeIdentifierHeartRate",
637
+ "ios": "8.0",
638
+ "canonicalUnit": "count/s",
639
+ "aggregationStyle": "Discrete (Temporally Weighted)",
640
+ "writeable": true,
641
+ "legacy": false
642
+ },
643
+ {
644
+ "name": "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute",
645
+ "ios": "16.0",
646
+ "canonicalUnit": "count/min",
647
+ "aggregationStyle": "Discrete (Arithmetic)",
648
+ "writeable": true,
649
+ "legacy": false
650
+ },
651
+ {
652
+ "name": "HKQuantityTypeIdentifierHeartRateVariabilitySDNN",
653
+ "ios": "11.0",
654
+ "canonicalUnit": "ms",
655
+ "aggregationStyle": "Discrete (Arithmetic)",
656
+ "writeable": true,
657
+ "legacy": false
658
+ },
659
+ {
660
+ "name": "HKQuantityTypeIdentifierHeight",
661
+ "ios": "8.0",
662
+ "canonicalUnit": "m",
663
+ "aggregationStyle": "Discrete (Arithmetic)",
664
+ "writeable": true,
665
+ "legacy": false
666
+ },
667
+ {
668
+ "name": "HKQuantityTypeIdentifierInhalerUsage",
669
+ "ios": "8.0",
670
+ "canonicalUnit": "count",
671
+ "aggregationStyle": "Cumulative",
672
+ "writeable": true,
673
+ "legacy": false
674
+ },
675
+ {
676
+ "name": "HKQuantityTypeIdentifierInsulinDelivery",
677
+ "ios": "11.0",
678
+ "canonicalUnit": "IU",
679
+ "aggregationStyle": "Cumulative",
680
+ "writeable": true,
681
+ "legacy": false
682
+ },
683
+ {
684
+ "name": "HKQuantityTypeIdentifierLeanBodyMass",
685
+ "ios": "8.0",
686
+ "canonicalUnit": "kg",
687
+ "aggregationStyle": "Discrete (Arithmetic)",
688
+ "writeable": true,
689
+ "legacy": false
690
+ },
691
+ {
692
+ "name": "HKQuantityTypeIdentifierNikeFuel",
693
+ "ios": "8.0",
694
+ "canonicalUnit": "count",
695
+ "aggregationStyle": "Cumulative",
696
+ "writeable": true,
697
+ "legacy": false
698
+ },
699
+ {
700
+ "name": "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages",
701
+ "ios": "15.0",
702
+ "canonicalUnit": "count",
703
+ "aggregationStyle": "Cumulative",
704
+ "writeable": true,
705
+ "legacy": false
706
+ },
707
+ {
708
+ "name": "HKQuantityTypeIdentifierNumberOfTimesFallen",
709
+ "ios": "8.0",
710
+ "canonicalUnit": "count",
711
+ "aggregationStyle": "Cumulative",
712
+ "writeable": true,
713
+ "legacy": false
714
+ },
715
+ {
716
+ "name": "HKQuantityTypeIdentifierOxygenSaturation",
717
+ "ios": "8.0",
718
+ "canonicalUnit": "%",
719
+ "aggregationStyle": "Discrete (Arithmetic)",
720
+ "writeable": true,
721
+ "legacy": false
722
+ },
723
+ {
724
+ "name": "HKQuantityTypeIdentifierPaddleSportsSpeed",
725
+ "ios": "18.0",
726
+ "canonicalUnit": "m/s",
727
+ "aggregationStyle": "Discrete (Arithmetic)",
728
+ "writeable": true,
729
+ "legacy": false
730
+ },
731
+ {
732
+ "name": "HKQuantityTypeIdentifierPeakExpiratoryFlowRate",
733
+ "ios": "8.0",
734
+ "canonicalUnit": "L/min",
735
+ "aggregationStyle": "Discrete (Arithmetic)",
736
+ "writeable": true,
737
+ "legacy": false
738
+ },
739
+ {
740
+ "name": "HKQuantityTypeIdentifierPeripheralPerfusionIndex",
741
+ "ios": "8.0",
742
+ "canonicalUnit": "%",
743
+ "aggregationStyle": "Discrete (Arithmetic)",
744
+ "writeable": true,
745
+ "legacy": false
746
+ },
747
+ {
748
+ "name": "HKQuantityTypeIdentifierPhysicalEffort",
749
+ "ios": "17.0",
750
+ "canonicalUnit": "kcal/(kg*hr)",
751
+ "aggregationStyle": "Discrete (Arithmetic)",
752
+ "writeable": true,
753
+ "legacy": false
754
+ },
755
+ {
756
+ "name": "HKQuantityTypeIdentifierPushCount",
757
+ "ios": "10.0",
758
+ "canonicalUnit": "count",
759
+ "aggregationStyle": "Cumulative",
760
+ "writeable": true,
761
+ "legacy": false
762
+ },
763
+ {
764
+ "name": "HKQuantityTypeIdentifierRespiratoryRate",
765
+ "ios": "8.0",
766
+ "canonicalUnit": "count/s",
767
+ "aggregationStyle": "Discrete (Arithmetic)",
768
+ "writeable": true,
769
+ "legacy": false
770
+ },
771
+ {
772
+ "name": "HKQuantityTypeIdentifierRestingHeartRate",
773
+ "ios": "11.0",
774
+ "canonicalUnit": "count/min",
775
+ "aggregationStyle": "Discrete (Arithmetic)",
776
+ "writeable": true,
777
+ "legacy": false
778
+ },
779
+ {
780
+ "name": "HKQuantityTypeIdentifierRowingSpeed",
781
+ "ios": "18.0",
782
+ "canonicalUnit": "m/s",
783
+ "aggregationStyle": "Discrete (Arithmetic)",
784
+ "writeable": true,
785
+ "legacy": false
786
+ },
787
+ {
788
+ "name": "HKQuantityTypeIdentifierRunningGroundContactTime",
789
+ "ios": "16.0",
790
+ "canonicalUnit": "ms",
791
+ "aggregationStyle": "Discrete (Arithmetic)",
792
+ "writeable": true,
793
+ "legacy": false
794
+ },
795
+ {
796
+ "name": "HKQuantityTypeIdentifierRunningPower",
797
+ "ios": "16.0",
798
+ "canonicalUnit": "W",
799
+ "aggregationStyle": "Discrete (Arithmetic)",
800
+ "writeable": true,
801
+ "legacy": false
802
+ },
803
+ {
804
+ "name": "HKQuantityTypeIdentifierRunningSpeed",
805
+ "ios": "16.0",
806
+ "canonicalUnit": "m/s",
807
+ "aggregationStyle": "Discrete (Arithmetic)",
808
+ "writeable": true,
809
+ "legacy": false
810
+ },
811
+ {
812
+ "name": "HKQuantityTypeIdentifierRunningStrideLength",
813
+ "ios": "16.0",
814
+ "canonicalUnit": "m",
815
+ "aggregationStyle": "Discrete (Arithmetic)",
816
+ "writeable": true,
817
+ "legacy": false
818
+ },
819
+ {
820
+ "name": "HKQuantityTypeIdentifierRunningVerticalOscillation",
821
+ "ios": "16.0",
822
+ "canonicalUnit": "cm",
823
+ "aggregationStyle": "Discrete (Arithmetic)",
824
+ "writeable": true,
825
+ "legacy": false
826
+ },
827
+ {
828
+ "name": "HKQuantityTypeIdentifierSixMinuteWalkTestDistance",
829
+ "ios": "14.0",
830
+ "canonicalUnit": "m",
831
+ "aggregationStyle": "Discrete (Arithmetic)",
832
+ "writeable": true,
833
+ "legacy": false
834
+ },
835
+ {
836
+ "name": "HKQuantityTypeIdentifierStairAscentSpeed",
837
+ "ios": "14.0",
838
+ "canonicalUnit": "m/s",
839
+ "aggregationStyle": "Discrete (Arithmetic)",
840
+ "writeable": true,
841
+ "legacy": false
842
+ },
843
+ {
844
+ "name": "HKQuantityTypeIdentifierStairDescentSpeed",
845
+ "ios": "14.0",
846
+ "canonicalUnit": "m/s",
847
+ "aggregationStyle": "Discrete (Arithmetic)",
848
+ "writeable": true,
849
+ "legacy": false
850
+ },
851
+ {
852
+ "name": "HKQuantityTypeIdentifierStepCount",
853
+ "ios": "8.0",
854
+ "canonicalUnit": "count",
855
+ "aggregationStyle": "Cumulative",
856
+ "writeable": true,
857
+ "legacy": false
858
+ },
859
+ {
860
+ "name": "HKQuantityTypeIdentifierSwimmingStrokeCount",
861
+ "ios": "10.0",
862
+ "canonicalUnit": "count",
863
+ "aggregationStyle": "Cumulative",
864
+ "writeable": true,
865
+ "legacy": false
866
+ },
867
+ {
868
+ "name": "HKQuantityTypeIdentifierTimeInDaylight",
869
+ "ios": "17.0",
870
+ "canonicalUnit": "min",
871
+ "aggregationStyle": "Cumulative",
872
+ "writeable": true,
873
+ "legacy": false
874
+ },
875
+ {
876
+ "name": "HKQuantityTypeIdentifierUnderwaterDepth",
877
+ "ios": "16.0",
878
+ "canonicalUnit": "m",
879
+ "aggregationStyle": "Discrete (Arithmetic)",
880
+ "writeable": true,
881
+ "legacy": false
882
+ },
883
+ {
884
+ "name": "HKQuantityTypeIdentifierUVExposure",
885
+ "ios": "9.0",
886
+ "canonicalUnit": null,
887
+ "aggregationStyle": "Discrete (Arithmetic)",
888
+ "writeable": true,
889
+ "legacy": false
890
+ },
891
+ {
892
+ "name": "HKQuantityTypeIdentifierVO2Max",
893
+ "ios": "11.0",
894
+ "canonicalUnit": "ml/(kg*min)",
895
+ "aggregationStyle": "Discrete (Arithmetic)",
896
+ "writeable": true,
897
+ "legacy": false
898
+ },
899
+ {
900
+ "name": "HKQuantityTypeIdentifierWaistCircumference",
901
+ "ios": "11.0",
902
+ "canonicalUnit": "m",
903
+ "aggregationStyle": "Discrete (Arithmetic)",
904
+ "writeable": true,
905
+ "legacy": false
906
+ },
907
+ {
908
+ "name": "HKQuantityTypeIdentifierWalkingAsymmetryPercentage",
909
+ "ios": "14.0",
910
+ "canonicalUnit": "%",
911
+ "aggregationStyle": "Discrete (Arithmetic)",
912
+ "writeable": true,
913
+ "legacy": false
914
+ },
915
+ {
916
+ "name": "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage",
917
+ "ios": "14.0",
918
+ "canonicalUnit": "%",
919
+ "aggregationStyle": "Discrete (Arithmetic)",
920
+ "writeable": true,
921
+ "legacy": false
922
+ },
923
+ {
924
+ "name": "HKQuantityTypeIdentifierWalkingHeartRateAverage",
925
+ "ios": "11.0",
926
+ "canonicalUnit": "count/min",
927
+ "aggregationStyle": "Discrete (Arithmetic)",
928
+ "writeable": false,
929
+ "legacy": false
930
+ },
931
+ {
932
+ "name": "HKQuantityTypeIdentifierWalkingSpeed",
933
+ "ios": "14.0",
934
+ "canonicalUnit": "m/s",
935
+ "aggregationStyle": "Discrete (Arithmetic)",
936
+ "writeable": true,
937
+ "legacy": false
938
+ },
939
+ {
940
+ "name": "HKQuantityTypeIdentifierWalkingStepLength",
941
+ "ios": "14.0",
942
+ "canonicalUnit": "m",
943
+ "aggregationStyle": "Discrete (Arithmetic)",
944
+ "writeable": true,
945
+ "legacy": false
946
+ },
947
+ {
948
+ "name": "HKQuantityTypeIdentifierWaterTemperature",
949
+ "ios": "16.0",
950
+ "canonicalUnit": "degC",
951
+ "aggregationStyle": "Discrete (Arithmetic)",
952
+ "writeable": true,
953
+ "legacy": false
954
+ },
955
+ {
956
+ "name": "HKQuantityTypeIdentifierWorkoutEffortScore",
957
+ "ios": "18.0",
958
+ "canonicalUnit": "appleEffortScore",
959
+ "aggregationStyle": "Discrete (Arithmetic)",
960
+ "writeable": true,
961
+ "legacy": false
962
+ }
963
+ ],
964
+ "categoryIdentifiers": [
965
+ {
966
+ "name": "HKCategoryTypeIdentifierAbdominalCramps",
967
+ "ios": "13.6",
968
+ "valueEnum": "HKCategoryValueSeverity",
969
+ "writeable": true,
970
+ "legacy": false
971
+ },
972
+ {
973
+ "name": "HKCategoryTypeIdentifierAcne",
974
+ "ios": "13.6",
975
+ "valueEnum": "HKCategoryValueSeverity",
976
+ "writeable": true,
977
+ "legacy": false
978
+ },
979
+ {
980
+ "name": "HKCategoryTypeIdentifierAppetiteChanges",
981
+ "ios": "13.6",
982
+ "valueEnum": "HKCategoryValueAppetiteChanges",
983
+ "writeable": true,
984
+ "legacy": false
985
+ },
986
+ {
987
+ "name": "HKCategoryTypeIdentifierAppleStandHour",
988
+ "ios": "9.0",
989
+ "valueEnum": "HKCategoryValueAppleStandHour",
990
+ "writeable": false,
991
+ "legacy": false
992
+ },
993
+ {
994
+ "name": "HKCategoryTypeIdentifierAppleWalkingSteadinessEvent",
995
+ "ios": "15.0",
996
+ "valueEnum": "HKCategoryValueAppleWalkingSteadinessEvent",
997
+ "writeable": true,
998
+ "legacy": false
999
+ },
1000
+ {
1001
+ "name": "HKCategoryTypeIdentifierAudioExposureEvent",
1002
+ "ios": "13.0",
1003
+ "valueEnum": null,
1004
+ "writeable": true,
1005
+ "legacy": true
1006
+ },
1007
+ {
1008
+ "name": "HKCategoryTypeIdentifierBladderIncontinence",
1009
+ "ios": "14.0",
1010
+ "valueEnum": "HKCategoryValueSeverity",
1011
+ "writeable": true,
1012
+ "legacy": false
1013
+ },
1014
+ {
1015
+ "name": "HKCategoryTypeIdentifierBleedingAfterPregnancy",
1016
+ "ios": "18.0",
1017
+ "valueEnum": "HKCategoryValueVaginalBleeding",
1018
+ "writeable": true,
1019
+ "legacy": false
1020
+ },
1021
+ {
1022
+ "name": "HKCategoryTypeIdentifierBleedingDuringPregnancy",
1023
+ "ios": "18.0",
1024
+ "valueEnum": "HKCategoryValueVaginalBleeding",
1025
+ "writeable": true,
1026
+ "legacy": false
1027
+ },
1028
+ {
1029
+ "name": "HKCategoryTypeIdentifierBloating",
1030
+ "ios": "13.6",
1031
+ "valueEnum": "HKCategoryValueSeverity",
1032
+ "writeable": true,
1033
+ "legacy": false
1034
+ },
1035
+ {
1036
+ "name": "HKCategoryTypeIdentifierBreastPain",
1037
+ "ios": "13.6",
1038
+ "valueEnum": "HKCategoryValueSeverity",
1039
+ "writeable": true,
1040
+ "legacy": false
1041
+ },
1042
+ {
1043
+ "name": "HKCategoryTypeIdentifierCervicalMucusQuality",
1044
+ "ios": "9.0",
1045
+ "valueEnum": "HKCategoryValueCervicalMucusQuality",
1046
+ "writeable": true,
1047
+ "legacy": false
1048
+ },
1049
+ {
1050
+ "name": "HKCategoryTypeIdentifierChestTightnessOrPain",
1051
+ "ios": "13.6",
1052
+ "valueEnum": "HKCategoryValueSeverity",
1053
+ "writeable": true,
1054
+ "legacy": false
1055
+ },
1056
+ {
1057
+ "name": "HKCategoryTypeIdentifierChills",
1058
+ "ios": "13.6",
1059
+ "valueEnum": "HKCategoryValueSeverity",
1060
+ "writeable": true,
1061
+ "legacy": false
1062
+ },
1063
+ {
1064
+ "name": "HKCategoryTypeIdentifierConstipation",
1065
+ "ios": "13.6",
1066
+ "valueEnum": "HKCategoryValueSeverity",
1067
+ "writeable": true,
1068
+ "legacy": false
1069
+ },
1070
+ {
1071
+ "name": "HKCategoryTypeIdentifierContraceptive",
1072
+ "ios": "14.3",
1073
+ "valueEnum": "HKCategoryValueContraceptive",
1074
+ "writeable": true,
1075
+ "legacy": false
1076
+ },
1077
+ {
1078
+ "name": "HKCategoryTypeIdentifierCoughing",
1079
+ "ios": "13.6",
1080
+ "valueEnum": "HKCategoryValueSeverity",
1081
+ "writeable": true,
1082
+ "legacy": false
1083
+ },
1084
+ {
1085
+ "name": "HKCategoryTypeIdentifierDiarrhea",
1086
+ "ios": "13.6",
1087
+ "valueEnum": "HKCategoryValueSeverity",
1088
+ "writeable": true,
1089
+ "legacy": false
1090
+ },
1091
+ {
1092
+ "name": "HKCategoryTypeIdentifierDizziness",
1093
+ "ios": "13.6",
1094
+ "valueEnum": "HKCategoryValueSeverity",
1095
+ "writeable": true,
1096
+ "legacy": false
1097
+ },
1098
+ {
1099
+ "name": "HKCategoryTypeIdentifierDrySkin",
1100
+ "ios": "14.0",
1101
+ "valueEnum": "HKCategoryValueSeverity",
1102
+ "writeable": true,
1103
+ "legacy": false
1104
+ },
1105
+ {
1106
+ "name": "HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent",
1107
+ "ios": "14.0",
1108
+ "valueEnum": "HKCategoryValueEnvironmentalAudioExposureEvent",
1109
+ "writeable": true,
1110
+ "legacy": false
1111
+ },
1112
+ {
1113
+ "name": "HKCategoryTypeIdentifierFainting",
1114
+ "ios": "13.6",
1115
+ "valueEnum": "HKCategoryValueSeverity",
1116
+ "writeable": true,
1117
+ "legacy": false
1118
+ },
1119
+ {
1120
+ "name": "HKCategoryTypeIdentifierFatigue",
1121
+ "ios": "13.6",
1122
+ "valueEnum": "HKCategoryValueSeverity",
1123
+ "writeable": true,
1124
+ "legacy": false
1125
+ },
1126
+ {
1127
+ "name": "HKCategoryTypeIdentifierFever",
1128
+ "ios": "13.6",
1129
+ "valueEnum": "HKCategoryValueSeverity",
1130
+ "writeable": true,
1131
+ "legacy": false
1132
+ },
1133
+ {
1134
+ "name": "HKCategoryTypeIdentifierGeneralizedBodyAche",
1135
+ "ios": "13.6",
1136
+ "valueEnum": "HKCategoryValueSeverity",
1137
+ "writeable": true,
1138
+ "legacy": false
1139
+ },
1140
+ {
1141
+ "name": "HKCategoryTypeIdentifierHairLoss",
1142
+ "ios": "14.0",
1143
+ "valueEnum": "HKCategoryValueSeverity",
1144
+ "writeable": true,
1145
+ "legacy": false
1146
+ },
1147
+ {
1148
+ "name": "HKCategoryTypeIdentifierHandwashingEvent",
1149
+ "ios": "14.0",
1150
+ "valueEnum": "HKCategoryValue",
1151
+ "writeable": true,
1152
+ "legacy": false
1153
+ },
1154
+ {
1155
+ "name": "HKCategoryTypeIdentifierHeadache",
1156
+ "ios": "13.6",
1157
+ "valueEnum": "HKCategoryValueSeverity",
1158
+ "writeable": true,
1159
+ "legacy": false
1160
+ },
1161
+ {
1162
+ "name": "HKCategoryTypeIdentifierHeadphoneAudioExposureEvent",
1163
+ "ios": "14.2",
1164
+ "valueEnum": "HKCategoryValueHeadphoneAudioExposureEvent",
1165
+ "writeable": false,
1166
+ "legacy": false
1167
+ },
1168
+ {
1169
+ "name": "HKCategoryTypeIdentifierHeartburn",
1170
+ "ios": "13.6",
1171
+ "valueEnum": "HKCategoryValueSeverity",
1172
+ "writeable": true,
1173
+ "legacy": false
1174
+ },
1175
+ {
1176
+ "name": "HKCategoryTypeIdentifierHighHeartRateEvent",
1177
+ "ios": "12.2",
1178
+ "valueEnum": "HKCategoryValue",
1179
+ "writeable": false,
1180
+ "legacy": false
1181
+ },
1182
+ {
1183
+ "name": "HKCategoryTypeIdentifierHotFlashes",
1184
+ "ios": "13.6",
1185
+ "valueEnum": "HKCategoryValueSeverity",
1186
+ "writeable": true,
1187
+ "legacy": false
1188
+ },
1189
+ {
1190
+ "name": "HKCategoryTypeIdentifierHypertensionEvent",
1191
+ "ios": "26.2",
1192
+ "valueEnum": "HKCategoryValue",
1193
+ "writeable": false,
1194
+ "legacy": false
1195
+ },
1196
+ {
1197
+ "name": "HKCategoryTypeIdentifierInfrequentMenstrualCycles",
1198
+ "ios": "16.0",
1199
+ "valueEnum": "HKCategoryValue",
1200
+ "writeable": true,
1201
+ "legacy": false
1202
+ },
1203
+ {
1204
+ "name": "HKCategoryTypeIdentifierIntermenstrualBleeding",
1205
+ "ios": "9.0",
1206
+ "valueEnum": "HKCategoryValue",
1207
+ "writeable": true,
1208
+ "legacy": false
1209
+ },
1210
+ {
1211
+ "name": "HKCategoryTypeIdentifierIrregularHeartRhythmEvent",
1212
+ "ios": "12.2",
1213
+ "valueEnum": "HKCategoryValue",
1214
+ "writeable": true,
1215
+ "legacy": false
1216
+ },
1217
+ {
1218
+ "name": "HKCategoryTypeIdentifierIrregularMenstrualCycles",
1219
+ "ios": "16.0",
1220
+ "valueEnum": "HKCategoryValue",
1221
+ "writeable": true,
1222
+ "legacy": false
1223
+ },
1224
+ {
1225
+ "name": "HKCategoryTypeIdentifierLactation",
1226
+ "ios": "14.3",
1227
+ "valueEnum": "HKCategoryValue",
1228
+ "writeable": true,
1229
+ "legacy": false
1230
+ },
1231
+ {
1232
+ "name": "HKCategoryTypeIdentifierLossOfSmell",
1233
+ "ios": "13.6",
1234
+ "valueEnum": "HKCategoryValueSeverity",
1235
+ "writeable": true,
1236
+ "legacy": false
1237
+ },
1238
+ {
1239
+ "name": "HKCategoryTypeIdentifierLossOfTaste",
1240
+ "ios": "13.6",
1241
+ "valueEnum": "HKCategoryValueSeverity",
1242
+ "writeable": true,
1243
+ "legacy": false
1244
+ },
1245
+ {
1246
+ "name": "HKCategoryTypeIdentifierLowCardioFitnessEvent",
1247
+ "ios": "14.3",
1248
+ "valueEnum": "HKCategoryValueLowCardioFitnessEvent",
1249
+ "writeable": true,
1250
+ "legacy": false
1251
+ },
1252
+ {
1253
+ "name": "HKCategoryTypeIdentifierLowerBackPain",
1254
+ "ios": "13.6",
1255
+ "valueEnum": "HKCategoryValueSeverity",
1256
+ "writeable": true,
1257
+ "legacy": false
1258
+ },
1259
+ {
1260
+ "name": "HKCategoryTypeIdentifierLowHeartRateEvent",
1261
+ "ios": "12.2",
1262
+ "valueEnum": "HKCategoryValue",
1263
+ "writeable": false,
1264
+ "legacy": false
1265
+ },
1266
+ {
1267
+ "name": "HKCategoryTypeIdentifierMemoryLapse",
1268
+ "ios": "14.0",
1269
+ "valueEnum": "HKCategoryValueSeverity",
1270
+ "writeable": true,
1271
+ "legacy": false
1272
+ },
1273
+ {
1274
+ "name": "HKCategoryTypeIdentifierMenstrualFlow",
1275
+ "ios": "9.0",
1276
+ "valueEnum": "HKCategoryValueMenstrualFlow",
1277
+ "writeable": true,
1278
+ "legacy": false
1279
+ },
1280
+ {
1281
+ "name": "HKCategoryTypeIdentifierMindfulSession",
1282
+ "ios": "10.0",
1283
+ "valueEnum": "HKCategoryValue",
1284
+ "writeable": true,
1285
+ "legacy": false
1286
+ },
1287
+ {
1288
+ "name": "HKCategoryTypeIdentifierMoodChanges",
1289
+ "ios": "13.6",
1290
+ "valueEnum": "HKCategoryValuePresence",
1291
+ "writeable": true,
1292
+ "legacy": false
1293
+ },
1294
+ {
1295
+ "name": "HKCategoryTypeIdentifierNausea",
1296
+ "ios": "13.6",
1297
+ "valueEnum": "HKCategoryValueSeverity",
1298
+ "writeable": true,
1299
+ "legacy": false
1300
+ },
1301
+ {
1302
+ "name": "HKCategoryTypeIdentifierNightSweats",
1303
+ "ios": "14.0",
1304
+ "valueEnum": "HKCategoryValueSeverity",
1305
+ "writeable": true,
1306
+ "legacy": false
1307
+ },
1308
+ {
1309
+ "name": "HKCategoryTypeIdentifierOvulationTestResult",
1310
+ "ios": "9.0",
1311
+ "valueEnum": "HKCategoryValueOvulationTestResult",
1312
+ "writeable": true,
1313
+ "legacy": false
1314
+ },
1315
+ {
1316
+ "name": "HKCategoryTypeIdentifierPelvicPain",
1317
+ "ios": "13.6",
1318
+ "valueEnum": "HKCategoryValueSeverity",
1319
+ "writeable": true,
1320
+ "legacy": false
1321
+ },
1322
+ {
1323
+ "name": "HKCategoryTypeIdentifierPersistentIntermenstrualBleeding",
1324
+ "ios": "16.0",
1325
+ "valueEnum": "HKCategoryValue",
1326
+ "writeable": true,
1327
+ "legacy": false
1328
+ },
1329
+ {
1330
+ "name": "HKCategoryTypeIdentifierPregnancy",
1331
+ "ios": "14.3",
1332
+ "valueEnum": "HKCategoryValue",
1333
+ "writeable": true,
1334
+ "legacy": false
1335
+ },
1336
+ {
1337
+ "name": "HKCategoryTypeIdentifierPregnancyTestResult",
1338
+ "ios": "15.0",
1339
+ "valueEnum": "HKCategoryValuePregnancyTestResult",
1340
+ "writeable": true,
1341
+ "legacy": false
1342
+ },
1343
+ {
1344
+ "name": "HKCategoryTypeIdentifierProgesteroneTestResult",
1345
+ "ios": "15.0",
1346
+ "valueEnum": "HKCategoryValueProgesteroneTestResult",
1347
+ "writeable": true,
1348
+ "legacy": false
1349
+ },
1350
+ {
1351
+ "name": "HKCategoryTypeIdentifierProlongedMenstrualPeriods",
1352
+ "ios": "16.0",
1353
+ "valueEnum": "HKCategoryValue",
1354
+ "writeable": true,
1355
+ "legacy": false
1356
+ },
1357
+ {
1358
+ "name": "HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat",
1359
+ "ios": "13.6",
1360
+ "valueEnum": "HKCategoryValueSeverity",
1361
+ "writeable": true,
1362
+ "legacy": false
1363
+ },
1364
+ {
1365
+ "name": "HKCategoryTypeIdentifierRunnyNose",
1366
+ "ios": "13.6",
1367
+ "valueEnum": "HKCategoryValueSeverity",
1368
+ "writeable": true,
1369
+ "legacy": false
1370
+ },
1371
+ {
1372
+ "name": "HKCategoryTypeIdentifierSexualActivity",
1373
+ "ios": "9.0",
1374
+ "valueEnum": "HKCategoryValue",
1375
+ "writeable": true,
1376
+ "legacy": false
1377
+ },
1378
+ {
1379
+ "name": "HKCategoryTypeIdentifierShortnessOfBreath",
1380
+ "ios": "13.6",
1381
+ "valueEnum": "HKCategoryValueSeverity",
1382
+ "writeable": true,
1383
+ "legacy": false
1384
+ },
1385
+ {
1386
+ "name": "HKCategoryTypeIdentifierSinusCongestion",
1387
+ "ios": "13.6",
1388
+ "valueEnum": "HKCategoryValueSeverity",
1389
+ "writeable": true,
1390
+ "legacy": false
1391
+ },
1392
+ {
1393
+ "name": "HKCategoryTypeIdentifierSkippedHeartbeat",
1394
+ "ios": "13.6",
1395
+ "valueEnum": "HKCategoryValueSeverity",
1396
+ "writeable": true,
1397
+ "legacy": false
1398
+ },
1399
+ {
1400
+ "name": "HKCategoryTypeIdentifierSleepAnalysis",
1401
+ "ios": "8.0",
1402
+ "valueEnum": "HKCategoryValueSleepAnalysis",
1403
+ "writeable": true,
1404
+ "legacy": false
1405
+ },
1406
+ {
1407
+ "name": "HKCategoryTypeIdentifierSleepApneaEvent",
1408
+ "ios": "18.0",
1409
+ "valueEnum": "HKCategoryValue",
1410
+ "writeable": true,
1411
+ "legacy": false
1412
+ },
1413
+ {
1414
+ "name": "HKCategoryTypeIdentifierSleepChanges",
1415
+ "ios": "13.6",
1416
+ "valueEnum": "HKCategoryValuePresence",
1417
+ "writeable": true,
1418
+ "legacy": false
1419
+ },
1420
+ {
1421
+ "name": "HKCategoryTypeIdentifierSoreThroat",
1422
+ "ios": "13.6",
1423
+ "valueEnum": "HKCategoryValueSeverity",
1424
+ "writeable": true,
1425
+ "legacy": false
1426
+ },
1427
+ {
1428
+ "name": "HKCategoryTypeIdentifierToothbrushingEvent",
1429
+ "ios": "13.0",
1430
+ "valueEnum": "HKCategoryValue",
1431
+ "writeable": true,
1432
+ "legacy": false
1433
+ },
1434
+ {
1435
+ "name": "HKCategoryTypeIdentifierVaginalDryness",
1436
+ "ios": "14.0",
1437
+ "valueEnum": "HKCategoryValueSeverity",
1438
+ "writeable": true,
1439
+ "legacy": false
1440
+ },
1441
+ {
1442
+ "name": "HKCategoryTypeIdentifierVomiting",
1443
+ "ios": "13.6",
1444
+ "valueEnum": "HKCategoryValueSeverity",
1445
+ "writeable": true,
1446
+ "legacy": false
1447
+ },
1448
+ {
1449
+ "name": "HKCategoryTypeIdentifierWheezing",
1450
+ "ios": "13.6",
1451
+ "valueEnum": "HKCategoryValueSeverity",
1452
+ "writeable": true,
1453
+ "legacy": false
1454
+ }
1455
+ ],
1456
+ "enums": [
1457
+ {
1458
+ "name": "AppleECGAlgorithmVersion",
1459
+ "ios": "14.0",
1460
+ "members": [
1461
+ {
1462
+ "name": "value1",
1463
+ "swiftName": "HKAppleECGAlgorithmVersion1",
1464
+ "rawValue": 1
1465
+ },
1466
+ {
1467
+ "name": "value2",
1468
+ "swiftName": "HKAppleECGAlgorithmVersion2",
1469
+ "rawValue": 2
1470
+ }
1471
+ ]
1472
+ },
1473
+ {
1474
+ "name": "BloodGlucoseMealTime",
1475
+ "ios": "11.0",
1476
+ "members": [
1477
+ {
1478
+ "name": "preprandial",
1479
+ "swiftName": "HKBloodGlucoseMealTimePreprandial",
1480
+ "rawValue": 1
1481
+ },
1482
+ {
1483
+ "name": "postprandial",
1484
+ "swiftName": "HKBloodGlucoseMealTimePostprandial",
1485
+ "rawValue": 2
1486
+ }
1487
+ ]
1488
+ },
1489
+ {
1490
+ "name": "BodyTemperatureSensorLocation",
1491
+ "ios": "8.0",
1492
+ "members": [
1493
+ {
1494
+ "name": "other",
1495
+ "swiftName": "HKBodyTemperatureSensorLocationOther",
1496
+ "rawValue": 0
1497
+ },
1498
+ {
1499
+ "name": "armpit",
1500
+ "swiftName": "HKBodyTemperatureSensorLocationArmpit",
1501
+ "rawValue": 1
1502
+ },
1503
+ {
1504
+ "name": "body",
1505
+ "swiftName": "HKBodyTemperatureSensorLocationBody",
1506
+ "rawValue": 2
1507
+ },
1508
+ {
1509
+ "name": "ear",
1510
+ "swiftName": "HKBodyTemperatureSensorLocationEar",
1511
+ "rawValue": 3
1512
+ },
1513
+ {
1514
+ "name": "finger",
1515
+ "swiftName": "HKBodyTemperatureSensorLocationFinger",
1516
+ "rawValue": 4
1517
+ },
1518
+ {
1519
+ "name": "gastroIntestinal",
1520
+ "swiftName": "HKBodyTemperatureSensorLocationGastroIntestinal",
1521
+ "rawValue": 5
1522
+ },
1523
+ {
1524
+ "name": "mouth",
1525
+ "swiftName": "HKBodyTemperatureSensorLocationMouth",
1526
+ "rawValue": 6
1527
+ },
1528
+ {
1529
+ "name": "rectum",
1530
+ "swiftName": "HKBodyTemperatureSensorLocationRectum",
1531
+ "rawValue": 7
1532
+ },
1533
+ {
1534
+ "name": "toe",
1535
+ "swiftName": "HKBodyTemperatureSensorLocationToe",
1536
+ "rawValue": 8
1537
+ },
1538
+ {
1539
+ "name": "earDrum",
1540
+ "swiftName": "HKBodyTemperatureSensorLocationEarDrum",
1541
+ "rawValue": 9
1542
+ },
1543
+ {
1544
+ "name": "temporalArtery",
1545
+ "swiftName": "HKBodyTemperatureSensorLocationTemporalArtery",
1546
+ "rawValue": 10
1547
+ },
1548
+ {
1549
+ "name": "forehead",
1550
+ "swiftName": "HKBodyTemperatureSensorLocationForehead",
1551
+ "rawValue": 11
1552
+ }
1553
+ ]
1554
+ },
1555
+ {
1556
+ "name": "CategoryValue",
1557
+ "ios": "9.0",
1558
+ "members": [
1559
+ {
1560
+ "name": "notApplicable",
1561
+ "swiftName": "HKCategoryValueNotApplicable",
1562
+ "rawValue": 0
1563
+ }
1564
+ ]
1565
+ },
1566
+ {
1567
+ "name": "CategoryValueAppetiteChanges",
1568
+ "ios": "13.6",
1569
+ "members": [
1570
+ {
1571
+ "name": "unspecified",
1572
+ "swiftName": "HKCategoryValueAppetiteChangesUnspecified",
1573
+ "rawValue": 0
1574
+ },
1575
+ {
1576
+ "name": "noChange",
1577
+ "swiftName": "HKCategoryValueAppetiteChangesNoChange",
1578
+ "rawValue": 1
1579
+ },
1580
+ {
1581
+ "name": "decreased",
1582
+ "swiftName": "HKCategoryValueAppetiteChangesDecreased",
1583
+ "rawValue": 2
1584
+ },
1585
+ {
1586
+ "name": "increased",
1587
+ "swiftName": "HKCategoryValueAppetiteChangesIncreased",
1588
+ "rawValue": 3
1589
+ }
1590
+ ]
1591
+ },
1592
+ {
1593
+ "name": "CategoryValueAppleStandHour",
1594
+ "ios": "9.0",
1595
+ "members": [
1596
+ {
1597
+ "name": "stood",
1598
+ "swiftName": "HKCategoryValueAppleStandHourStood",
1599
+ "rawValue": 0
1600
+ },
1601
+ {
1602
+ "name": "idle",
1603
+ "swiftName": "HKCategoryValueAppleStandHourIdle",
1604
+ "rawValue": 1
1605
+ }
1606
+ ]
1607
+ },
1608
+ {
1609
+ "name": "CategoryValueAppleWalkingSteadinessEvent",
1610
+ "ios": "15.0",
1611
+ "members": [
1612
+ {
1613
+ "name": "initialLow",
1614
+ "swiftName": "HKCategoryValueAppleWalkingSteadinessEventInitialLow",
1615
+ "rawValue": 1
1616
+ },
1617
+ {
1618
+ "name": "initialVeryLow",
1619
+ "swiftName": "HKCategoryValueAppleWalkingSteadinessEventInitialVeryLow",
1620
+ "rawValue": 2
1621
+ },
1622
+ {
1623
+ "name": "repeatLow",
1624
+ "swiftName": "HKCategoryValueAppleWalkingSteadinessEventRepeatLow",
1625
+ "rawValue": 3
1626
+ },
1627
+ {
1628
+ "name": "repeatVeryLow",
1629
+ "swiftName": "HKCategoryValueAppleWalkingSteadinessEventRepeatVeryLow",
1630
+ "rawValue": 4
1631
+ }
1632
+ ]
1633
+ },
1634
+ {
1635
+ "name": "CategoryValueAudioExposureEvent",
1636
+ "ios": "13.0",
1637
+ "members": [
1638
+ {
1639
+ "name": "loudEnvironment",
1640
+ "swiftName": "HKCategoryValueAudioExposureEventLoudEnvironment",
1641
+ "rawValue": 1
1642
+ }
1643
+ ]
1644
+ },
1645
+ {
1646
+ "name": "CategoryValueCervicalMucusQuality",
1647
+ "ios": "9.0",
1648
+ "members": [
1649
+ {
1650
+ "name": "dry",
1651
+ "swiftName": "HKCategoryValueCervicalMucusQualityDry",
1652
+ "rawValue": 1
1653
+ },
1654
+ {
1655
+ "name": "sticky",
1656
+ "swiftName": "HKCategoryValueCervicalMucusQualitySticky",
1657
+ "rawValue": 2
1658
+ },
1659
+ {
1660
+ "name": "creamy",
1661
+ "swiftName": "HKCategoryValueCervicalMucusQualityCreamy",
1662
+ "rawValue": 3
1663
+ },
1664
+ {
1665
+ "name": "watery",
1666
+ "swiftName": "HKCategoryValueCervicalMucusQualityWatery",
1667
+ "rawValue": 4
1668
+ },
1669
+ {
1670
+ "name": "eggWhite",
1671
+ "swiftName": "HKCategoryValueCervicalMucusQualityEggWhite",
1672
+ "rawValue": 5
1673
+ }
1674
+ ]
1675
+ },
1676
+ {
1677
+ "name": "CategoryValueContraceptive",
1678
+ "ios": "14.3",
1679
+ "members": [
1680
+ {
1681
+ "name": "unspecified",
1682
+ "swiftName": "HKCategoryValueContraceptiveUnspecified",
1683
+ "rawValue": 1
1684
+ },
1685
+ {
1686
+ "name": "implant",
1687
+ "swiftName": "HKCategoryValueContraceptiveImplant",
1688
+ "rawValue": 2
1689
+ },
1690
+ {
1691
+ "name": "injection",
1692
+ "swiftName": "HKCategoryValueContraceptiveInjection",
1693
+ "rawValue": 3
1694
+ },
1695
+ {
1696
+ "name": "intrauterineDevice",
1697
+ "swiftName": "HKCategoryValueContraceptiveIntrauterineDevice",
1698
+ "rawValue": 4
1699
+ },
1700
+ {
1701
+ "name": "intravaginalRing",
1702
+ "swiftName": "HKCategoryValueContraceptiveIntravaginalRing",
1703
+ "rawValue": 5
1704
+ },
1705
+ {
1706
+ "name": "oral",
1707
+ "swiftName": "HKCategoryValueContraceptiveOral",
1708
+ "rawValue": 6
1709
+ },
1710
+ {
1711
+ "name": "patch",
1712
+ "swiftName": "HKCategoryValueContraceptivePatch",
1713
+ "rawValue": 7
1714
+ }
1715
+ ]
1716
+ },
1717
+ {
1718
+ "name": "CategoryValueEnvironmentalAudioExposureEvent",
1719
+ "ios": "14.0",
1720
+ "members": [
1721
+ {
1722
+ "name": "momentaryLimit",
1723
+ "swiftName": "HKCategoryValueEnvironmentalAudioExposureEventMomentaryLimit",
1724
+ "rawValue": 1
1725
+ }
1726
+ ]
1727
+ },
1728
+ {
1729
+ "name": "CategoryValueHeadphoneAudioExposureEvent",
1730
+ "ios": "14.2",
1731
+ "members": [
1732
+ {
1733
+ "name": "sevenDayLimit",
1734
+ "swiftName": "HKCategoryValueHeadphoneAudioExposureEventSevenDayLimit",
1735
+ "rawValue": 1
1736
+ }
1737
+ ]
1738
+ },
1739
+ {
1740
+ "name": "CategoryValueLowCardioFitnessEvent",
1741
+ "ios": "14.3",
1742
+ "members": [
1743
+ {
1744
+ "name": "lowFitness",
1745
+ "swiftName": "HKCategoryValueLowCardioFitnessEventLowFitness",
1746
+ "rawValue": 1
1747
+ }
1748
+ ]
1749
+ },
1750
+ {
1751
+ "name": "CategoryValueMenstrualFlow",
1752
+ "ios": "9.0",
1753
+ "members": [
1754
+ {
1755
+ "name": "unspecified",
1756
+ "swiftName": "HKCategoryValueMenstrualFlowUnspecified",
1757
+ "rawValue": 1
1758
+ },
1759
+ {
1760
+ "name": "light",
1761
+ "swiftName": "HKCategoryValueMenstrualFlowLight",
1762
+ "rawValue": 2
1763
+ },
1764
+ {
1765
+ "name": "medium",
1766
+ "swiftName": "HKCategoryValueMenstrualFlowMedium",
1767
+ "rawValue": 3
1768
+ },
1769
+ {
1770
+ "name": "heavy",
1771
+ "swiftName": "HKCategoryValueMenstrualFlowHeavy",
1772
+ "rawValue": 4
1773
+ },
1774
+ {
1775
+ "name": "none",
1776
+ "swiftName": "HKCategoryValueMenstrualFlowNone",
1777
+ "rawValue": 5
1778
+ }
1779
+ ]
1780
+ },
1781
+ {
1782
+ "name": "CategoryValueOvulationTestResult",
1783
+ "ios": "9.0",
1784
+ "members": [
1785
+ {
1786
+ "name": "negative",
1787
+ "swiftName": "HKCategoryValueOvulationTestResultNegative",
1788
+ "rawValue": 1
1789
+ },
1790
+ {
1791
+ "name": "luteinizingHormoneSurge",
1792
+ "swiftName": "HKCategoryValueOvulationTestResultLuteinizingHormoneSurge",
1793
+ "rawValue": 2
1794
+ },
1795
+ {
1796
+ "name": "positive",
1797
+ "swiftName": "HKCategoryValueOvulationTestResultPositive",
1798
+ "rawValue": 2
1799
+ },
1800
+ {
1801
+ "name": "indeterminate",
1802
+ "swiftName": "HKCategoryValueOvulationTestResultIndeterminate",
1803
+ "rawValue": 3
1804
+ },
1805
+ {
1806
+ "name": "estrogenSurge",
1807
+ "swiftName": "HKCategoryValueOvulationTestResultEstrogenSurge",
1808
+ "rawValue": 4
1809
+ }
1810
+ ]
1811
+ },
1812
+ {
1813
+ "name": "CategoryValuePregnancyTestResult",
1814
+ "ios": "15.0",
1815
+ "members": [
1816
+ {
1817
+ "name": "negative",
1818
+ "swiftName": "HKCategoryValuePregnancyTestResultNegative",
1819
+ "rawValue": 1
1820
+ },
1821
+ {
1822
+ "name": "positive",
1823
+ "swiftName": "HKCategoryValuePregnancyTestResultPositive",
1824
+ "rawValue": 2
1825
+ },
1826
+ {
1827
+ "name": "indeterminate",
1828
+ "swiftName": "HKCategoryValuePregnancyTestResultIndeterminate",
1829
+ "rawValue": 3
1830
+ }
1831
+ ]
1832
+ },
1833
+ {
1834
+ "name": "CategoryValuePresence",
1835
+ "ios": "13.6",
1836
+ "members": [
1837
+ {
1838
+ "name": "present",
1839
+ "swiftName": "HKCategoryValuePresencePresent",
1840
+ "rawValue": 0
1841
+ },
1842
+ {
1843
+ "name": "notPresent",
1844
+ "swiftName": "HKCategoryValuePresenceNotPresent",
1845
+ "rawValue": 1
1846
+ }
1847
+ ]
1848
+ },
1849
+ {
1850
+ "name": "CategoryValueProgesteroneTestResult",
1851
+ "ios": "15.0",
1852
+ "members": [
1853
+ {
1854
+ "name": "negative",
1855
+ "swiftName": "HKCategoryValueProgesteroneTestResultNegative",
1856
+ "rawValue": 1
1857
+ },
1858
+ {
1859
+ "name": "positive",
1860
+ "swiftName": "HKCategoryValueProgesteroneTestResultPositive",
1861
+ "rawValue": 2
1862
+ },
1863
+ {
1864
+ "name": "indeterminate",
1865
+ "swiftName": "HKCategoryValueProgesteroneTestResultIndeterminate",
1866
+ "rawValue": 3
1867
+ }
1868
+ ]
1869
+ },
1870
+ {
1871
+ "name": "CategoryValueSeverity",
1872
+ "ios": "13.6",
1873
+ "members": [
1874
+ {
1875
+ "name": "unspecified",
1876
+ "swiftName": "HKCategoryValueSeverityUnspecified",
1877
+ "rawValue": 0
1878
+ },
1879
+ {
1880
+ "name": "notPresent",
1881
+ "swiftName": "HKCategoryValueSeverityNotPresent",
1882
+ "rawValue": 1
1883
+ },
1884
+ {
1885
+ "name": "mild",
1886
+ "swiftName": "HKCategoryValueSeverityMild",
1887
+ "rawValue": 2
1888
+ },
1889
+ {
1890
+ "name": "moderate",
1891
+ "swiftName": "HKCategoryValueSeverityModerate",
1892
+ "rawValue": 3
1893
+ },
1894
+ {
1895
+ "name": "severe",
1896
+ "swiftName": "HKCategoryValueSeveritySevere",
1897
+ "rawValue": 4
1898
+ }
1899
+ ]
1900
+ },
1901
+ {
1902
+ "name": "CategoryValueSleepAnalysis",
1903
+ "ios": "8.0",
1904
+ "members": [
1905
+ {
1906
+ "name": "inBed",
1907
+ "swiftName": "HKCategoryValueSleepAnalysisInBed",
1908
+ "rawValue": 0
1909
+ },
1910
+ {
1911
+ "name": "asleepUnspecified",
1912
+ "swiftName": "HKCategoryValueSleepAnalysisAsleepUnspecified",
1913
+ "rawValue": 1
1914
+ },
1915
+ {
1916
+ "name": "asleep",
1917
+ "swiftName": "HKCategoryValueSleepAnalysisAsleep",
1918
+ "rawValue": 1
1919
+ },
1920
+ {
1921
+ "name": "awake",
1922
+ "swiftName": "HKCategoryValueSleepAnalysisAwake",
1923
+ "rawValue": 2
1924
+ },
1925
+ {
1926
+ "name": "asleepCore",
1927
+ "swiftName": "HKCategoryValueSleepAnalysisAsleepCore",
1928
+ "rawValue": 3
1929
+ },
1930
+ {
1931
+ "name": "asleepDeep",
1932
+ "swiftName": "HKCategoryValueSleepAnalysisAsleepDeep",
1933
+ "rawValue": 4
1934
+ },
1935
+ {
1936
+ "name": "asleepREM",
1937
+ "swiftName": "HKCategoryValueSleepAnalysisAsleepREM",
1938
+ "rawValue": 5
1939
+ }
1940
+ ]
1941
+ },
1942
+ {
1943
+ "name": "CategoryValueVaginalBleeding",
1944
+ "ios": "18.0",
1945
+ "members": [
1946
+ {
1947
+ "name": "unspecified",
1948
+ "swiftName": "HKCategoryValueVaginalBleedingUnspecified",
1949
+ "rawValue": 1
1950
+ },
1951
+ {
1952
+ "name": "light",
1953
+ "swiftName": "HKCategoryValueVaginalBleedingLight",
1954
+ "rawValue": 2
1955
+ },
1956
+ {
1957
+ "name": "medium",
1958
+ "swiftName": "HKCategoryValueVaginalBleedingMedium",
1959
+ "rawValue": 3
1960
+ },
1961
+ {
1962
+ "name": "heavy",
1963
+ "swiftName": "HKCategoryValueVaginalBleedingHeavy",
1964
+ "rawValue": 4
1965
+ },
1966
+ {
1967
+ "name": "none",
1968
+ "swiftName": "HKCategoryValueVaginalBleedingNone",
1969
+ "rawValue": 5
1970
+ }
1971
+ ]
1972
+ },
1973
+ {
1974
+ "name": "CyclingFunctionalThresholdPowerTestType",
1975
+ "ios": "17.0",
1976
+ "members": [
1977
+ {
1978
+ "name": "maxExercise60Minute",
1979
+ "swiftName": "HKCyclingFunctionalThresholdPowerTestTypeMaxExercise60Minute",
1980
+ "rawValue": 1
1981
+ },
1982
+ {
1983
+ "name": "maxExercise20Minute",
1984
+ "swiftName": "HKCyclingFunctionalThresholdPowerTestTypeMaxExercise20Minute",
1985
+ "rawValue": 2
1986
+ },
1987
+ {
1988
+ "name": "rampTest",
1989
+ "swiftName": "HKCyclingFunctionalThresholdPowerTestTypeRampTest",
1990
+ "rawValue": 3
1991
+ },
1992
+ {
1993
+ "name": "predictionExercise",
1994
+ "swiftName": "HKCyclingFunctionalThresholdPowerTestTypePredictionExercise",
1995
+ "rawValue": 4
1996
+ }
1997
+ ]
1998
+ },
1999
+ {
2000
+ "name": "DevicePlacementSide",
2001
+ "ios": "14.0",
2002
+ "members": [
2003
+ {
2004
+ "name": "unknown",
2005
+ "swiftName": "HKDevicePlacementSideUnknown",
2006
+ "rawValue": 0
2007
+ },
2008
+ {
2009
+ "name": "left",
2010
+ "swiftName": "HKDevicePlacementSideLeft",
2011
+ "rawValue": 1
2012
+ },
2013
+ {
2014
+ "name": "right",
2015
+ "swiftName": "HKDevicePlacementSideRight",
2016
+ "rawValue": 2
2017
+ },
2018
+ {
2019
+ "name": "central",
2020
+ "swiftName": "HKDevicePlacementSideCentral",
2021
+ "rawValue": 3
2022
+ }
2023
+ ]
2024
+ },
2025
+ {
2026
+ "name": "HeartRateMotionContext",
2027
+ "ios": "11.0",
2028
+ "members": [
2029
+ {
2030
+ "name": "notSet",
2031
+ "swiftName": "HKHeartRateMotionContextNotSet",
2032
+ "rawValue": 0
2033
+ },
2034
+ {
2035
+ "name": "sedentary",
2036
+ "swiftName": "HKHeartRateMotionContextSedentary",
2037
+ "rawValue": 1
2038
+ },
2039
+ {
2040
+ "name": "active",
2041
+ "swiftName": "HKHeartRateMotionContextActive",
2042
+ "rawValue": 2
2043
+ }
2044
+ ]
2045
+ },
2046
+ {
2047
+ "name": "HeartRateRecoveryTestType",
2048
+ "ios": "16.0",
2049
+ "members": [
2050
+ {
2051
+ "name": "maxExercise",
2052
+ "swiftName": "HKHeartRateRecoveryTestTypeMaxExercise",
2053
+ "rawValue": 1
2054
+ },
2055
+ {
2056
+ "name": "predictionSubMaxExercise",
2057
+ "swiftName": "HKHeartRateRecoveryTestTypePredictionSubMaxExercise",
2058
+ "rawValue": 2
2059
+ },
2060
+ {
2061
+ "name": "predictionNonExercise",
2062
+ "swiftName": "HKHeartRateRecoveryTestTypePredictionNonExercise",
2063
+ "rawValue": 3
2064
+ }
2065
+ ]
2066
+ },
2067
+ {
2068
+ "name": "HeartRateSensorLocation",
2069
+ "ios": "8.0",
2070
+ "members": [
2071
+ {
2072
+ "name": "other",
2073
+ "swiftName": "HKHeartRateSensorLocationOther",
2074
+ "rawValue": 0
2075
+ },
2076
+ {
2077
+ "name": "chest",
2078
+ "swiftName": "HKHeartRateSensorLocationChest",
2079
+ "rawValue": 1
2080
+ },
2081
+ {
2082
+ "name": "wrist",
2083
+ "swiftName": "HKHeartRateSensorLocationWrist",
2084
+ "rawValue": 2
2085
+ },
2086
+ {
2087
+ "name": "finger",
2088
+ "swiftName": "HKHeartRateSensorLocationFinger",
2089
+ "rawValue": 3
2090
+ },
2091
+ {
2092
+ "name": "hand",
2093
+ "swiftName": "HKHeartRateSensorLocationHand",
2094
+ "rawValue": 4
2095
+ },
2096
+ {
2097
+ "name": "earLobe",
2098
+ "swiftName": "HKHeartRateSensorLocationEarLobe",
2099
+ "rawValue": 5
2100
+ },
2101
+ {
2102
+ "name": "foot",
2103
+ "swiftName": "HKHeartRateSensorLocationFoot",
2104
+ "rawValue": 6
2105
+ }
2106
+ ]
2107
+ },
2108
+ {
2109
+ "name": "InsulinDeliveryReason",
2110
+ "ios": "11.0",
2111
+ "members": [
2112
+ {
2113
+ "name": "basal",
2114
+ "swiftName": "HKInsulinDeliveryReasonBasal",
2115
+ "rawValue": 1
2116
+ },
2117
+ {
2118
+ "name": "bolus",
2119
+ "swiftName": "HKInsulinDeliveryReasonBolus",
2120
+ "rawValue": 2
2121
+ }
2122
+ ]
2123
+ },
2124
+ {
2125
+ "name": "PhysicalEffortEstimationType",
2126
+ "ios": "17.0",
2127
+ "members": [
2128
+ {
2129
+ "name": "activityLookup",
2130
+ "swiftName": "HKPhysicalEffortEstimationTypeActivityLookup",
2131
+ "rawValue": 1
2132
+ },
2133
+ {
2134
+ "name": "deviceSensed",
2135
+ "swiftName": "HKPhysicalEffortEstimationTypeDeviceSensed",
2136
+ "rawValue": 2
2137
+ }
2138
+ ]
2139
+ },
2140
+ {
2141
+ "name": "SwimmingStrokeStyle",
2142
+ "ios": "10.0",
2143
+ "members": [
2144
+ {
2145
+ "name": "unknown",
2146
+ "swiftName": "HKSwimmingStrokeStyleUnknown",
2147
+ "rawValue": 0
2148
+ },
2149
+ {
2150
+ "name": "mixed",
2151
+ "swiftName": "HKSwimmingStrokeStyleMixed",
2152
+ "rawValue": 1
2153
+ },
2154
+ {
2155
+ "name": "freestyle",
2156
+ "swiftName": "HKSwimmingStrokeStyleFreestyle",
2157
+ "rawValue": 2
2158
+ },
2159
+ {
2160
+ "name": "backstroke",
2161
+ "swiftName": "HKSwimmingStrokeStyleBackstroke",
2162
+ "rawValue": 3
2163
+ },
2164
+ {
2165
+ "name": "breaststroke",
2166
+ "swiftName": "HKSwimmingStrokeStyleBreaststroke",
2167
+ "rawValue": 4
2168
+ },
2169
+ {
2170
+ "name": "butterfly",
2171
+ "swiftName": "HKSwimmingStrokeStyleButterfly",
2172
+ "rawValue": 5
2173
+ },
2174
+ {
2175
+ "name": "kickboard",
2176
+ "swiftName": "HKSwimmingStrokeStyleKickboard",
2177
+ "rawValue": 6
2178
+ }
2179
+ ]
2180
+ },
2181
+ {
2182
+ "name": "UserMotionContext",
2183
+ "ios": "16.0",
2184
+ "members": [
2185
+ {
2186
+ "name": "notSet",
2187
+ "swiftName": "HKUserMotionContextNotSet",
2188
+ "rawValue": 0
2189
+ },
2190
+ {
2191
+ "name": "stationary",
2192
+ "swiftName": "HKUserMotionContextStationary",
2193
+ "rawValue": 1
2194
+ },
2195
+ {
2196
+ "name": "active",
2197
+ "swiftName": "HKUserMotionContextActive",
2198
+ "rawValue": 2
2199
+ }
2200
+ ]
2201
+ },
2202
+ {
2203
+ "name": "VO2MaxTestType",
2204
+ "ios": "11.0",
2205
+ "members": [
2206
+ {
2207
+ "name": "maxExercise",
2208
+ "swiftName": "HKVO2MaxTestTypeMaxExercise",
2209
+ "rawValue": 1
2210
+ },
2211
+ {
2212
+ "name": "predictionSubMaxExercise",
2213
+ "swiftName": "HKVO2MaxTestTypePredictionSubMaxExercise",
2214
+ "rawValue": 2
2215
+ },
2216
+ {
2217
+ "name": "predictionNonExercise",
2218
+ "swiftName": "HKVO2MaxTestTypePredictionNonExercise",
2219
+ "rawValue": 3
2220
+ },
2221
+ {
2222
+ "name": "predictionStepTest",
2223
+ "swiftName": "HKVO2MaxTestTypePredictionStepTest",
2224
+ "rawValue": 4
2225
+ }
2226
+ ]
2227
+ },
2228
+ {
2229
+ "name": "WaterSalinity",
2230
+ "ios": "17.0",
2231
+ "members": [
2232
+ {
2233
+ "name": "freshWater",
2234
+ "swiftName": "HKWaterSalinityFreshWater",
2235
+ "rawValue": 1
2236
+ },
2237
+ {
2238
+ "name": "saltWater",
2239
+ "swiftName": "HKWaterSalinitySaltWater",
2240
+ "rawValue": 2
2241
+ }
2242
+ ]
2243
+ },
2244
+ {
2245
+ "name": "WeatherCondition",
2246
+ "ios": "10.0",
2247
+ "members": [
2248
+ {
2249
+ "name": "none",
2250
+ "swiftName": "HKWeatherConditionNone",
2251
+ "rawValue": 0
2252
+ },
2253
+ {
2254
+ "name": "clear",
2255
+ "swiftName": "HKWeatherConditionClear",
2256
+ "rawValue": 1
2257
+ },
2258
+ {
2259
+ "name": "fair",
2260
+ "swiftName": "HKWeatherConditionFair",
2261
+ "rawValue": 2
2262
+ },
2263
+ {
2264
+ "name": "partlyCloudy",
2265
+ "swiftName": "HKWeatherConditionPartlyCloudy",
2266
+ "rawValue": 3
2267
+ },
2268
+ {
2269
+ "name": "mostlyCloudy",
2270
+ "swiftName": "HKWeatherConditionMostlyCloudy",
2271
+ "rawValue": 4
2272
+ },
2273
+ {
2274
+ "name": "cloudy",
2275
+ "swiftName": "HKWeatherConditionCloudy",
2276
+ "rawValue": 5
2277
+ },
2278
+ {
2279
+ "name": "foggy",
2280
+ "swiftName": "HKWeatherConditionFoggy",
2281
+ "rawValue": 6
2282
+ },
2283
+ {
2284
+ "name": "haze",
2285
+ "swiftName": "HKWeatherConditionHaze",
2286
+ "rawValue": 7
2287
+ },
2288
+ {
2289
+ "name": "windy",
2290
+ "swiftName": "HKWeatherConditionWindy",
2291
+ "rawValue": 8
2292
+ },
2293
+ {
2294
+ "name": "blustery",
2295
+ "swiftName": "HKWeatherConditionBlustery",
2296
+ "rawValue": 9
2297
+ },
2298
+ {
2299
+ "name": "smoky",
2300
+ "swiftName": "HKWeatherConditionSmoky",
2301
+ "rawValue": 10
2302
+ },
2303
+ {
2304
+ "name": "dust",
2305
+ "swiftName": "HKWeatherConditionDust",
2306
+ "rawValue": 11
2307
+ },
2308
+ {
2309
+ "name": "snow",
2310
+ "swiftName": "HKWeatherConditionSnow",
2311
+ "rawValue": 12
2312
+ },
2313
+ {
2314
+ "name": "hail",
2315
+ "swiftName": "HKWeatherConditionHail",
2316
+ "rawValue": 13
2317
+ },
2318
+ {
2319
+ "name": "sleet",
2320
+ "swiftName": "HKWeatherConditionSleet",
2321
+ "rawValue": 14
2322
+ },
2323
+ {
2324
+ "name": "freezingDrizzle",
2325
+ "swiftName": "HKWeatherConditionFreezingDrizzle",
2326
+ "rawValue": 15
2327
+ },
2328
+ {
2329
+ "name": "freezingRain",
2330
+ "swiftName": "HKWeatherConditionFreezingRain",
2331
+ "rawValue": 16
2332
+ },
2333
+ {
2334
+ "name": "mixedRainAndHail",
2335
+ "swiftName": "HKWeatherConditionMixedRainAndHail",
2336
+ "rawValue": 17
2337
+ },
2338
+ {
2339
+ "name": "mixedRainAndSnow",
2340
+ "swiftName": "HKWeatherConditionMixedRainAndSnow",
2341
+ "rawValue": 18
2342
+ },
2343
+ {
2344
+ "name": "mixedRainAndSleet",
2345
+ "swiftName": "HKWeatherConditionMixedRainAndSleet",
2346
+ "rawValue": 19
2347
+ },
2348
+ {
2349
+ "name": "mixedSnowAndSleet",
2350
+ "swiftName": "HKWeatherConditionMixedSnowAndSleet",
2351
+ "rawValue": 20
2352
+ },
2353
+ {
2354
+ "name": "drizzle",
2355
+ "swiftName": "HKWeatherConditionDrizzle",
2356
+ "rawValue": 21
2357
+ },
2358
+ {
2359
+ "name": "scatteredShowers",
2360
+ "swiftName": "HKWeatherConditionScatteredShowers",
2361
+ "rawValue": 22
2362
+ },
2363
+ {
2364
+ "name": "showers",
2365
+ "swiftName": "HKWeatherConditionShowers",
2366
+ "rawValue": 23
2367
+ },
2368
+ {
2369
+ "name": "thunderstorms",
2370
+ "swiftName": "HKWeatherConditionThunderstorms",
2371
+ "rawValue": 24
2372
+ },
2373
+ {
2374
+ "name": "tropicalStorm",
2375
+ "swiftName": "HKWeatherConditionTropicalStorm",
2376
+ "rawValue": 25
2377
+ },
2378
+ {
2379
+ "name": "hurricane",
2380
+ "swiftName": "HKWeatherConditionHurricane",
2381
+ "rawValue": 26
2382
+ },
2383
+ {
2384
+ "name": "tornado",
2385
+ "swiftName": "HKWeatherConditionTornado",
2386
+ "rawValue": 27
2387
+ }
2388
+ ]
2389
+ },
2390
+ {
2391
+ "name": "WorkoutActivityType",
2392
+ "ios": "8.0",
2393
+ "members": [
2394
+ {
2395
+ "name": "americanFootball",
2396
+ "swiftName": "HKWorkoutActivityTypeAmericanFootball",
2397
+ "rawValue": 1
2398
+ },
2399
+ {
2400
+ "name": "archery",
2401
+ "swiftName": "HKWorkoutActivityTypeArchery",
2402
+ "rawValue": 2
2403
+ },
2404
+ {
2405
+ "name": "australianFootball",
2406
+ "swiftName": "HKWorkoutActivityTypeAustralianFootball",
2407
+ "rawValue": 3
2408
+ },
2409
+ {
2410
+ "name": "badminton",
2411
+ "swiftName": "HKWorkoutActivityTypeBadminton",
2412
+ "rawValue": 4
2413
+ },
2414
+ {
2415
+ "name": "baseball",
2416
+ "swiftName": "HKWorkoutActivityTypeBaseball",
2417
+ "rawValue": 5
2418
+ },
2419
+ {
2420
+ "name": "basketball",
2421
+ "swiftName": "HKWorkoutActivityTypeBasketball",
2422
+ "rawValue": 6
2423
+ },
2424
+ {
2425
+ "name": "bowling",
2426
+ "swiftName": "HKWorkoutActivityTypeBowling",
2427
+ "rawValue": 7
2428
+ },
2429
+ {
2430
+ "name": "boxing",
2431
+ "swiftName": "HKWorkoutActivityTypeBoxing",
2432
+ "rawValue": 8
2433
+ },
2434
+ {
2435
+ "name": "climbing",
2436
+ "swiftName": "HKWorkoutActivityTypeClimbing",
2437
+ "rawValue": 9
2438
+ },
2439
+ {
2440
+ "name": "cricket",
2441
+ "swiftName": "HKWorkoutActivityTypeCricket",
2442
+ "rawValue": 10
2443
+ },
2444
+ {
2445
+ "name": "crossTraining",
2446
+ "swiftName": "HKWorkoutActivityTypeCrossTraining",
2447
+ "rawValue": 11
2448
+ },
2449
+ {
2450
+ "name": "curling",
2451
+ "swiftName": "HKWorkoutActivityTypeCurling",
2452
+ "rawValue": 12
2453
+ },
2454
+ {
2455
+ "name": "cycling",
2456
+ "swiftName": "HKWorkoutActivityTypeCycling",
2457
+ "rawValue": 13
2458
+ },
2459
+ {
2460
+ "name": "dance",
2461
+ "swiftName": "HKWorkoutActivityTypeDance",
2462
+ "rawValue": 14
2463
+ },
2464
+ {
2465
+ "name": "danceInspiredTraining",
2466
+ "swiftName": "HKWorkoutActivityTypeDanceInspiredTraining",
2467
+ "rawValue": 15
2468
+ },
2469
+ {
2470
+ "name": "elliptical",
2471
+ "swiftName": "HKWorkoutActivityTypeElliptical",
2472
+ "rawValue": 16
2473
+ },
2474
+ {
2475
+ "name": "equestrianSports",
2476
+ "swiftName": "HKWorkoutActivityTypeEquestrianSports",
2477
+ "rawValue": 17
2478
+ },
2479
+ {
2480
+ "name": "fencing",
2481
+ "swiftName": "HKWorkoutActivityTypeFencing",
2482
+ "rawValue": 18
2483
+ },
2484
+ {
2485
+ "name": "fishing",
2486
+ "swiftName": "HKWorkoutActivityTypeFishing",
2487
+ "rawValue": 19
2488
+ },
2489
+ {
2490
+ "name": "functionalStrengthTraining",
2491
+ "swiftName": "HKWorkoutActivityTypeFunctionalStrengthTraining",
2492
+ "rawValue": 20
2493
+ },
2494
+ {
2495
+ "name": "golf",
2496
+ "swiftName": "HKWorkoutActivityTypeGolf",
2497
+ "rawValue": 21
2498
+ },
2499
+ {
2500
+ "name": "gymnastics",
2501
+ "swiftName": "HKWorkoutActivityTypeGymnastics",
2502
+ "rawValue": 22
2503
+ },
2504
+ {
2505
+ "name": "handball",
2506
+ "swiftName": "HKWorkoutActivityTypeHandball",
2507
+ "rawValue": 23
2508
+ },
2509
+ {
2510
+ "name": "hiking",
2511
+ "swiftName": "HKWorkoutActivityTypeHiking",
2512
+ "rawValue": 24
2513
+ },
2514
+ {
2515
+ "name": "hockey",
2516
+ "swiftName": "HKWorkoutActivityTypeHockey",
2517
+ "rawValue": 25
2518
+ },
2519
+ {
2520
+ "name": "hunting",
2521
+ "swiftName": "HKWorkoutActivityTypeHunting",
2522
+ "rawValue": 26
2523
+ },
2524
+ {
2525
+ "name": "lacrosse",
2526
+ "swiftName": "HKWorkoutActivityTypeLacrosse",
2527
+ "rawValue": 27
2528
+ },
2529
+ {
2530
+ "name": "martialArts",
2531
+ "swiftName": "HKWorkoutActivityTypeMartialArts",
2532
+ "rawValue": 28
2533
+ },
2534
+ {
2535
+ "name": "mindAndBody",
2536
+ "swiftName": "HKWorkoutActivityTypeMindAndBody",
2537
+ "rawValue": 29
2538
+ },
2539
+ {
2540
+ "name": "mixedMetabolicCardioTraining",
2541
+ "swiftName": "HKWorkoutActivityTypeMixedMetabolicCardioTraining",
2542
+ "rawValue": 30
2543
+ },
2544
+ {
2545
+ "name": "paddleSports",
2546
+ "swiftName": "HKWorkoutActivityTypePaddleSports",
2547
+ "rawValue": 31
2548
+ },
2549
+ {
2550
+ "name": "play",
2551
+ "swiftName": "HKWorkoutActivityTypePlay",
2552
+ "rawValue": 32
2553
+ },
2554
+ {
2555
+ "name": "preparationAndRecovery",
2556
+ "swiftName": "HKWorkoutActivityTypePreparationAndRecovery",
2557
+ "rawValue": 33
2558
+ },
2559
+ {
2560
+ "name": "racquetball",
2561
+ "swiftName": "HKWorkoutActivityTypeRacquetball",
2562
+ "rawValue": 34
2563
+ },
2564
+ {
2565
+ "name": "rowing",
2566
+ "swiftName": "HKWorkoutActivityTypeRowing",
2567
+ "rawValue": 35
2568
+ },
2569
+ {
2570
+ "name": "rugby",
2571
+ "swiftName": "HKWorkoutActivityTypeRugby",
2572
+ "rawValue": 36
2573
+ },
2574
+ {
2575
+ "name": "running",
2576
+ "swiftName": "HKWorkoutActivityTypeRunning",
2577
+ "rawValue": 37
2578
+ },
2579
+ {
2580
+ "name": "sailing",
2581
+ "swiftName": "HKWorkoutActivityTypeSailing",
2582
+ "rawValue": 38
2583
+ },
2584
+ {
2585
+ "name": "skatingSports",
2586
+ "swiftName": "HKWorkoutActivityTypeSkatingSports",
2587
+ "rawValue": 39
2588
+ },
2589
+ {
2590
+ "name": "snowSports",
2591
+ "swiftName": "HKWorkoutActivityTypeSnowSports",
2592
+ "rawValue": 40
2593
+ },
2594
+ {
2595
+ "name": "soccer",
2596
+ "swiftName": "HKWorkoutActivityTypeSoccer",
2597
+ "rawValue": 41
2598
+ },
2599
+ {
2600
+ "name": "softball",
2601
+ "swiftName": "HKWorkoutActivityTypeSoftball",
2602
+ "rawValue": 42
2603
+ },
2604
+ {
2605
+ "name": "squash",
2606
+ "swiftName": "HKWorkoutActivityTypeSquash",
2607
+ "rawValue": 43
2608
+ },
2609
+ {
2610
+ "name": "stairClimbing",
2611
+ "swiftName": "HKWorkoutActivityTypeStairClimbing",
2612
+ "rawValue": 44
2613
+ },
2614
+ {
2615
+ "name": "surfingSports",
2616
+ "swiftName": "HKWorkoutActivityTypeSurfingSports",
2617
+ "rawValue": 45
2618
+ },
2619
+ {
2620
+ "name": "swimming",
2621
+ "swiftName": "HKWorkoutActivityTypeSwimming",
2622
+ "rawValue": 46
2623
+ },
2624
+ {
2625
+ "name": "tableTennis",
2626
+ "swiftName": "HKWorkoutActivityTypeTableTennis",
2627
+ "rawValue": 47
2628
+ },
2629
+ {
2630
+ "name": "tennis",
2631
+ "swiftName": "HKWorkoutActivityTypeTennis",
2632
+ "rawValue": 48
2633
+ },
2634
+ {
2635
+ "name": "trackAndField",
2636
+ "swiftName": "HKWorkoutActivityTypeTrackAndField",
2637
+ "rawValue": 49
2638
+ },
2639
+ {
2640
+ "name": "traditionalStrengthTraining",
2641
+ "swiftName": "HKWorkoutActivityTypeTraditionalStrengthTraining",
2642
+ "rawValue": 50
2643
+ },
2644
+ {
2645
+ "name": "volleyball",
2646
+ "swiftName": "HKWorkoutActivityTypeVolleyball",
2647
+ "rawValue": 51
2648
+ },
2649
+ {
2650
+ "name": "walking",
2651
+ "swiftName": "HKWorkoutActivityTypeWalking",
2652
+ "rawValue": 52
2653
+ },
2654
+ {
2655
+ "name": "waterFitness",
2656
+ "swiftName": "HKWorkoutActivityTypeWaterFitness",
2657
+ "rawValue": 53
2658
+ },
2659
+ {
2660
+ "name": "waterPolo",
2661
+ "swiftName": "HKWorkoutActivityTypeWaterPolo",
2662
+ "rawValue": 54
2663
+ },
2664
+ {
2665
+ "name": "waterSports",
2666
+ "swiftName": "HKWorkoutActivityTypeWaterSports",
2667
+ "rawValue": 55
2668
+ },
2669
+ {
2670
+ "name": "wrestling",
2671
+ "swiftName": "HKWorkoutActivityTypeWrestling",
2672
+ "rawValue": 56
2673
+ },
2674
+ {
2675
+ "name": "yoga",
2676
+ "swiftName": "HKWorkoutActivityTypeYoga",
2677
+ "rawValue": 57
2678
+ },
2679
+ {
2680
+ "name": "barre",
2681
+ "swiftName": "HKWorkoutActivityTypeBarre",
2682
+ "rawValue": 58
2683
+ },
2684
+ {
2685
+ "name": "coreTraining",
2686
+ "swiftName": "HKWorkoutActivityTypeCoreTraining",
2687
+ "rawValue": 59
2688
+ },
2689
+ {
2690
+ "name": "crossCountrySkiing",
2691
+ "swiftName": "HKWorkoutActivityTypeCrossCountrySkiing",
2692
+ "rawValue": 60
2693
+ },
2694
+ {
2695
+ "name": "downhillSkiing",
2696
+ "swiftName": "HKWorkoutActivityTypeDownhillSkiing",
2697
+ "rawValue": 61
2698
+ },
2699
+ {
2700
+ "name": "flexibility",
2701
+ "swiftName": "HKWorkoutActivityTypeFlexibility",
2702
+ "rawValue": 62
2703
+ },
2704
+ {
2705
+ "name": "highIntensityIntervalTraining",
2706
+ "swiftName": "HKWorkoutActivityTypeHighIntensityIntervalTraining",
2707
+ "rawValue": 63
2708
+ },
2709
+ {
2710
+ "name": "jumpRope",
2711
+ "swiftName": "HKWorkoutActivityTypeJumpRope",
2712
+ "rawValue": 64
2713
+ },
2714
+ {
2715
+ "name": "kickboxing",
2716
+ "swiftName": "HKWorkoutActivityTypeKickboxing",
2717
+ "rawValue": 65
2718
+ },
2719
+ {
2720
+ "name": "pilates",
2721
+ "swiftName": "HKWorkoutActivityTypePilates",
2722
+ "rawValue": 66
2723
+ },
2724
+ {
2725
+ "name": "snowboarding",
2726
+ "swiftName": "HKWorkoutActivityTypeSnowboarding",
2727
+ "rawValue": 67
2728
+ },
2729
+ {
2730
+ "name": "stairs",
2731
+ "swiftName": "HKWorkoutActivityTypeStairs",
2732
+ "rawValue": 68
2733
+ },
2734
+ {
2735
+ "name": "stepTraining",
2736
+ "swiftName": "HKWorkoutActivityTypeStepTraining",
2737
+ "rawValue": 69
2738
+ },
2739
+ {
2740
+ "name": "wheelchairWalkPace",
2741
+ "swiftName": "HKWorkoutActivityTypeWheelchairWalkPace",
2742
+ "rawValue": 70
2743
+ },
2744
+ {
2745
+ "name": "wheelchairRunPace",
2746
+ "swiftName": "HKWorkoutActivityTypeWheelchairRunPace",
2747
+ "rawValue": 71
2748
+ },
2749
+ {
2750
+ "name": "taiChi",
2751
+ "swiftName": "HKWorkoutActivityTypeTaiChi",
2752
+ "rawValue": 72
2753
+ },
2754
+ {
2755
+ "name": "mixedCardio",
2756
+ "swiftName": "HKWorkoutActivityTypeMixedCardio",
2757
+ "rawValue": 73
2758
+ },
2759
+ {
2760
+ "name": "handCycling",
2761
+ "swiftName": "HKWorkoutActivityTypeHandCycling",
2762
+ "rawValue": 74
2763
+ },
2764
+ {
2765
+ "name": "discSports",
2766
+ "swiftName": "HKWorkoutActivityTypeDiscSports",
2767
+ "rawValue": 75
2768
+ },
2769
+ {
2770
+ "name": "fitnessGaming",
2771
+ "swiftName": "HKWorkoutActivityTypeFitnessGaming",
2772
+ "rawValue": 76
2773
+ },
2774
+ {
2775
+ "name": "cardioDance",
2776
+ "swiftName": "HKWorkoutActivityTypeCardioDance",
2777
+ "rawValue": 77
2778
+ },
2779
+ {
2780
+ "name": "socialDance",
2781
+ "swiftName": "HKWorkoutActivityTypeSocialDance",
2782
+ "rawValue": 78
2783
+ },
2784
+ {
2785
+ "name": "pickleball",
2786
+ "swiftName": "HKWorkoutActivityTypePickleball",
2787
+ "rawValue": 79
2788
+ },
2789
+ {
2790
+ "name": "cooldown",
2791
+ "swiftName": "HKWorkoutActivityTypeCooldown",
2792
+ "rawValue": 80
2793
+ },
2794
+ {
2795
+ "name": "swimBikeRun",
2796
+ "swiftName": "HKWorkoutActivityTypeSwimBikeRun",
2797
+ "rawValue": 82
2798
+ },
2799
+ {
2800
+ "name": "transition",
2801
+ "swiftName": "HKWorkoutActivityTypeTransition",
2802
+ "rawValue": 83
2803
+ },
2804
+ {
2805
+ "name": "underwaterDiving",
2806
+ "swiftName": "HKWorkoutActivityTypeUnderwaterDiving",
2807
+ "rawValue": 84
2808
+ },
2809
+ {
2810
+ "name": "other",
2811
+ "swiftName": "HKWorkoutActivityTypeOther",
2812
+ "rawValue": 3000
2813
+ }
2814
+ ]
2815
+ },
2816
+ {
2817
+ "name": "WorkoutEventType",
2818
+ "ios": "8.0",
2819
+ "members": [
2820
+ {
2821
+ "name": "pause",
2822
+ "swiftName": "HKWorkoutEventTypePause",
2823
+ "rawValue": 1
2824
+ },
2825
+ {
2826
+ "name": "resume",
2827
+ "swiftName": "HKWorkoutEventTypeResume",
2828
+ "rawValue": 2
2829
+ },
2830
+ {
2831
+ "name": "lap",
2832
+ "swiftName": "HKWorkoutEventTypeLap",
2833
+ "rawValue": 3
2834
+ },
2835
+ {
2836
+ "name": "marker",
2837
+ "swiftName": "HKWorkoutEventTypeMarker",
2838
+ "rawValue": 4
2839
+ },
2840
+ {
2841
+ "name": "motionPaused",
2842
+ "swiftName": "HKWorkoutEventTypeMotionPaused",
2843
+ "rawValue": 5
2844
+ },
2845
+ {
2846
+ "name": "motionResumed",
2847
+ "swiftName": "HKWorkoutEventTypeMotionResumed",
2848
+ "rawValue": 6
2849
+ },
2850
+ {
2851
+ "name": "segment",
2852
+ "swiftName": "HKWorkoutEventTypeSegment",
2853
+ "rawValue": 7
2854
+ },
2855
+ {
2856
+ "name": "pauseOrResumeRequest",
2857
+ "swiftName": "HKWorkoutEventTypePauseOrResumeRequest",
2858
+ "rawValue": 8
2859
+ }
2860
+ ]
2861
+ },
2862
+ {
2863
+ "name": "WorkoutSwimmingLocationType",
2864
+ "ios": "10.0",
2865
+ "members": [
2866
+ {
2867
+ "name": "unknown",
2868
+ "swiftName": "HKWorkoutSwimmingLocationTypeUnknown",
2869
+ "rawValue": 0
2870
+ },
2871
+ {
2872
+ "name": "pool",
2873
+ "swiftName": "HKWorkoutSwimmingLocationTypePool",
2874
+ "rawValue": 1
2875
+ },
2876
+ {
2877
+ "name": "openWater",
2878
+ "swiftName": "HKWorkoutSwimmingLocationTypeOpenWater",
2879
+ "rawValue": 2
2880
+ }
2881
+ ]
2882
+ }
2883
+ ],
2884
+ "metadataKeys": [
2885
+ {
2886
+ "keyConstant": "HKMetadataKeyActivityType",
2887
+ "rawKey": "HKActivityType",
2888
+ "ios": "17.0",
2889
+ "expectedType": "an NSNumber containing a HKWorkoutActivityType value",
2890
+ "tsType": "WorkoutActivityType",
2891
+ "valueKind": "enum",
2892
+ "enumName": "WorkoutActivityType",
2893
+ "objectTypes": ["sample"],
2894
+ "identifiers": []
2895
+ },
2896
+ {
2897
+ "keyConstant": "HKMetadataKeyAlgorithmVersion",
2898
+ "rawKey": "HKAlgorithmVersion",
2899
+ "ios": "15.0",
2900
+ "expectedType": null,
2901
+ "tsType": "number",
2902
+ "valueKind": "number",
2903
+ "enumName": null,
2904
+ "objectTypes": ["sample"],
2905
+ "identifiers": []
2906
+ },
2907
+ {
2908
+ "keyConstant": "HKMetadataKeyAlpineSlopeGrade",
2909
+ "rawKey": "HKAlpineSlopeGrade",
2910
+ "ios": "11.2",
2911
+ "expectedType": "an HKQuantity object compatible with percent unit",
2912
+ "tsType": "Quantity",
2913
+ "valueKind": "quantity",
2914
+ "enumName": null,
2915
+ "objectTypes": ["workout"],
2916
+ "identifiers": ["HKQuantityTypeIdentifierDistanceDownhillSnowSports"]
2917
+ },
2918
+ {
2919
+ "keyConstant": "HKMetadataKeyAppleDeviceCalibrated",
2920
+ "rawKey": "HKAppleDeviceCalibrated",
2921
+ "ios": "14.0",
2922
+ "expectedType": null,
2923
+ "tsType": "boolean",
2924
+ "valueKind": "boolean",
2925
+ "enumName": null,
2926
+ "objectTypes": ["sample"],
2927
+ "identifiers": []
2928
+ },
2929
+ {
2930
+ "keyConstant": "HKMetadataKeyAppleECGAlgorithmVersion",
2931
+ "rawKey": "HKAppleECGAlgorithmVersion",
2932
+ "ios": "14.0",
2933
+ "expectedType": "an an NSNumber containing a HKAppleECGAlgorithmVersion value",
2934
+ "tsType": "AppleECGAlgorithmVersion",
2935
+ "valueKind": "enum",
2936
+ "enumName": "AppleECGAlgorithmVersion",
2937
+ "objectTypes": [],
2938
+ "identifiers": []
2939
+ },
2940
+ {
2941
+ "keyConstant": "HKMetadataKeyAppleFitnessPlusCatalogIdentifier",
2942
+ "rawKey": "HKAppleFitnessPlusCatalogIdentifier",
2943
+ "ios": "18.2",
2944
+ "expectedType": "an NSString containing the Fitness+ catalog identifier",
2945
+ "tsType": "string",
2946
+ "valueKind": "string",
2947
+ "enumName": null,
2948
+ "objectTypes": ["workout"],
2949
+ "identifiers": []
2950
+ },
2951
+ {
2952
+ "keyConstant": "HKMetadataKeyAppleFitnessPlusSession",
2953
+ "rawKey": "HKAppleFitnessPlusSession",
2954
+ "ios": "17.0",
2955
+ "expectedType": "an NSNumber containing a BOOL value",
2956
+ "tsType": "boolean",
2957
+ "valueKind": "boolean",
2958
+ "enumName": null,
2959
+ "objectTypes": ["workout"],
2960
+ "identifiers": []
2961
+ },
2962
+ {
2963
+ "keyConstant": "HKMetadataKeyAudioExposureDuration",
2964
+ "rawKey": "HKAudioExposureDuration",
2965
+ "ios": "14.2",
2966
+ "expectedType": "an HKQuantity object compatible with a time unit",
2967
+ "tsType": "Quantity",
2968
+ "valueKind": "quantity",
2969
+ "enumName": null,
2970
+ "objectTypes": ["sample"],
2971
+ "identifiers": []
2972
+ },
2973
+ {
2974
+ "keyConstant": "HKMetadataKeyAudioExposureLevel",
2975
+ "rawKey": "HKAudioExposureLevel",
2976
+ "ios": "13.0",
2977
+ "expectedType": null,
2978
+ "tsType": "Quantity",
2979
+ "valueKind": "quantity",
2980
+ "enumName": null,
2981
+ "objectTypes": ["categorySample"],
2982
+ "identifiers": [
2983
+ "HKCategoryTypeIdentifierAudioExposureEvent",
2984
+ "HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent",
2985
+ "HKCategoryTypeIdentifierHeadphoneAudioExposureEvent"
2986
+ ]
2987
+ },
2988
+ {
2989
+ "keyConstant": "HKMetadataKeyAverageMETs",
2990
+ "rawKey": "HKAverageMETs",
2991
+ "ios": "13.0",
2992
+ "expectedType": "an HKQuantity expressed in a METs (kcal/(kg*hr)) unit",
2993
+ "tsType": "Quantity",
2994
+ "valueKind": "quantity",
2995
+ "enumName": null,
2996
+ "objectTypes": ["workout"],
2997
+ "identifiers": []
2998
+ },
2999
+ {
3000
+ "keyConstant": "HKMetadataKeyAverageSpeed",
3001
+ "rawKey": "HKAverageSpeed",
3002
+ "ios": "11.2",
3003
+ "expectedType": "an HKQuantity object compatible with a speed unit (e",
3004
+ "tsType": "Quantity",
3005
+ "valueKind": "quantity",
3006
+ "enumName": null,
3007
+ "objectTypes": ["workout"],
3008
+ "identifiers": ["HKQuantityTypeIdentifierDistanceDownhillSnowSports"]
3009
+ },
3010
+ {
3011
+ "keyConstant": "HKMetadataKeyBarometricPressure",
3012
+ "rawKey": "HKBarometricPressure",
3013
+ "ios": "14.0",
3014
+ "expectedType": "an HKQuantity representing a value in units of pressure (atmospheres, pascals, millimeters of Mercury)",
3015
+ "tsType": "Quantity",
3016
+ "valueKind": "quantity",
3017
+ "enumName": null,
3018
+ "objectTypes": ["sample"],
3019
+ "identifiers": []
3020
+ },
3021
+ {
3022
+ "keyConstant": "HKMetadataKeyBloodGlucoseMealTime",
3023
+ "rawKey": "HKBloodGlucoseMealTime",
3024
+ "ios": "11.0",
3025
+ "expectedType": "an NSNumber containing a HKBloodGlucoseMealTime value",
3026
+ "tsType": "BloodGlucoseMealTime",
3027
+ "valueKind": "enum",
3028
+ "enumName": "BloodGlucoseMealTime",
3029
+ "objectTypes": ["quantitySample"],
3030
+ "identifiers": ["HKQuantityTypeIdentifierBloodGlucose"]
3031
+ },
3032
+ {
3033
+ "keyConstant": "HKMetadataKeyBodyTemperatureSensorLocation",
3034
+ "rawKey": "HKBodyTemperatureSensorLocation",
3035
+ "ios": "8.0",
3036
+ "expectedType": "an NSNumber containing a HKBodyTemperatureSensorLocation value",
3037
+ "tsType": "BodyTemperatureSensorLocation",
3038
+ "valueKind": "enum",
3039
+ "enumName": "BodyTemperatureSensorLocation",
3040
+ "objectTypes": ["quantitySample"],
3041
+ "identifiers": [
3042
+ "HKQuantityTypeIdentifierBodyTemperature",
3043
+ "HKQuantityTypeIdentifierBasalBodyTemperature"
3044
+ ]
3045
+ },
3046
+ {
3047
+ "keyConstant": "HKMetadataKeyCoachedWorkout",
3048
+ "rawKey": "HKCoachedWorkout",
3049
+ "ios": "8.0",
3050
+ "expectedType": "an NSNumber containing a BOOL value",
3051
+ "tsType": "boolean",
3052
+ "valueKind": "boolean",
3053
+ "enumName": null,
3054
+ "objectTypes": ["workout"],
3055
+ "identifiers": []
3056
+ },
3057
+ {
3058
+ "keyConstant": "HKMetadataKeyCrossTrainerDistance",
3059
+ "rawKey": "HKCrossTrainerDistance",
3060
+ "ios": "12.0",
3061
+ "expectedType": "an HKQuantity object compatible with a length unit",
3062
+ "tsType": "Quantity",
3063
+ "valueKind": "quantity",
3064
+ "enumName": null,
3065
+ "objectTypes": ["workout"],
3066
+ "identifiers": []
3067
+ },
3068
+ {
3069
+ "keyConstant": "HKMetadataKeyCyclingFunctionalThresholdPowerTestType",
3070
+ "rawKey": "HKCyclingFunctionalThresholdPowerTestType",
3071
+ "ios": "17.0",
3072
+ "expectedType": "an NSNumber containing a HKCyclingFunctionalThresholdPowerTestType value",
3073
+ "tsType": "CyclingFunctionalThresholdPowerTestType",
3074
+ "valueKind": "enum",
3075
+ "enumName": "CyclingFunctionalThresholdPowerTestType",
3076
+ "objectTypes": [],
3077
+ "identifiers": []
3078
+ },
3079
+ {
3080
+ "keyConstant": "HKMetadataKeyDateOfEarliestDataUsedForEstimate",
3081
+ "rawKey": "HKDateOfEarliestDataUsedForEstimate",
3082
+ "ios": "15.0",
3083
+ "expectedType": null,
3084
+ "tsType": "string",
3085
+ "valueKind": "string",
3086
+ "enumName": null,
3087
+ "objectTypes": ["sample"],
3088
+ "identifiers": []
3089
+ },
3090
+ {
3091
+ "keyConstant": "HKMetadataKeyDeviceManufacturerName",
3092
+ "rawKey": "HKDeviceManufacturerName",
3093
+ "ios": "8.0",
3094
+ "expectedType": "NSString",
3095
+ "tsType": "string",
3096
+ "valueKind": "string",
3097
+ "enumName": null,
3098
+ "objectTypes": ["common"],
3099
+ "identifiers": []
3100
+ },
3101
+ {
3102
+ "keyConstant": "HKMetadataKeyDeviceName",
3103
+ "rawKey": "HKDeviceName",
3104
+ "ios": "8.0",
3105
+ "expectedType": "NSString",
3106
+ "tsType": "string",
3107
+ "valueKind": "string",
3108
+ "enumName": null,
3109
+ "objectTypes": ["common"],
3110
+ "identifiers": []
3111
+ },
3112
+ {
3113
+ "keyConstant": "HKMetadataKeyDevicePlacementSide",
3114
+ "rawKey": "HKDevicePlacementSide",
3115
+ "ios": "14.0",
3116
+ "expectedType": "an NSNumber containing a HKDevicePlacementSide value",
3117
+ "tsType": "DevicePlacementSide",
3118
+ "valueKind": "enum",
3119
+ "enumName": "DevicePlacementSide",
3120
+ "objectTypes": [],
3121
+ "identifiers": []
3122
+ },
3123
+ {
3124
+ "keyConstant": "HKMetadataKeyDeviceSerialNumber",
3125
+ "rawKey": "HKDeviceSerialNumber",
3126
+ "ios": "8.0",
3127
+ "expectedType": "NSString",
3128
+ "tsType": "string",
3129
+ "valueKind": "string",
3130
+ "enumName": null,
3131
+ "objectTypes": ["common"],
3132
+ "identifiers": []
3133
+ },
3134
+ {
3135
+ "keyConstant": "HKMetadataKeyDigitalSignature",
3136
+ "rawKey": "HKDigitalSignature",
3137
+ "ios": "8.0",
3138
+ "expectedType": null,
3139
+ "tsType": "string",
3140
+ "valueKind": "string",
3141
+ "enumName": null,
3142
+ "objectTypes": ["common"],
3143
+ "identifiers": []
3144
+ },
3145
+ {
3146
+ "keyConstant": "HKMetadataKeyElevationAscended",
3147
+ "rawKey": "HKElevationAscended",
3148
+ "ios": "11.2",
3149
+ "expectedType": "an HKQuantity object compatible with length unit",
3150
+ "tsType": "Quantity",
3151
+ "valueKind": "quantity",
3152
+ "enumName": null,
3153
+ "objectTypes": ["workout"],
3154
+ "identifiers": []
3155
+ },
3156
+ {
3157
+ "keyConstant": "HKMetadataKeyElevationDescended",
3158
+ "rawKey": "HKElevationDescended",
3159
+ "ios": "11.2",
3160
+ "expectedType": "an HKQuantity object compatible with length unit",
3161
+ "tsType": "Quantity",
3162
+ "valueKind": "quantity",
3163
+ "enumName": null,
3164
+ "objectTypes": ["workout"],
3165
+ "identifiers": []
3166
+ },
3167
+ {
3168
+ "keyConstant": "HKMetadataKeyExternalUUID",
3169
+ "rawKey": "HKExternalUUID",
3170
+ "ios": "8.0",
3171
+ "expectedType": "NSString",
3172
+ "tsType": "string",
3173
+ "valueKind": "string",
3174
+ "enumName": null,
3175
+ "objectTypes": ["common"],
3176
+ "identifiers": []
3177
+ },
3178
+ {
3179
+ "keyConstant": "HKMetadataKeyFitnessMachineDuration",
3180
+ "rawKey": "HKFitnessMachineDuration",
3181
+ "ios": "12.0",
3182
+ "expectedType": "an HKQuantity object compatible with a time unit",
3183
+ "tsType": "Quantity",
3184
+ "valueKind": "quantity",
3185
+ "enumName": null,
3186
+ "objectTypes": ["workout"],
3187
+ "identifiers": []
3188
+ },
3189
+ {
3190
+ "keyConstant": "HKMetadataKeyFoodType",
3191
+ "rawKey": "HKFoodType",
3192
+ "ios": "8.0",
3193
+ "expectedType": "NSString",
3194
+ "tsType": "string",
3195
+ "valueKind": "string",
3196
+ "enumName": null,
3197
+ "objectTypes": ["common"],
3198
+ "identifiers": []
3199
+ },
3200
+ {
3201
+ "keyConstant": "HKMetadataKeyGlassesPrescriptionDescription",
3202
+ "rawKey": "HKGlassesPrescriptionDescription",
3203
+ "ios": "16.0",
3204
+ "expectedType": null,
3205
+ "tsType": "string",
3206
+ "valueKind": "string",
3207
+ "enumName": null,
3208
+ "objectTypes": [],
3209
+ "identifiers": []
3210
+ },
3211
+ {
3212
+ "keyConstant": "HKMetadataKeyGroupFitness",
3213
+ "rawKey": "HKGroupFitness",
3214
+ "ios": "8.0",
3215
+ "expectedType": "an NSNumber containing a BOOL value",
3216
+ "tsType": "boolean",
3217
+ "valueKind": "boolean",
3218
+ "enumName": null,
3219
+ "objectTypes": ["workout"],
3220
+ "identifiers": []
3221
+ },
3222
+ {
3223
+ "keyConstant": "HKMetadataKeyHeadphoneGain",
3224
+ "rawKey": "HKHeadphoneGain",
3225
+ "ios": "16.4",
3226
+ "expectedType": null,
3227
+ "tsType": "Quantity",
3228
+ "valueKind": "quantity",
3229
+ "enumName": null,
3230
+ "objectTypes": ["categorySample"],
3231
+ "identifiers": [
3232
+ "HKCategoryTypeIdentifierAudioExposureEvent",
3233
+ "HKCategoryTypeIdentifierHeadphoneAudioExposureEvent"
3234
+ ]
3235
+ },
3236
+ {
3237
+ "keyConstant": "HKMetadataKeyHeartRateEventThreshold",
3238
+ "rawKey": "HKHeartRateEventThreshold",
3239
+ "ios": "12.2",
3240
+ "expectedType": null,
3241
+ "tsType": "Quantity",
3242
+ "valueKind": "quantity",
3243
+ "enumName": null,
3244
+ "objectTypes": ["categorySample"],
3245
+ "identifiers": [
3246
+ "HKCategoryTypeIdentifierHighHeartRateEvent",
3247
+ "HKCategoryTypeIdentifierLowHeartRateEvent"
3248
+ ]
3249
+ },
3250
+ {
3251
+ "keyConstant": "HKMetadataKeyHeartRateMotionContext",
3252
+ "rawKey": "HKHeartRateMotionContext",
3253
+ "ios": "11.0",
3254
+ "expectedType": "an NSNumber containing a HKHeartRateMotionContext value",
3255
+ "tsType": "HeartRateMotionContext",
3256
+ "valueKind": "enum",
3257
+ "enumName": "HeartRateMotionContext",
3258
+ "objectTypes": ["quantitySample"],
3259
+ "identifiers": []
3260
+ },
3261
+ {
3262
+ "keyConstant": "HKMetadataKeyHeartRateRecoveryActivityDuration",
3263
+ "rawKey": "HKHeartRateRecoveryActivityDuration",
3264
+ "ios": "16.0",
3265
+ "expectedType": "an HKQuantity object compatible with a time unit",
3266
+ "tsType": "Quantity",
3267
+ "valueKind": "quantity",
3268
+ "enumName": null,
3269
+ "objectTypes": ["quantitySample"],
3270
+ "identifiers": []
3271
+ },
3272
+ {
3273
+ "keyConstant": "HKMetadataKeyHeartRateRecoveryActivityType",
3274
+ "rawKey": "HKHeartRateRecoveryActivityType",
3275
+ "ios": "16.0",
3276
+ "expectedType": "an NSNumber containing a HKWorkoutActivityType value",
3277
+ "tsType": "WorkoutActivityType",
3278
+ "valueKind": "enum",
3279
+ "enumName": "WorkoutActivityType",
3280
+ "objectTypes": ["quantitySample"],
3281
+ "identifiers": []
3282
+ },
3283
+ {
3284
+ "keyConstant": "HKMetadataKeyHeartRateRecoveryMaxObservedRecoveryHeartRate",
3285
+ "rawKey": "HKHeartRateRecoveryMaxObservedRecoveryHeartRate",
3286
+ "ios": "16.0",
3287
+ "expectedType": "an HKQuantity object compatible with \"count/min\" unit (eg \"BPM\")",
3288
+ "tsType": "Quantity",
3289
+ "valueKind": "quantity",
3290
+ "enumName": null,
3291
+ "objectTypes": ["quantitySample"],
3292
+ "identifiers": []
3293
+ },
3294
+ {
3295
+ "keyConstant": "HKMetadataKeyHeartRateRecoveryTestType",
3296
+ "rawKey": "HKHeartRateRecoveryTestType",
3297
+ "ios": "16.0",
3298
+ "expectedType": "an NSNumber containing a HKHeartRateRecoveryTestType value",
3299
+ "tsType": "HeartRateRecoveryTestType",
3300
+ "valueKind": "enum",
3301
+ "enumName": "HeartRateRecoveryTestType",
3302
+ "objectTypes": ["quantitySample"],
3303
+ "identifiers": []
3304
+ },
3305
+ {
3306
+ "keyConstant": "HKMetadataKeyHeartRateSensorLocation",
3307
+ "rawKey": "HKHeartRateSensorLocation",
3308
+ "ios": "8.0",
3309
+ "expectedType": "an NSNumber containing a HKHeartRateSensorLocation value",
3310
+ "tsType": "HeartRateSensorLocation",
3311
+ "valueKind": "enum",
3312
+ "enumName": "HeartRateSensorLocation",
3313
+ "objectTypes": ["quantitySample"],
3314
+ "identifiers": []
3315
+ },
3316
+ {
3317
+ "keyConstant": "HKMetadataKeyIndoorBikeDistance",
3318
+ "rawKey": "HKIndoorBikeDistance",
3319
+ "ios": "12.0",
3320
+ "expectedType": "an HKQuantity object compatible with a length unit",
3321
+ "tsType": "Quantity",
3322
+ "valueKind": "quantity",
3323
+ "enumName": null,
3324
+ "objectTypes": ["workout"],
3325
+ "identifiers": []
3326
+ },
3327
+ {
3328
+ "keyConstant": "HKMetadataKeyIndoorWorkout",
3329
+ "rawKey": "HKIndoorWorkout",
3330
+ "ios": "8.0",
3331
+ "expectedType": "an NSNumber containing a BOOL value",
3332
+ "tsType": "boolean",
3333
+ "valueKind": "boolean",
3334
+ "enumName": null,
3335
+ "objectTypes": ["workout"],
3336
+ "identifiers": []
3337
+ },
3338
+ {
3339
+ "keyConstant": "HKMetadataKeyInsulinDeliveryReason",
3340
+ "rawKey": "HKInsulinDeliveryReason",
3341
+ "ios": "11.0",
3342
+ "expectedType": "an NSNumber containing a HKInsulinDeliveryReason value",
3343
+ "tsType": "InsulinDeliveryReason",
3344
+ "valueKind": "enum",
3345
+ "enumName": "InsulinDeliveryReason",
3346
+ "objectTypes": ["quantitySample"],
3347
+ "identifiers": ["HKQuantityTypeIdentifierInsulinDelivery"]
3348
+ },
3349
+ {
3350
+ "keyConstant": "HKMetadataKeyLapLength",
3351
+ "rawKey": "HKLapLength",
3352
+ "ios": "10.0",
3353
+ "expectedType": "an HKQuantity object compatible with a length unit",
3354
+ "tsType": "Quantity",
3355
+ "valueKind": "quantity",
3356
+ "enumName": null,
3357
+ "objectTypes": ["workout"],
3358
+ "identifiers": []
3359
+ },
3360
+ {
3361
+ "keyConstant": "HKMetadataKeyLowCardioFitnessEventThreshold",
3362
+ "rawKey": "HKLowCardioFitnessEventThreshold",
3363
+ "ios": "14.3",
3364
+ "expectedType": null,
3365
+ "tsType": "Quantity",
3366
+ "valueKind": "quantity",
3367
+ "enumName": null,
3368
+ "objectTypes": ["categorySample"],
3369
+ "identifiers": ["HKCategoryTypeIdentifierLowCardioFitnessEvent"]
3370
+ },
3371
+ {
3372
+ "keyConstant": "HKMetadataKeyMaximumLightIntensity",
3373
+ "rawKey": "HKMaximumLightIntensity",
3374
+ "ios": "17.0",
3375
+ "expectedType": "an HKQuantity expressed in HKUnit Lux",
3376
+ "tsType": "Quantity",
3377
+ "valueKind": "quantity",
3378
+ "enumName": null,
3379
+ "objectTypes": ["sample"],
3380
+ "identifiers": []
3381
+ },
3382
+ {
3383
+ "keyConstant": "HKMetadataKeyMaximumSpeed",
3384
+ "rawKey": "HKMaximumSpeed",
3385
+ "ios": "11.2",
3386
+ "expectedType": "an HKQuantity object compatible with a speed unit (e",
3387
+ "tsType": "Quantity",
3388
+ "valueKind": "quantity",
3389
+ "enumName": null,
3390
+ "objectTypes": ["workout"],
3391
+ "identifiers": ["HKQuantityTypeIdentifierDistanceDownhillSnowSports"]
3392
+ },
3393
+ {
3394
+ "keyConstant": "HKMetadataKeyMenstrualCycleStart",
3395
+ "rawKey": "HKMenstrualCycleStart",
3396
+ "ios": "9.0",
3397
+ "expectedType": "an NSNumber containing a BOOL value",
3398
+ "tsType": "boolean",
3399
+ "valueKind": "boolean",
3400
+ "enumName": null,
3401
+ "objectTypes": ["categorySample"],
3402
+ "identifiers": ["HKCategoryTypeIdentifierMenstrualFlow"]
3403
+ },
3404
+ {
3405
+ "keyConstant": "HKMetadataKeyPhysicalEffortEstimationType",
3406
+ "rawKey": "HKPhysicalEffortEstimationType",
3407
+ "ios": "17.0",
3408
+ "expectedType": "an NSNumber containing a HKPhysicalEffortEstimationType value",
3409
+ "tsType": "PhysicalEffortEstimationType",
3410
+ "valueKind": "enum",
3411
+ "enumName": "PhysicalEffortEstimationType",
3412
+ "objectTypes": ["sample"],
3413
+ "identifiers": []
3414
+ },
3415
+ {
3416
+ "keyConstant": "HKMetadataKeyQuantityClampedToLowerBound",
3417
+ "rawKey": "HKQuantityClampedToLowerBound",
3418
+ "ios": "16.0",
3419
+ "expectedType": null,
3420
+ "tsType": "boolean",
3421
+ "valueKind": "boolean",
3422
+ "enumName": null,
3423
+ "objectTypes": ["quantitySample"],
3424
+ "identifiers": []
3425
+ },
3426
+ {
3427
+ "keyConstant": "HKMetadataKeyQuantityClampedToUpperBound",
3428
+ "rawKey": "HKQuantityClampedToUpperBound",
3429
+ "ios": "16.0",
3430
+ "expectedType": null,
3431
+ "tsType": "boolean",
3432
+ "valueKind": "boolean",
3433
+ "enumName": null,
3434
+ "objectTypes": ["quantitySample"],
3435
+ "identifiers": []
3436
+ },
3437
+ {
3438
+ "keyConstant": "HKMetadataKeyReferenceRangeLowerLimit",
3439
+ "rawKey": "HKReferenceRangeLowerLimit",
3440
+ "ios": "8.0",
3441
+ "expectedType": "an NSNumber",
3442
+ "tsType": "number",
3443
+ "valueKind": "number",
3444
+ "enumName": null,
3445
+ "objectTypes": ["common"],
3446
+ "identifiers": []
3447
+ },
3448
+ {
3449
+ "keyConstant": "HKMetadataKeyReferenceRangeUpperLimit",
3450
+ "rawKey": "HKReferenceRangeUpperLimit",
3451
+ "ios": "8.0",
3452
+ "expectedType": "an NSNumber",
3453
+ "tsType": "number",
3454
+ "valueKind": "number",
3455
+ "enumName": null,
3456
+ "objectTypes": ["common"],
3457
+ "identifiers": []
3458
+ },
3459
+ {
3460
+ "keyConstant": "HKMetadataKeySessionEstimate",
3461
+ "rawKey": "HKSessionEstimate",
3462
+ "ios": "16.0",
3463
+ "expectedType": "an HKQuantity object with a unit compatible with the associated HKQuantitySample",
3464
+ "tsType": "Quantity",
3465
+ "valueKind": "quantity",
3466
+ "enumName": null,
3467
+ "objectTypes": ["quantitySample"],
3468
+ "identifiers": []
3469
+ },
3470
+ {
3471
+ "keyConstant": "HKMetadataKeySexualActivityProtectionUsed",
3472
+ "rawKey": "HKSexualActivityProtectionUsed",
3473
+ "ios": "9.0",
3474
+ "expectedType": "an NSNumber containing a BOOL value",
3475
+ "tsType": "boolean",
3476
+ "valueKind": "boolean",
3477
+ "enumName": null,
3478
+ "objectTypes": ["categorySample"],
3479
+ "identifiers": ["HKCategoryTypeIdentifierSexualActivity"]
3480
+ },
3481
+ {
3482
+ "keyConstant": "HKMetadataKeySwimmingLocationType",
3483
+ "rawKey": "HKSwimmingLocationType",
3484
+ "ios": "10.0",
3485
+ "expectedType": "an NSNumber containing an HKWorkoutSwimmingLocationType value",
3486
+ "tsType": "WorkoutSwimmingLocationType",
3487
+ "valueKind": "enum",
3488
+ "enumName": "WorkoutSwimmingLocationType",
3489
+ "objectTypes": ["workout"],
3490
+ "identifiers": []
3491
+ },
3492
+ {
3493
+ "keyConstant": "HKMetadataKeySwimmingStrokeStyle",
3494
+ "rawKey": "HKSwimmingStrokeStyle",
3495
+ "ios": "10.0",
3496
+ "expectedType": "an NSNumber containing an HKSwimmingStrokeStyle value",
3497
+ "tsType": "SwimmingStrokeStyle",
3498
+ "valueKind": "enum",
3499
+ "enumName": "SwimmingStrokeStyle",
3500
+ "objectTypes": ["workoutEvent"],
3501
+ "identifiers": []
3502
+ },
3503
+ {
3504
+ "keyConstant": "HKMetadataKeySWOLFScore",
3505
+ "rawKey": "HKSWOLFScore",
3506
+ "ios": "16.0",
3507
+ "expectedType": "an NSNumber containing a score",
3508
+ "tsType": "number",
3509
+ "valueKind": "number",
3510
+ "enumName": null,
3511
+ "objectTypes": ["workout"],
3512
+ "identifiers": []
3513
+ },
3514
+ {
3515
+ "keyConstant": "HKMetadataKeySyncIdentifier",
3516
+ "rawKey": "HKSyncIdentifier",
3517
+ "ios": "11.0",
3518
+ "expectedType": "NSString",
3519
+ "tsType": "string",
3520
+ "valueKind": "string",
3521
+ "enumName": null,
3522
+ "objectTypes": ["common"],
3523
+ "identifiers": []
3524
+ },
3525
+ {
3526
+ "keyConstant": "HKMetadataKeySyncVersion",
3527
+ "rawKey": "HKSyncVersion",
3528
+ "ios": "11.0",
3529
+ "expectedType": "NSNumber",
3530
+ "tsType": "number",
3531
+ "valueKind": "number",
3532
+ "enumName": null,
3533
+ "objectTypes": ["common"],
3534
+ "identifiers": []
3535
+ },
3536
+ {
3537
+ "keyConstant": "HKMetadataKeyTimeZone",
3538
+ "rawKey": "HKTimeZone",
3539
+ "ios": "8.0",
3540
+ "expectedType": "an NSString compatible with NSTimeZone's +timeZoneWithName:",
3541
+ "tsType": "string",
3542
+ "valueKind": "string",
3543
+ "enumName": null,
3544
+ "objectTypes": ["common"],
3545
+ "identifiers": []
3546
+ },
3547
+ {
3548
+ "keyConstant": "HKMetadataKeyUDIDeviceIdentifier",
3549
+ "rawKey": "HKUDIDeviceIdentifier",
3550
+ "ios": "8.0",
3551
+ "expectedType": "NSString",
3552
+ "tsType": "string",
3553
+ "valueKind": "string",
3554
+ "enumName": null,
3555
+ "objectTypes": ["common"],
3556
+ "identifiers": []
3557
+ },
3558
+ {
3559
+ "keyConstant": "HKMetadataKeyUDIProductionIdentifier",
3560
+ "rawKey": "HKUDIProductionIdentifier",
3561
+ "ios": "8.0",
3562
+ "expectedType": "NSString",
3563
+ "tsType": "string",
3564
+ "valueKind": "string",
3565
+ "enumName": null,
3566
+ "objectTypes": ["common"],
3567
+ "identifiers": []
3568
+ },
3569
+ {
3570
+ "keyConstant": "HKMetadataKeyUserMotionContext",
3571
+ "rawKey": "HKUserMotionContext",
3572
+ "ios": "16.0",
3573
+ "expectedType": "an NSNumber containing a HKUserMotionContext value",
3574
+ "tsType": "UserMotionContext",
3575
+ "valueKind": "enum",
3576
+ "enumName": "UserMotionContext",
3577
+ "objectTypes": ["sample"],
3578
+ "identifiers": []
3579
+ },
3580
+ {
3581
+ "keyConstant": "HKMetadataKeyVO2MaxTestType",
3582
+ "rawKey": "HKVO2MaxTestType",
3583
+ "ios": "11.0",
3584
+ "expectedType": "an NSNumber containing a HKVO2MaxTestType value",
3585
+ "tsType": "VO2MaxTestType",
3586
+ "valueKind": "enum",
3587
+ "enumName": "VO2MaxTestType",
3588
+ "objectTypes": ["quantitySample"],
3589
+ "identifiers": ["HKQuantityTypeIdentifierVO2Max"]
3590
+ },
3591
+ {
3592
+ "keyConstant": "HKMetadataKeyVO2MaxValue",
3593
+ "rawKey": "HKVO2MaxValue",
3594
+ "ios": "14.3",
3595
+ "expectedType": null,
3596
+ "tsType": "Quantity",
3597
+ "valueKind": "quantity",
3598
+ "enumName": null,
3599
+ "objectTypes": ["categorySample"],
3600
+ "identifiers": ["HKCategoryTypeIdentifierLowCardioFitnessEvent"]
3601
+ },
3602
+ {
3603
+ "keyConstant": "HKMetadataKeyWasTakenInLab",
3604
+ "rawKey": "HKWasTakenInLab",
3605
+ "ios": "8.0",
3606
+ "expectedType": "an NSNumber containing a BOOL value",
3607
+ "tsType": "boolean",
3608
+ "valueKind": "boolean",
3609
+ "enumName": null,
3610
+ "objectTypes": ["common"],
3611
+ "identifiers": []
3612
+ },
3613
+ {
3614
+ "keyConstant": "HKMetadataKeyWasUserEntered",
3615
+ "rawKey": "HKWasUserEntered",
3616
+ "ios": "8.0",
3617
+ "expectedType": "an NSNumber containing a BOOL value",
3618
+ "tsType": "boolean",
3619
+ "valueKind": "boolean",
3620
+ "enumName": null,
3621
+ "objectTypes": ["common"],
3622
+ "identifiers": []
3623
+ },
3624
+ {
3625
+ "keyConstant": "HKMetadataKeyWaterSalinity",
3626
+ "rawKey": "HKWaterSalinity",
3627
+ "ios": "17.0",
3628
+ "expectedType": "an NSNumber containing a HKWaterSalinity value",
3629
+ "tsType": "WaterSalinity",
3630
+ "valueKind": "enum",
3631
+ "enumName": "WaterSalinity",
3632
+ "objectTypes": ["sample"],
3633
+ "identifiers": []
3634
+ },
3635
+ {
3636
+ "keyConstant": "HKMetadataKeyWeatherCondition",
3637
+ "rawKey": "HKWeatherCondition",
3638
+ "ios": "10.0",
3639
+ "expectedType": "an NSNumber containing an HKWeatherCondition value",
3640
+ "tsType": "WeatherCondition",
3641
+ "valueKind": "enum",
3642
+ "enumName": "WeatherCondition",
3643
+ "objectTypes": ["sample", "workout"],
3644
+ "identifiers": []
3645
+ },
3646
+ {
3647
+ "keyConstant": "HKMetadataKeyWeatherHumidity",
3648
+ "rawKey": "HKWeatherHumidity",
3649
+ "ios": "10.0",
3650
+ "expectedType": "an HKQuantity expressed in percent",
3651
+ "tsType": "Quantity",
3652
+ "valueKind": "quantity",
3653
+ "enumName": null,
3654
+ "objectTypes": ["sample", "workout"],
3655
+ "identifiers": []
3656
+ },
3657
+ {
3658
+ "keyConstant": "HKMetadataKeyWeatherTemperature",
3659
+ "rawKey": "HKWeatherTemperature",
3660
+ "ios": "10.0",
3661
+ "expectedType": "an HKQuantity expressed in a temperature unit",
3662
+ "tsType": "Quantity",
3663
+ "valueKind": "quantity",
3664
+ "enumName": null,
3665
+ "objectTypes": ["sample", "workout"],
3666
+ "identifiers": []
3667
+ },
3668
+ {
3669
+ "keyConstant": "HKMetadataKeyWorkoutBrandName",
3670
+ "rawKey": "HKWorkoutBrandName",
3671
+ "ios": "8.0",
3672
+ "expectedType": "NSString",
3673
+ "tsType": "string",
3674
+ "valueKind": "string",
3675
+ "enumName": null,
3676
+ "objectTypes": ["workout"],
3677
+ "identifiers": []
3678
+ }
3679
+ ]
3680
+ }