diff --git a/models/application/applicant.json b/models/application/applicant.json index 5d78329573a1fc29184414381988d81124045fd9..a07958d62ee87719a84fdc328f2b1e2ad324d475 100644 --- a/models/application/applicant.json +++ b/models/application/applicant.json @@ -1,15 +1,12 @@ { + "oneOf": [ + { + "$ref": "./applicant-person.json" + }, + { + "$ref": "./applicant-organization.json" + } + ], "title": "Applicant", - "type": "array", - "description": "Ein Antragsteller, entweder eine Organisation oder eine natürliche Person", - "items": { - "oneOf": [ - { - "$ref": "./applicant-person.json" - }, - { - "$ref": "./applicant-organization.json" - } - ] - } + "description": "Ein Antragsteller, entweder eine Organisation oder eine natürliche Person" } \ No newline at end of file diff --git a/reference/sender.json b/reference/sender.json index b53c4b9ecc35a973a5a464b459a789605901a3a4..423014a78afbe895710f5e43090770a4cb015286 100644 --- a/reference/sender.json +++ b/reference/sender.json @@ -112,6 +112,33 @@ "schema": { "type": "object", "properties": {} + }, + "examples": { + "example-1": { + "value": { + "F99000001": "string", + "G99000001": { + "F99000002": "string", + "F99000003": 42 + }, + "G99000002": [ + { + "F99000004": true, + "G99000001": { + "F99000002": "string", + "F99000003": 17 + } + }, + { + "F99000004": true, + "G99000001": { + "F99000002": "string", + "F99000003": 24 + } + } + ] + } + } } }, "application/xml": { @@ -555,6 +582,13 @@ "type": "string" } } + }, + "examples": { + "example-1": { + "value": { + "application-id": "45bb5b95-d853-4fc5-b45d-10aa9e15287a" + } + } } } } @@ -615,6 +649,109 @@ "application/json": { "schema": { "$ref": "../models/application/metadata-no-id.json" + }, + "examples": { + "example-1": { + "value": { + "additional-reference-info": { + "subject": "Anmeldung eines Gewerbes in Musterstadt", + "case-id": "DF/8923" + }, + "content-structure": { + "data": { + "schema": { + "mime-type": "json", + "schema-source": "none" + }, + "mime-type": "json" + }, + "docs": [ + { + "doc-id": "1", + "purpose": "form", + "size": 39273, + "mime": "application/pdf", + "filename": "antrag.pdf", + "description": "Das Antragsformular", + "lang": { + "lang": "de", + "region": "DE" + }, + "hash": { + "algorithm": "SHA-256", + "digest": "03ba204e50d126e4674c005e04d82e84c21366780af1f43bd54a37816b6ab340" + } + } + ] + }, + "public-service-type": { + "name": "Gewerbeanmeldung", + "description": "Eine Gewerbeanmeldung ist immer dann notwendig, wenn Sie einen stehenden Gewerbebetrieb beginnen.", + "leika-id": "99050012104000", + "other-identifiers": [ + { + "id": "8664844", + "schemeURI": "service.niedersachsen.de", + "schemeName": "Serviceportal Niedersachsen" + }, + { + "id": "354824", + "schemeURI": "buerger.thueringen.de", + "schemeName": "Zuständigkeitsfinder Thüringen" + } + ] + }, + "applicants": [ + { + "authentification-info": { + "assurance-level": "high", + "authentification-method": "eID", + "timestamp": "2020-03-03T12:38:23Z" + }, + "identity-info": { + "date-of-birth": "1970-09-13", + "gender": "m", + "given-name": "WERNER", + "family-name": "MUSTERMANN", + "place-of-residence": { + "street": "KURZER WEG 7", + "postal-code": "12345", + "city": "ANKH-MORPORK" + } + }, + "contact-info": { + "electronic-adresses": [ + { + "channel-type": "Service-Account-Mailbox", + "address": "3b0c9c8c-0801-45f0-a331-2abfc9db78d0" + } + ], + "physical-adress": { + "street": "Kurzer Weg", + "house-number": "7", + "postal-code": "12345", + "city": "Ankh-Morpork" + }, + "telephone": [ + { + "number": "+49 89 32168-42", + "mobile": true, + "type": "work" + } + ] + } + } + ], + "payment-info": { + "reference": "TP/93/GDP", + "usage": "Gewerbeanmeldung", + "amount": 17.3, + "timestamp": "2020-03-03T12:38:23Z", + "status": "success", + "transaction": "1f77c5f9b759db9cdce59988b24974d465c7be5e462a6185485559ff6e2dea82" + } + } + } } } }, diff --git a/reference/subscriber.json b/reference/subscriber.json index e97c5082e320e1565ddbab65d4ee3abca899ae1f..7422e011fe5a853ca3a2796fb339115ebe9c9ff4 100644 --- a/reference/subscriber.json +++ b/reference/subscriber.json @@ -1133,6 +1133,13 @@ "required": [ "destination-id" ] + }, + "examples": { + "example-1": { + "value": { + "destination-id": "e15fc92e-c286-424b-9802-39c6b6bc441d" + } + } } } } @@ -1178,7 +1185,8 @@ "examples": { "example-1": { "value": { - "organization": { + "public-organization": { + "organization-name": "Gewerbeamt Musterstadt", "address": { "street": "Kurzer Weg", "houseNr": "7", @@ -1188,6 +1196,7 @@ "contact": { "telephone": { "number": "+49 89 32168-0", + "mobile": false, "type": "work" }, "email": "behoerde@example.com" @@ -1199,13 +1208,29 @@ "firstName": "Kunibert", "lastName": "Vonundzu", "contact": { - "telephone": { - "number": "+49 89 32168-42", - "mobile": "+49 123 456789", - "type": "work" - }, + "telephone": [ + { + "number": "+49 89 32168-42", + "mobile": false, + "type": "work" + }, + { + "number": "+49 123 456789", + "mobile": true, + "type": "work" + } + ], "email": "kunibert.vonundzu@example.com" } + }, + "schemas": [ + { + "mime-type": "json", + "schema-source": "none" + } + ], + "callback": { + "callback-url": "https://www.example.com/callback" } } }