Skip to content
Snippets Groups Projects
Commit cb0f3763 authored by Andreas Huber's avatar Andreas Huber
Browse files

Beispiele ergänzt.

parent 51c13f24
No related branches found
No related tags found
1 merge request!9Version 0.5
......@@ -3,6 +3,29 @@
"title": "Applicant Contact Info",
"description": "Kontaktdaten des Antragstellers",
"additionalProperties": false,
"x-examples": {
"example-1": {
"electronicAdresses": [
{
"channelType": "Service-Account-Mailbox",
"address": "3b0c9c8c-0801-45f0-a331-2abfc9db78d0"
}
],
"physicalAdress": {
"street": "Kurzer Weg",
"houseNumber": "7",
"postalCode": "12345",
"city": "Ankh-Morpork"
},
"telephone": [
{
"number": "+49 89 32168-42",
"mobile": true,
"description": "work"
}
]
}
},
"properties": {
"physicalAddress": {
"oneOf": [
......
......@@ -29,5 +29,48 @@
},
"required": [
"type"
]
],
"x-examples": {
"example-1": {
"type": "person",
"authentificationInfo": {
"assuranceLevel": "high",
"authentificationMethod": "eID",
"timestamp": "2020-03-03T12:38:23Z"
},
"identityInfo": {
"dateOfBirth": "1970-09-13",
"gender": "m",
"givenName": "WERNER",
"familyName": "MUSTERMANN",
"placeOfResidence": {
"type": "national",
"street": "KURZER WEG 7",
"postalCode": "12345",
"city": "ANKH-MORPORK"
}
},
"contactInfo": {
"electronicAdresses": [
{
"channelType": "Service-Account-Mailbox",
"address": "3b0c9c8c-0801-45f0-a331-2abfc9db78d0"
}
],
"physicalAdress": {
"street": "Kurzer Weg",
"houseNumber": "7",
"postalCode": "12345",
"city": "Ankh-Morpork"
},
"telephone": [
{
"number": "+49 89 32168-42",
"mobile": true,
"description": "work"
}
]
}
}
}
}
\ No newline at end of file
......@@ -72,5 +72,23 @@
"purpose",
"size",
"mimeType"
]
],
"x-examples": {
"example-1": {
"docId": "1",
"purpose": "form",
"size": 13046,
"mimeType": "application/pdf",
"filename": "test.pdf",
"description": "Das Antragsformular",
"lang": {
"lang": "de",
"region": "DE"
},
"hash": {
"algorithm": "SHA-256",
"digest": "bf37d894fdf9aeade63975ed648d49c3e8a7a773923597d2418915f54cd7c3b9"
}
}
}
}
\ No newline at end of file
......@@ -63,5 +63,107 @@
},
"required": [
"contentStructure"
]
],
"x-examples": {
"example-1": {
"additionalReferenceInfo": {
"subject": "Anmeldung eines Gewerbes in Musterstadt",
"caseId": "DF/8923"
},
"contentStructure": {
"data": {
"schema": {
"mimeType": "json",
"schemaSource": "none"
}
},
"docs": [
{
"docId": "1",
"purpose": "form",
"size": 13046,
"mimeType": "application/pdf",
"filename": "test.pdf",
"description": "Das Antragsformular",
"lang": {
"lang": "de",
"region": "DE"
},
"hash": {
"algorithm": "SHA-256",
"digest": "bf37d894fdf9aeade63975ed648d49c3e8a7a773923597d2418915f54cd7c3b9"
}
}
]
},
"publicServiceType": {
"name": "Gewerbeanmeldung",
"description": "Eine Gewerbeanmeldung ist immer dann notwendig, wenn Sie einen stehenden Gewerbebetrieb beginnen.",
"leikaId": "99050012104000",
"otherIdentifiers": [
{
"id": "8664844",
"schemeID": "service.niedersachsen.de",
"schemeName": "Serviceportal Niedersachsen"
},
{
"id": "354824",
"schemeID": "buerger.thueringen.de",
"schemeName": "Zuständigkeitsfinder Thüringen"
}
]
},
"applicants": [
{
"type": "person",
"authentificationInfo": {
"assuranceLevel": "high",
"authentificationMethod": "eID",
"timestamp": "2020-03-03T12:38:23Z"
},
"identityInfo": {
"dateOfBirth": "1970-09-13",
"gender": "m",
"givenName": "WERNER",
"familyName": "MUSTERMANN",
"placeOfResidence": {
"type": "national",
"street": "KURZER WEG 7",
"postalCode": "12345",
"city": "ANKH-MORPORK"
}
},
"contactInfo": {
"electronicAdresses": [
{
"channelType": "Service-Account-Mailbox",
"address": "3b0c9c8c-0801-45f0-a331-2abfc9db78d0"
}
],
"physicalAdress": {
"street": "Kurzer Weg",
"houseNumber": "7",
"postalCode": "12345",
"city": "Ankh-Morpork"
},
"telephone": [
{
"number": "+49 89 32168-42",
"mobile": true,
"description": "work"
}
]
}
}
],
"paymentInfo": {
"reference": "TP/93/GDP",
"usage": "Gewerbeanmeldung",
"amount": 17.3,
"timestamp": "2020-03-03T12:38:23Z",
"status": "success",
"transaction": "1f77c5f9b759db9cdce59988b24974d465c7be5e462a6185485559ff6e2dea82"
}
}
}
}
\ No newline at end of file
......@@ -21,14 +21,12 @@
"description": "Metadaten zu einem Antrag.",
"x-examples": {
"example-1": {
"applicationId": "7236",
"additionalReferenceInfo": {
"subject": "Anmeldung eines Gewerbes in Musterstadt",
"caseId": "DF/8923"
},
"contentStructure": {
"data": {
"size": 9438,
"schema": {
"mimeType": "json",
"schemaSource": "none"
......@@ -38,9 +36,9 @@
{
"docId": "1",
"purpose": "form",
"size": 39273,
"size": 13046,
"mimeType": "application/pdf",
"filename": "antrag.pdf",
"filename": "test.pdf",
"description": "Das Antragsformular",
"lang": {
"lang": "de",
......@@ -48,19 +46,7 @@
},
"hash": {
"algorithm": "SHA-256",
"digest": "03ba204e50d126e4674c005e04d82e84c21366780af1f43bd54a37816b6ab340"
}
},
{
"docId": "2",
"purpose": "attachment",
"size": 894834874,
"mimeType": "image/jpeg",
"filename": "scan.jpg",
"description": "Scan der Bescheinigung",
"hash": {
"algorithm": "SHA-256",
"digest": "e1762f14d9924e37b32f1c81dfd256410af462f5136415c96877efa8c80345d0"
"digest": "bf37d894fdf9aeade63975ed648d49c3e8a7a773923597d2418915f54cd7c3b9"
}
}
]
......@@ -72,82 +58,68 @@
"otherIdentifiers": [
{
"id": "8664844",
"schemeURI": "service.niedersachsen.de",
"schemeID": "service.niedersachsen.de",
"schemeName": "Serviceportal Niedersachsen"
},
{
"id": "354824",
"schemeURI": "buerger.thueringen.de",
"schemeID": "buerger.thueringen.de",
"schemeName": "Zuständigkeitsfinder Thüringen"
}
]
},
"applicants": [
{
"identifier": [
{
"id": "918",
"schemeName": "Antragsportal",
"schemeId": "urn:com:example:antragsportal:user"
"type": "person",
"authentificationInfo": {
"assuranceLevel": "high",
"authentificationMethod": "eID",
"timestamp": "2020-03-03T12:38:23Z"
},
"identityInfo": {
"dateOfBirth": "1970-09-13",
"gender": "m",
"givenName": "WERNER",
"familyName": "MUSTERMANN",
"placeOfResidence": {
"type": "national",
"street": "KURZER WEG 7",
"postalCode": "12345",
"city": "ANKH-MORPORK"
}
],
},
"contactInfo": {
"physicalAddress": {
"electronicAdresses": [
{
"channelType": "Service-Account-Mailbox",
"address": "3b0c9c8c-0801-45f0-a331-2abfc9db78d0"
}
],
"physicalAdress": {
"street": "Kurzer Weg",
"houseNumber": 7,
"houseNumber": "7",
"postalCode": "12345",
"city": "string",
"addressSupplement": "string"
"city": "Ankh-Morpork"
},
"telephone": [
{
"number": "+49 89 32168-42",
"mobile": true,
"description": "string"
}
],
"electronicAddresses": [
{
"channelType": "Service-Account-Mailbox",
"address": "string"
"description": "work"
}
]
},
"identityInfo": {
"gender": "m",
"nationality": "string",
"familyName": "string",
"givenName": "string",
"birthName": "string",
"doctoralDegrees": "string",
"artisticName": "string",
"dateOfBirth": "2020-04-16",
"placeOfBirth": "string",
"placeOfResidence": {
"street": "string",
"houseNumber": null,
"houseNumberSuffix": "st",
"postalCode": "strin",
"city": "string",
"addressSupplement": "string"
}
},
"authentificationInfo": {
"timestamp": "2020-04-16T06:50:39Z",
"authentificationToken": {},
"authentificationMethod": "string",
"assuranceLevel": "low"
}
}
],
"payment-info": {
"paymentInfo": {
"reference": "TP/93/GDP",
"usage": "Gewerbeanmeldung",
"amount": 17.3,
"timestamp": "2020-03-03T12:38:23Z",
"status": "success",
"transaction": "1f77c5f9b759db9cdce59988b24974d465c7be5e462a6185485559ff6e2dea82"
}
},
"applicationId": "ce75a6b8-d72f-4b94-b09e-af6be35bc2ae"
}
}
}
\ No newline at end of file
......@@ -5,25 +5,25 @@
"additionalProperties": false,
"x-examples": {
"example-1": {
"name": "Gewerbeanmeldung",
"leikaId": "99050012104000"
},
"example-2": {
"name": "Gewerbeanmeldung",
"description": "Eine Gewerbeanmeldung ist immer dann notwendig, wenn Sie einen stehenden Gewerbebetrieb beginnen.",
"leikaId": "99050012104000",
"otherIdentifiers": [
{
"id": "8664844",
"schemeURI": "service.niedersachsen.de",
"schemeID": "service.niedersachsen.de",
"schemeName": "Serviceportal Niedersachsen"
},
{
"id": "354824",
"schemeURI": "buerger.thueringen.de",
"schemeID": "buerger.thueringen.de",
"schemeName": "Zuständigkeitsfinder Thüringen"
}
]
},
"example-2": {
"name": "Gewerbeanmeldung",
"leikaId": "99050012104000"
}
},
"properties": {
......
......@@ -5,6 +5,7 @@
"additionalProperties": false,
"x-examples": {
"example-1": {
"type": "international",
"lines": [
"760 United Nations Plaza",
"Manhattan, New York City, New York 10017"
......@@ -12,6 +13,7 @@
"country": "368"
},
"example-2": {
"type": "international",
"lines": [
"Threadneedle Street",
"London EC2R 8AH"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment