-
Lilith Wittmann authoredLilith Wittmann authored
destination.json 2.82 KiB
{
"title": "Destination",
"allOf": [
{
"type": "object",
"properties": {
"destinationId": {
"description": "Vom Zustelldienst für dieses Ziel vergebene ID. Wird beim Anlegen eines neuen Ziels leer gelassen.",
"pattern": "^[-_.A-Za-z0-9]+$",
"type": "string"
}
},
"required": [
"destinationId"
]
},
{
"$ref": "./destination-no-id.json"
}
],
"description": "Beschreibung eines technischen Übergabepunkts",
"x-examples": {
"example-1": {
"publicOrganization": {
"organizationName": "Gewerbeamt Musterstadt",
"address": {
"type": "national",
"street": "Kurzer Weg",
"houseNumber": "7",
"postalCode": "12345",
"city": "Ankh-Morpork"
},
"contact": {
"telephones": [
{
"number": "+49 89 32168-0",
"mobile": false,
"description": "work"
}
],
"email": "behoerde@example.com"
}
},
"technicalContact": [
{
"formOfAddress": "Herr",
"doctoralDegrees": "Dr.",
"firstName": "Kunibert",
"lastName": "Vonundzu",
"contact": {
"telephones": [
{
"number": "+49 89 32168-42",
"mobile": false,
"description": "work"
},
{
"number": "+49 123 456789",
"mobile": true,
"description": "work"
}
],
"email": "kunibert.vonundzu@example.com"
}
}
],
"schemas": [
{
"mimeType": "application/json",
"schemaSource": "none"
}
],
"callback": {
"callbackURI": "http://127.0.0.1:4010/voluptas"
},
"publicKeys": {
"keys": [
{
"kty": "RSA",
"key_ops": ["wrapKey"],
"alg": "PS512",
"kid": "……(Key ID)……",
"x5t": "……(Fingerprint)……",
"x5c": [
"……(base64 encoded root cert)……",
"……(base64 encoded intermediate cert)……",
"……(base64 encoded cert)……"
]
},
{
"kty": "RSA",
"key_ops": ["verify"],
"alg": "PS512",
"kid": "……(Key ID)……",
"x5t": "……(Fingerprint)……",
"x5c": [
"……(base64 encoded root cert)……",
"……(base64 encoded intermediate cert)……",
"……(base64 encoded cert)……"
]
}
]
},
"destinationId": "7881dba9-4055-4854-8b6d-11ea5b7f3047"
}
}
}