bcgov / cas-reporting

This is for the Clean Growth Digital Services team for work related to reporting.
Apache License 2.0
0 stars 0 forks source link

Add database tables needed to define schemas for emission reporting components #270

Open dleard opened 1 week ago

dleard commented 1 week ago

In order to handle the nested list of data objects (activity -> [sourceTypes: [units :[fuels: [emissions]]]]) we are going to need some models to define the relationships between each data object and the schema that represents the shape of the object's data. These schemas will be used to dynamically build the form in an API service to be passed to the frontend (#256).

The models we need are:

These schemas will become definitions in a single RJSF schema for each activity page.

Also to be done: