-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from discipl/issue50/configurabillity
Configurability and smaller QR code
- Loading branch information
Showing
20 changed files
with
2,907 additions
and
2,805 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"EPHEMERAL_ENDPOINT" : "http://localhost:3232", | ||
"EPHEMERAL_WEBSOCKET_ENDPOINT" : "ws://localhost:3233", | ||
"PRODUCT_NEED" : "BRP_UITTREKSEL_NEED", | ||
"SOURCE_ARGUMENT" : "BSN", | ||
"PRODUCT_ACCEPT" : "BRP_UITTREKSEL_ACCEPT", | ||
"PRODUCT_NAME" : "Gewaarmerkt digitaal afschrift van gegevens uit de basisregistratie personen (BRP)", | ||
"PRODUCT_DESCRIPTION" : "Uittreksel Basis Registratie Persoonsgegevens", | ||
"PRODUCT_PURPOSE" : "Bewijs leveren voor verblijfadres in woonplaats", | ||
"EXPORT_TYPES" : { | ||
"@discipl/paper-wallet" : { | ||
"template" : { | ||
|
||
"backgroundImage" : "form-assets/another_pdf_template.png", | ||
|
||
"logoImage": "form-assets/logo.png", | ||
"logoWidth": 210, | ||
"logoHeight": 160, | ||
"logoOffsetX": 0, | ||
"logoOffsetY": 0, | ||
|
||
"disciplImage": "form-assets/discipl.png", | ||
"disciplWidth": 90, | ||
"disciplHeight": 90, | ||
"disciplOffsetX": 460, | ||
"disciplOffsetY": 35, | ||
|
||
"canvasWidth": 595, | ||
"canvasHeight": 838, | ||
|
||
"productHeaderFont": "bold 11.5px helvetica", | ||
"productHeaderText": "Gewaarmerkt digitaal afschrift van gegevens uit de basisregistratie personen (BRP)", | ||
"productHeaderOffsetX": 40, | ||
"productHeaderOffsetY": 190, | ||
|
||
"subheaderFont": "11.5px helvetica", | ||
"subheaderText": "Onderstaand persoon is bij de gemeente Haarlem ingeschreven", | ||
"subheaderOffsetX": 40, | ||
"subheaderOffsetY": 210, | ||
|
||
"claimDataFont": "11.5px helvetica", | ||
"prefixAttributes": true, | ||
"claimDataOffsetX": 40, | ||
"claimDataOffsetY": 255, | ||
"claimDataLineSpacing": 15, | ||
|
||
"qrOffsetX": 320, | ||
"qrOffsetY": 520, | ||
"qrWidth": 150, | ||
"qrHeight": 150, | ||
|
||
"footerFont": "10px helvetica", | ||
"footerWidth": 500, | ||
"footerHeight": 200, | ||
"footerOffsetX": 600, | ||
"footerOffsetY": 30 | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,58 @@ var app = express() | |
app.get('/brp/basisregistratie/natuurlijke_personen/bsn/663678651', (req, res) => { | ||
res.writeHead(200, { 'Content-Type': 'application/json' }); | ||
res.write(JSON.stringify({ | ||
'voornamen': 'Frans', | ||
'geslachtsnaam': 'Hals', | ||
'straatnaam': 'Groot Heiligland', | ||
'huisnummer': '4', | ||
'postcode': '2011 ES', | ||
'woonplaats': 'Utrecht' | ||
"aanduiding_naamsgebruik": "V", | ||
"aanschrijving": { | ||
"adelijke_titel": "", | ||
"geslachtsnaam": "Vlasman", | ||
"voorletters": "S.", | ||
"voornamen": "Sanne", | ||
"voorvoegsel_geslachtsnaam": "" | ||
}, | ||
"burgerservicenummer": "663678651", | ||
"emailadres": "[email protected]", | ||
"geboorte": { | ||
"datum": "05/07/1970", | ||
"land": "Nederland", | ||
"stad": "Utrecht" | ||
}, | ||
"identificatie": "da02a3ac-4412-11e9-b210-d663bd873d93", | ||
"kinderen": [ | ||
{ | ||
"url": "/natuurlijke_personen/da02f050-4412-11e9-b210-d663bd873d93" | ||
}, | ||
{ | ||
"url": "/natuurlijke_personen/da02f1ae-4412-11e9-b210-d663bd873d93" | ||
} | ||
], | ||
"naam": { | ||
"adelijke_titel": "", | ||
"geslachtsnaam": "Vlasman", | ||
"voorletters": "S.", | ||
"voornamen": "Sanne", | ||
"voorvoegsel_geslachtsnaam": "" | ||
}, | ||
"ouders": [], | ||
"overlijden": { | ||
"datum": "", | ||
"land": "", | ||
"stad": "" | ||
}, | ||
"partner": {}, | ||
"postadres": { | ||
"huisnummer": 21, | ||
"postcode": "3512JC", | ||
"straatnaam": "Domplein", | ||
"woonplaats": "Utrecht" | ||
}, | ||
"telefoonnummer": "(06)594-38-045", | ||
"url": "/natuurlijke_personen/da02a3ac-4412-11e9-b210-d663bd873d93", | ||
"verblijfadres": { | ||
"huisnummer": 21, | ||
"postcode": "3512JC", | ||
"straatnaam": "Domplein", | ||
"woonplaats": "Utrecht" | ||
} | ||
} | ||
)) | ||
res.end() | ||
|
Oops, something went wrong.