Skip to content

Commit

Permalink
feat(pdc): add cimpdc product data to model
Browse files Browse the repository at this point in the history
  • Loading branch information
bddjong authored and AliKdhim87 committed Feb 1, 2024
1 parent f07ba84 commit 42939a7
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,16 @@
"relation": "oneToOne",
"target": "api::productencatalogus.productencatalogus",
"inversedBy": "product"
},
"pdc_metadata": {
"type": "component",
"repeatable": false,
"pluginOptions": {
"i18n": {
"localized": true
}
},
"component": "components.cim-pdc-product-metadata"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,53 +4,54 @@
"info": {
"singularName": "productencatalogus",
"pluralName": "productencataloguses",
"displayName": "Productencatalogus"
"displayName": "Productencatalogus",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"OrganisatieIdentificatie": {
"organisatieIdentificatie": {
"type": "string"
},
"Domein": {
"domein": {
"type": "string"
},
"Naam": {
"naam": {
"type": "string",
"required": true,
"unique": true
},
"Doelgroep": {
"doelgroep": {
"type": "string"
},
"ReferentiePDC": {
"type": "string"
},
"Toelichting": {
"toelichting": {
"type": "text"
},
"Versie": {
"versie": {
"type": "string"
},
"BegindatumVersie": {
"begindatumVersie": {
"type": "date"
},
"BeherendeOrganisatie": {
"beherendeOrganisatie": {
"type": "string"
},
"ContactpesoonBeheerNaam": {
"contactpersoonBeheerNaam": {
"type": "string"
},
"ContactpersoonBeheerEmail": {
"contactpersoonBeheerEmail": {
"type": "string"
},
"product": {
"type": "relation",
"relation": "oneToOne",
"target": "api::product.product",
"mappedBy": "productencatalogus"
},
"referentiePDC": {
"type": "boolean"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"collectionName": "components_components_cim_pdc_product_metadata",
"info": {
"displayName": "CimPDC Product metadata",
"description": ""
},
"options": {},
"attributes": {
"productCode": {
"type": "string",
"required": true,
"unique": true
},
"doelgroep": {
"type": "string"
},
"beoogdResultaat": {
"type": "string"
},
"bestelwijze": {
"type": "string"
},
"wettelijkeTermijn": {
"type": "string"
},
"servicetermijn": {
"type": "string"
},
"afnemer": {
"type": "string"
},
"soortBevoegdGezag": {
"type": "string"
},
"uitvoeringsorganisatie": {
"type": "string"
},
"grondslag": {
"type": "string"
},
"soortTaak": {
"type": "string"
},
"uplProductnaam": {
"type": "string"
},
"eigenaar": {
"type": "string"
}
}
}

0 comments on commit 42939a7

Please sign in to comment.