building-envelope-data / database

Reference implementation of a product data server as part of the product data network buildingenvelopedata.org
MIT License
0 stars 0 forks source link

Add relations to existing component #38

Open christoph-maurer opened 1 year ago

christoph-maurer commented 1 year ago

How can I add relations to an existing component?

34f7aebd-5d11-4db7-a5d0-18b51af8f817 is assembled of 38896180-7a13-4341-8288-d122ef3c741a, 5f57ce25-ab89-4d0d-9873-81d5dc743573, 0e7dd5e8-7b11-4d4c-8894-38d62987c20f and 3ffc64af-d1f3-4a2e-a646-b007b7137245 .

3ffc64af-d1f3-4a2e-a646-b007b7137245 is a part of 34f7aebd-5d11-4db7-a5d0-18b51af8f817 and it is assembled of 5f57ce25-ab89-4d0d-9873-81d5dc743573.

38896180-7a13-4341-8288-d122ef3c741a is a part of 34f7aebd-5d11-4db7-a5d0-18b51af8f817 and it is assembled of 5f57ce25-ab89-4d0d-9873-81d5dc743573 and 0e7dd5e8-7b11-4d4c-8894-38d62987c20f.

5f57ce25-ab89-4d0d-9873-81d5dc743573 is a part of 34f7aebd-5d11-4db7-a5d0-18b51af8f817 and of 38896180-7a13-4341-8288-d122ef3c741a.

0e7dd5e8-7b11-4d4c-8894-38d62987c20f is a part of 34f7aebd-5d11-4db7-a5d0-18b51af8f817 and of 38896180-7a13-4341-8288-d122ef3c741a.

When there is an option to upload drawings of the assembly, we could add Sunovation_assembly_d03.pdf to each of the five components. At the same time, we could delete the two data sets of the current work-around: 58c25ae9-1577-41c3-b113-03cb749a77c9 | BIPV Glazing Example, technical drawing, PDF | Locator https://www.solarbuildingenvelopes.com/api/resources/e534de7a-09a3-47d7-a77d-b58815dd5bab c271d6c0-f659-407e-823d-834a58071087 | BIPV Glazing Example, schematic drawing of the subcomponents, SVG | Locator https://www.solarbuildingenvelopes.com/api/resources/6a970b91-422f-46fb-a642-230c376c7957

simon-wacker commented 1 year ago