-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Producttype eigenschappen : is analoog aan zaaktype eigenschappen #11
Comments
Looking at OpenZaak it seems that Eigenschap is a separate model with its own endpoint. Should this also be the case in Open Producten? |
@alextreme since the title mentions "is analoog aan zaaktype eigenschappen": should just |
@stevenbal check this with @Floris272 just in case, but my assumption looking at the notes is the second: ProductType define types of eigenschappen (naam) and Product.eigenschappen contain the values of these eigenschappen But both Floris and I had trouble wrapping our heads around this during our last meeting |
Gebruikersverhaal
Als gemeentelijke ontwikkelaar
wil ik dat een ProductType eigenschappen kan bevatten in de vorm van key/value paren
zodat aanvullende metadata flexibel kan worden toegevoegd aan producttypen, en deze informatie bruikbaar is voor integraties en specifieke gemeentelijke toepassingen.
Acceptatiecriteria
Eigenschappen in ProductType
eigenschappen
, waarin een lijst van key/value paren kan worden opgeslagen.key
: Een unieke naam voor de eigenschap binnen het ProductType (bijv. "doelgroep", "leveringstijd").value
: De waarde die aan de key is gekoppeld (bijv. "inwoners boven 18", "3 werkdagen").Validatie
key
uniek is binnen het ProductType.key
als devalue
niet leeg zijn.API-functionaliteit
GET /producttypen?eigenschappen[doelgroep]=inwoners boven 18
).Documentatie
Definition of Done (DoD)
eigenschappen
is toegevoegd aan het ProductType-datamodel en geïmplementeerd in de API.The text was updated successfully, but these errors were encountered: