ladybug-tools / honeybee-openstudio-gem

:honeybee: :gem: Library and measures for translating between Honeybee JSON schema and OpenStudio Model schema (OSM)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update measure to work with the schema change of "name" to "identifier"

chriswmackey opened this issue · comments

Before it becomes impossible to make this change in another month or two, we have decided that the "name" property that accompanies all objects in the schema should be changed to "identifier" to make it clear to users of the schema and the Python libraries that this property should be unique and must follow specific rules. "identifier" also seems more fitting since, unlike a name which implies that it's only used to identify the object to humans, this is the property used to reference the object in the Model, call it from the library, and track it as it undergoes various types of mutations and serializations (eg. to OpenStudio, to IDF, and to Radiance).

We also plan to ensure that all objects in the honeybee schema possess a display_name that is free from all restrictions but we can worry about translating these into the OpenStudio Model after we have converted the name over to identifier

This is being addressed via #85