datafoodconsortium / dfc-prototype-V2

MIT License
2 stars 0 forks source link

Split OFFacts quantity field in 2: quantity and unit #56

Closed RachL closed 4 years ago

RachL commented 4 years ago

Description With #4 we have seen that OFFacts API has name and quantity field. But to be fully compliant with our model, it should have unit as well.

The idea here is to try to split the current quantity field that holds both info in two thanks to the semantic bus.

If quantity is empty (can happen quite often), we just keep NULL as info.

Acceptance Tests ???