atviriduomenys / spinta

Spinta is a framework to describe, extract and publish data (a DEP Framework).
MIT License
10 stars 4 forks source link

namings of DSA items inside code should correspond to namings of items in the DSA itself #606

Open karina-klinkeviciute opened 2 months ago

karina-klinkeviciute commented 2 months ago

Some items in the code for the DSA structure are named differently from their counterparts in the DSA itself. For example, if there are items that have units, for example date with precision of month, the property should have the type date and there should be a unit called M in the ref column. But for this information to be added to the ref column of that property in the DSA, in code it has to be added to the enum value of the Property object. This has to be changed so that if data needs to go to the ref column, we would assign it to the ref of the property.

Another example - data, that goes to the source column in DSA needs to be added to the external.name (ask Mantas if this needs to be changed too).