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",
@@ -340,11 +341,11 @@
340
341
},
341
342
"additionalProperties": false
342
343
},
343
-
"urlFormat": {
344
+
"urlFormat": {
344
345
"description": "Permalink URL for `identifier` fields. Must contain a {value} placeholder",
345
346
"type": "string"
346
347
},
347
-
"pattern": {
348
+
"pattern": {
348
349
"description": "Regular expression that a valid `identifier` value is expected to match",
349
350
"type": "string"
350
351
},
@@ -364,6 +365,39 @@
364
365
"iconsCrossReference": {
365
366
"description": "A field can reference icons of another by using that field's identifier contained in brackets, like {field}.",
366
367
"type": "string"
368
+
},
369
+
"measurement": {
370
+
"type": "object",
371
+
"description": "defines the units of measurement that this field uses. Only supported by the 'measurement' field type.",
372
+
"properties": {
373
+
"dimension": {
374
+
"type": "string",
375
+
"description": "The corresponding 'dimension' from CLDR",
376
+
"$ref": "./generated/dimension.json"
377
+
},
378
+
"usage": {
379
+
"type": "string",
380
+
"description": "The corresponding 'usage' from CLDR"
381
+
},
382
+
"units": {
383
+
"type": "object",
384
+
"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