papinet / papiNet-API

papiNet is a global paper, forest products and bioproducts industry e-Business initiative.
http://www.papinet.org/
Apache License 2.0
9 stars 3 forks source link

Properties status vs active in version 2.0.0 #100

Closed larsolofsson closed 6 months ago

larsolofsson commented 7 months ago

papiNet should be consistent in the design of schemas. Now two properties status and active are used to specify the same thing.

status: type: string enum:

active: type: boolean

patricekrakow commented 7 months ago

Yes, I think we should be consistent (in JSON structures and query parameters). Which structure should we use?

I would go with OPTION 2.

patricekrakow commented 7 months ago

We decided to go with OPTION 2: active: true or active: false.

patricekrakow commented 6 months ago

Done, see commit 291c26a.