building-envelope-data / api

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

Add something like `allFulfilledMethods` to the api specification #248

Open christoph-maurer opened 2 years ago

christoph-maurer commented 2 years ago

Sometimes people search for data sets which have been generated according to a certain method. If the search for example for methods according to EN standards, they find also data sets according to the method EN 410:2011.

However, a data set can fulfill several methods at the same time. For example, an optical measurement according to EN 410:2011 may also be valid according to ISO 9050 and NFRC 202. The api specification should be extended so creators of data sets can indicate that their data set fulfills more methods beyond the one indicated by appliedMethod. There should be the option to add an array like allFulfilledMethods which contains the UUIDs of all methods which are fulfilled by this data set. The array should include the UUID of the appliedMethod.

In our example, allFulfilledMethods would contain the UUIDs of the methods EN 410:2011, ISO 9050 and NFRC 202. It should not contain the UUIDs of more general methods like EN standards, because it wouldn't help anything. GraphQL queries for EN standards find this data set anyway.

christoph-maurer commented 2 years ago

For this enhancement, a suitable follow-up project is needed.