building-envelope-data / api

API specification to exchange data about building envelopes
MIT License
3 stars 1 forks source link

Move `color` to the `results` of an optical data set #326

Closed christoph-maurer closed 1 week ago

christoph-maurer commented 2 weeks ago

It makes sense to use incidenceDirection and emergenceDirection to define color and to avoid "oneOf" at a high level. Therefore, we move color to the results of an optical data set. Conditional subschemas are needed for this, because color makes only sense considering the visible spectrum and not for spectrally resolved data or integrated over other spectra like solar and infrared.