-
Notifications
You must be signed in to change notification settings - Fork 26
Description
I'd like to add extra attributes to semantic surface objects like, for instance, a +material to "WallSurface". I understand that I can simply add attributes to a semantic surface in a schema-less way. But I'd like to define a schema for these additional attributes in the same way I can define a schema for additional attributes of city objects.
Is defining extra attributes for semantic surface objects supported by the extension mechanism? At least it seems that the spec only covers the definition of new semantic objects.
And why are JSON objects not allowed as attributes of semantic surface objects but only simple values? For example, if I had a value and a unit of measurement, the following attribute would be possible for city objects but not for semantic surfaces:
"myAttribute": {
"value": 10
"uom": "m"
}