You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "A reusable form element for presets",
6
6
"type": "object",
@@ -63,6 +63,7 @@
63
63
"lanes",
64
64
"localized",
65
65
"manyCombo",
66
+
"measurement",
66
67
"multiCombo",
67
68
"networkCombo",
68
69
"number",
@@ -262,11 +263,11 @@
262
263
},
263
264
"additionalProperties": false
264
265
},
265
-
"urlFormat": {
266
+
"urlFormat": {
266
267
"description": "Permalink URL for `identifier` fields. Must contain a {value} placeholder",
267
268
"type": "string"
268
269
},
269
-
"pattern": {
270
+
"pattern": {
270
271
"description": "Regular expression that a valid `identifier` value is expected to match",
271
272
"type": "string"
272
273
},
@@ -282,6 +283,31 @@
282
283
"iconsCrossReference": {
283
284
"description": "A field can reference icons of another by using that field's identifier contained in brackets, like {field}.",
284
285
"type": "string"
286
+
},
287
+
"measurement": {
288
+
"type": "object",
289
+
"description": "defines the units of measurement that this field uses. Only supported by the 'measurement' field type.",
290
+
"properties": {
291
+
"dimension": {
292
+
"type": "string",
293
+
"description": "The corresponding 'dimension' from CLDR",
294
+
"$ref": "./generated/dimension.json"
295
+
},
296
+
"usage": {
297
+
"type": "string",
298
+
"description": "The corresponding 'usage' from CLDR"
299
+
},
300
+
"units": {
301
+
"type": "object",
302
+
"description": "Defines the permitted units. The key is the ID used by CLDR. The value is the value used in the OSM tag. If there are multiple values, the first one will be preferred. Use an empty string if the unit is not included in the OSM tag."
0 commit comments