@@ -105,7 +105,7 @@ export const BOOLEAN_TYPE_DATAPROVIDER = {label: 'Boolean Type', id:'range',
105105export const JSON_TYPE_DATAPROVIDER = { label : 'JSON Type' , id :'range' ,
106106 options :[ { label :'JSON' , value :'sys:JSON' } ] }
107107
108-
108+ export const UNIT_TYPE_DATAPROVIDER = "sys:Unit"
109109
110110/*
111111*/
@@ -139,6 +139,7 @@ export const CLASS_PROPERTIES_LIST=[{label:'Enum Property', id:'ChoiceProperty',
139139 { label :'Boolean Property' , id :'BooleanProperty' , defaultRange :'xsd:boolean' } ,
140140 { label :'JSON Property' , id :'JSONProperty' , defaultRange :'sys:JSON' } ,
141141 { label :'Link Property' , id :'LinkProperty' , defaultRange :'' } ,
142+ { label :'Unit Property' , id :'UnitProperty' , defaultRange :'' } ,
142143 { label :'OneOf Property' , id :'OneOfProperty' , defaultRange :'' } ]
143144
144145
@@ -286,6 +287,7 @@ export const ELEMENT_HELP = {
286287 'number_subtype' : `Choose from a decimal, integer or other, more refined numeric types ${ FIELD_TYPE } ` ,
287288 'geo_subtype' : `A geographic point (coordinate), a path (coordinate line) or a shape (coordinate polygon) ${ FIELD_TYPE } ` ,
288289 'time_subtype' : `A date, a date and time, or a range of date times ${ FIELD_TYPE } ` ,
290+ 'unit_property' : `A unit measurement if present or not` ,
289291 'oneOf_type' : `The value of @oneOf field is a set, so can be any number of documents all of which have mutually disjointed properties, can be linked.`
290292}
291293
0 commit comments