Skip to content
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

added TaakV2 betaaltaak #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 44 additions & 16 deletions imports/objects-api/fixtures/demodata.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,14 @@
"pk": 43,
"fields": {
"uuid": "c3bd9b28-557e-4795-8490-0a98d1ff9165",
"object_type": 8
}
},
{
"model": "core.object",
"pk": 44,
"fields": {
"uuid": "b4a617af-6969-45e8-9afd-d51e170716d5",
"object_type": 6
}
},
Expand Down Expand Up @@ -3324,27 +3332,30 @@
},
{
"model": "core.objectrecord",
"pk": 44,
"pk": 55,
"fields": {
"index": 1,
"object": 33,
"object": 44,
"version": 1,
"data": {
"data": {
"soort": "ogonebetaling",
"titel": "Betaal parkeervergunning voor 703af290-abe0-418c-b9c3-10a65e662788",
"status": "open",
"eigenaar": "gzac-sd",
"koppeling": {
"uuid": "703af290-abe0-418c-b9c3-10a65e662788",
"registratie": "zaak"
},
"verloopdatum": "2025-09-20T18:25:43.524Z",
"identificatie": {
"type": "bsn",
"value": "999990755"
"value": "569312863"
},
"publicatiedatum": "2024-07-18",
"onderwerp": "Bericht over uw buurt.",
"berichtTekst": "Er zijn werkzaamheden komende week in uw buurt. U kunt meer over dit lezen op de volgende website: https://example.com",
"referentie": "ZAAK-2024-0000000001",
"handelingsperspectief": "informatie ontvangen",
"einddatumHandelingstermijn": "2024-10-31",
"geopend": false,
"berichtType": "notificatie",
"bijlages": [
"https://example.com/documenten/api/v1/enkelvoudiginformatieobjecten/1"
]
"ogonebetaling": {
"pspid": "GmDenHaagBelastingen",
"bedrag": 123.2,
"betaalkenmerk": "test213123test12313"
}
},
"start_at": "2024-07-18",
"end_at": null,
Expand All @@ -3353,6 +3364,23 @@
"geometry": null
}
},
{
"model": "core.objectrecord",
"pk": 40,
"fields": {
"index": 1,
"object": 29,
"version": 1,
"data": {
"id_nummer": 8
},
"start_at": "2020-09-30",
"end_at": null,
"registration_at": "2020-09-30",
"correct": null,
"geometry": "SRID=4326;POINT (4.88893902415126 52.37384227041968)"
}
},
{
"model": "token.tokenauth",
"pk": "cd63e158f3aca276ef284e3033d020a22899c728",
Expand Down Expand Up @@ -3508,4 +3536,4 @@
"api_root": "http://open-notificaties:8000/api/v1/"
}
}
]
]
214 changes: 213 additions & 1 deletion imports/objecttypes-api/fixtures/demodata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2209,5 +2209,217 @@
},
"status": "draft"
}
},
{
"model": "core.objecttype",
"pk": 8,
"fields": {
"uuid": "b4a617af-6969-45e8-9afd-d51e170716d5",
"name": "TaakV2",
"name_plural": "takenv2",
"description": "ObjectType Taak Versie 2",
"data_classification": "intern",
"maintainer_organization": "Ritense",
"maintainer_department": "",
"contact_person": "",
"contact_email": "",
"source": "",
"update_frequency": "unknown",
"provider_organization": "",
"documentation_url": "",
"labels": {},
"created_at": "2024-04-23",
"modified_at": "2024-04-23"
}
},
{
"model": "core.objectversion",
"pk": 14,
"fields": {
"object_type": 8,
"version": 1,
"created_at": "2024-04-23",
"modified_at": "2024-04-23",
"published_at": "2024-04-23",
"json_schema": {
"type": "object",
"title": "ObjectType Taak",
"required": [
"titel",
"status",
"soort",
"identificatie",
"verwerker_taak_id",
"eigenaar"
],
"properties": {
"url": {
"$ref": "#/$defs/url"
},
"soort": {
"$ref": "#/$defs/soort"
},
"titel": {
"type": "string",
"description": "Weergave naam van de taak. Max 1 zin"
},
"status": {
"enum": [
"open",
"afgerond",
"verwerkt",
"gesloten"
],
"type": "string",
"description": "Status van de taak. Open: Taak kan worden gestart. Afgerond: Taak is uitgevoerd door gebruiker maar nog niet verwerkt. Verwerkt: Taak is verwerkt door ZAC. Gesloten: Taak is gearchiveerd."
},
"eigenaar": {
"type": "string",
"description": "Een identificatie van de eigenaar / aanmaker van de taak. Gebruikt voor filtering ed."
},
"koppeling": {
"type": "object",
"properties": {
"uuid": {
"type": "string",
"format": "uuid"
},
"registratie": {
"enum": [
"zaak",
"product"
],
"type": "string"
}
},
"description": "Optioneel: Zaak of Product UUID waaraan de taak verbonden is",
"additionalProperties": false
},
"verloopdatum": {
"type": "string",
"format": "date-time",
"description": "Optioneel: Verloopdatum van de taak"
},
"identificatie": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"description": "KVK of BSN waaraan de taak gericht is. Kan uitgebreid worden met andere types"
},
"ogonebetaling": {
"$ref": "#/$defs/ogonebetaling"
},
"portaalformulier": {
"$ref": "#/$defs/portaalformulier"
},
"verwerker_taak_id": {
"type": "string",
"format": "uuid",
"description": "Een UUID waarmee een ZAC een link kan leggen tussen de taak en zijn eigen administratie"
}
},
"$defs": {
"url": {
"type": "object",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"format": "uri"
}
},
"description": "Een link naar een externe resource. Als hier op deze taak geklikt word, word de gebruiker doorgestuurd naar deze link",
"additionalProperties": false
},
"soort": {
"enum": [
"url",
"portaalformulier",
"ogonebetaling"
],
"type": "string",
"description": "Soort taak. Bijhorende taak specifieke informatie staat in een object met dezelfde naam in deze json"
},
"ogonebetaling": {
"type": "object",
"required": [
"bedrag",
"betaalkenmerk",
"pspid"
],
"properties": {
"pspid": {
"type": "string"
},
"bedrag": {
"type": "number",
"minimum": 0,
"multipleOf": 0.01
},
"betaalkenmerk": {
"type": "string"
}
},
"description": "Een betaling die via het portaal met Ogone / Ingenico wordt voldaan",
"additionalProperties": false
},
"portaalformulier": {
"type": "object",
"required": [
"formulier"
],
"properties": {
"data": {
"type": "object",
"additionalProperties": true
},
"formulier": {
"oneOf": [
{
"type": "object",
"properties": {
"soort": {
"const": "url"
},
"value": {
"type": "string",
"format": "uri"
}
}
},
{
"type": "object",
"properties": {
"soort": {
"const": "id"
},
"value": {
"type": "string"
}
}
}
],
"description": "Identificatie van bijhorend (formIO) formulier. Kan URL zijn voor externe opslag of ID voor locale opslag."
},
"verzonden_data": {
"type": "object",
"additionalProperties": true
}
},
"description": "Een taak die uitgevoerd kan worden binnen het desbetreffende portaal",
"additionalProperties": false
}
},
"additionalProperties": false
}
}
}
]
]