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

Abgleich mit Labor Wohngeld

parent b90c7118
No related branches found
No related tags found
1 merge request!6Version 0.3
......@@ -20,10 +20,16 @@
"lines": {
"type": "array",
"maxItems": 5,
"minItems": 1,
"minItems": 2,
"description": "Anschriftzeile",
"items": {
"type": "string"
"type": "string",
"maxLength": 35
}
},
"country": {
"type": "string",
"description": "Staat"
}
}
}
\ No newline at end of file
{
"title": "National Address",
"type": "object",
"description": "Eine nationale (deutsche) Adresse, bestehend aus Straße, Hausnummer, PLZ und Ort.",
"properties": {
"street": {
"type": "string",
"description": "Straße"
},
"house-number": {
"type": "string",
"description": "Hausnummer"
},
"postal-code": {
"type": "string",
"description": "PLZ"
},
"city": {
"type": "string",
"description": "Ort"
}
},
"x-examples": {
"example-1": {
"street": "Kurzer Weg",
......@@ -27,5 +8,68 @@
"postal-code": "12345",
"city": "Ankh-Morpork"
}
}
},
"oneOf": [
{
"properties": {
"street": {
"type": "string",
"description": "Straße",
"maxLength": 55
},
"house-number": {
"type": [
"string",
"integer"
],
"description": "Hausnummer",
"maxLength": 9,
"minimum": 1
},
"house-number-suffix": {
"type": "string",
"description": "Hausnummerzusatz",
"maxLength": 2,
"pattern": "^[\\p{L}0-9. ]*$"
},
"postal-code": {
"type": "string",
"description": "Postleitzahl",
"minLength": 5,
"maxLength": 5,
"pattern": "^([0]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{3}$"
},
"city": {
"type": "string",
"description": "Ort",
"maxLength": 50
},
"address-supplement": {
"type": "string",
"description": "Adresszusatz"
}
}
},
{
"properties": {
"post-office-box": {
"type": "string",
"description": "Postfach"
},
"postal-code": {
"type": "string",
"description": "Postleitzahl",
"minLength": 5,
"maxLength": 5,
"pattern": "^([0]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{3}$"
},
"city": {
"type": "string",
"description": "Ort",
"maxLength": 50
}
}
}
],
"type": "object"
}
\ No newline at end of file
......@@ -29,7 +29,7 @@
"type": "string",
"description": "Künstler- oder Ordensname"
},
"academic-title": {
"doctoral-degrees": {
"type": "string",
"description": "Akademischer Titel, z.B. \"Dr.\" oder \"Prof.\""
},
......
{
"title": "Phone",
"type": "object",
"title": "Phone",
"description": "Telefonnumer mit Zusatzinformationen",
"additionalProperties": false,
"properties": {
"number": {
"type": "string",
"title": "Phone Number",
"description": "Telefonnummer im internationalen Format, z.B. \"+49 89 32168-42\". Muss mit einem Plus beginnen und darf danach außer Ziffern nur Leerzeichen ( ) und Bindestriche (-) enthalten.",
"example": "+49 89 32168-42",
"pattern": "^\\+[1-9]([ -]?[0-9]){1,14}$",
"description": "Telefonnummer im internationalen Format, z.B. \"+49 89 32168-42\". Muss mit einem Plus beginnen und darf danach außer Ziffern nur Leerzeichen ( ) und Bindestriche (-) enthalten."
"maxLength": 23
},
"mobile": {
"type": "boolean",
"description": "Zeigt an, ob es sich um eine Mobilfunknummer handelt."
},
"type": {
"description": {
"type": "string",
"enum": [
"work",
"home",
"other"
],
"description": "Art der Telefonnummer: work=dienstlich, home=privat oder other=sonstige"
"description": "Beschreibung der Art der Telefonnummer"
}
},
"required": [
"number",
"type"
"number"
]
}
\ No newline at end of file
{
"type": "string",
"title": "Phone Number",
"example": "+49 89 32168-42",
"pattern": "^\\+[1-9]([ -]?[0-9]){1,14}$",
"description": "Telefonnummer im internationalen Format, z.B. \"+49 89 32168-42\". Muss mit einem Plus beginnen und darf danach außer Ziffern nur Leerzeichen ( ) und Bindestriche (-) enthalten."
}
\ No newline at end of file
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