Closed christoph-maurer closed 3 years ago
@simon-wacker Currently, color
is used in component/characteristics
and in photovoltaics
for the subcomponents. Is this the best solution or would you prefer to have color as an additional subschema of opticalData
? If color
remains a property of component/characteristics
, I would implement it in graphql accordingly.
I have discussed the changes with @simon-wacker and I have implemented them accordingly.
I've closed the pull request by mistake.
Why did you move the definition of
color
fromcommon.json
toopticalData.json
when the definition is also used and needed inphotovoltaicData.json
?
From my point of view, color
is now part of the domain optical
. It is still used in photovoltaicData.json
to define the colors of subcomponents which may not have their own identifier. But the color of the module is now defined in opticalData
.
I have added
nearnormalHemisphericalVisibleReflectance
,nearnormalHemisphericalSolarTransmittance
,nearnormalHemisphericalSolarReflectance
andinfraredEmittance
to the API specification. If these values are contained explicitly in the resource of the optical data set, then programmers should also be able to use them in graphql queries. Examples of how these values can be represented in the resources can be found here.I have added
cielabColor
andcolorRenderingIndex
to the API specification and rearrange them in the schemas.I have also added the
formatId
of adataFormat
to theDataPropositionInputs
so that it can be used in graphql queries.Relates to #233 and ise621/metabase#72