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",
@@ -67,6 +67,7 @@
67
67
"lanes",
68
68
"localized",
69
69
"manyCombo",
70
+
"measurement",
70
71
"multiCombo",
71
72
"networkCombo",
72
73
"number",
@@ -334,11 +335,11 @@
334
335
},
335
336
"additionalProperties": false
336
337
},
337
-
"urlFormat": {
338
+
"urlFormat": {
338
339
"description": "Permalink URL for `identifier` fields. Must contain a {value} placeholder",
339
340
"type": "string"
340
341
},
341
-
"pattern": {
342
+
"pattern": {
342
343
"description": "Regular expression that a valid `identifier` value is expected to match",
343
344
"type": "string"
344
345
},
@@ -358,6 +359,35 @@
358
359
"iconsCrossReference": {
359
360
"description": "A field can reference icons of another by using that field's identifier contained in brackets, like {field}.",
360
361
"type": "string"
362
+
},
363
+
"measurement": {
364
+
"type": "object",
365
+
"description": "defines the units of measurement that this field uses. Only supported by the 'measurement' field type.",
366
+
"properties": {
367
+
"dimension": {
368
+
"type": "string",
369
+
"description": "The corresponding 'dimension' from CLDR",
370
+
"$ref": "./generated/dimension.json"
371
+
},
372
+
"usage": {
373
+
"type": "string",
374
+
"description": "The corresponding 'usage' from CLDR"
375
+
},
376
+
"units": {
377
+
"type": "object",
378
+
"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