VNG-Realisatie / gemma-zaken

Samen ontwikkelen van API's voor Zaakgericht werken
https://vng-realisatie.github.io/gemma-zaken/
Other
41 stars 26 forks source link

[VRAAG] STATUSTYPE [0..1] --> [0..*] ZAAKOBJECTTYPE zit omgedraaid in de API specificatie? #2351

Open joeribekker opened 9 months ago

joeribekker commented 9 months ago

@michielverhoef It looks like this was added to the API specification in the opposite way.

The relation is defined as: STATUSTYPE [0..1] --> [0..*] ZAAKOBJECTTYPE See: https://www.gemmaonline.nl/index.php/Imztc_2.2/doc/objecttype/statustype

However, in the API specification it is now allowed to make one zaakobjecttype required for multiple statustypes:

image

michielverhoef commented 9 months ago

Edit: Vanochtend nog eens doorgesproken met Joeri en de fout zit hem in het formaat van het attribuut statustypen. Dat moet een enkele url zijn, geen array. Immers, een Zaakobjecttype kan volgens het ImZTC maar aan 1 Statustype gekoppeld zijn. Aan een Statustype kunnen wel meerdere Zaakobjecttypen gekoppeld worden. Het (readonly) attribuut zaakobjecttypen van Statustype is daarom wel een array van urls.

Dit zal deze maand worden rechtgetrokken in een fix op de Catalogi API.