schemes:person:addressdetails
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| schemes:person:addressdetails [2024/12/11 13:06] – lars_gerulat | schemes:person:addressdetails [2026/09/08 14:34] (aktuell) – B2Base-Schemaentwurf: internationale Datenmodelle, Beispiele und Erläuterungen 0.0.0.0 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== | + | ====== |
| - | ===== description | + | |
| - | Das Schema für addressdetails unterstützt: | + | <WRAP b2hero> |
| - | * Mehrere Adressen: Haupt- und Nebenwohnsitze sowie andere Typen (z. B. Arbeitsadresse). | + | **B2Base · 1.0.0-draft.1 · Projektentwurf** |
| - | * Geolocation: Optionaler Standort | + | |
| - | * Vollständige Adressdetails: | + | Postadressen, |
| - | ===== example | + | |
| - | <code> | + | [[schemes: |
| + | </ | ||
| + | |||
| + | ===== Direkt verwenden | ||
| + | |||
| + | [[b2schema> | ||
| + | |||
| + | **Austauschschema:** vollständige Strukturprüfung | ||
| + | |||
| + | ===== Felder im Überblick ===== | ||
| + | |||
| + | ^ Feld ^ Typ ^ Pflicht im Modul ^ Bedeutung ^ | ||
| + | | '' | ||
| + | | '' | ||
| + | |||
| + | Pflichtangaben gelten für das jeweilige Objekt, wenn dieses Modul verwendet wird. Zusätzliche Alternativen und Statusregeln stehen im Austauschschema. Optionale Felder weglassen, wenn sie unbekannt oder nicht anwendbar sind; ein leeres Pflichtfeld ist kein gültiger Ersatz. | ||
| + | |||
| + | ===== International richtig einsetzen ===== | ||
| + | |||
| + | * Straße, Stadt, Postleitzahl und Hausnummer sind optional. country bezeichnet das Zielland; code und name sind getrennt. | ||
| + | * Die geordneten addressLines bestimmen die Druckdarstellung, | ||
| + | * Koordinaten ersetzen keine Zustellbarkeitsprüfung. Zeilenreihenfolge und nationale Postregeln prüft das jeweilige Länderprofil. | ||
| + | |||
| + | ===== Gültige Beispiele | ||
| + | |||
| + | Alle Beispiele sind synthetisch. Sie werden mit dem mitgelieferten Schema geprüft; daraus folgt keine fachliche Echtheit oder externe Erreichbarkeit. | ||
| + | |||
| + | ==== Beispiel 1 ==== | ||
| + | |||
| + | <file json example-1.json> | ||
| { | { | ||
| " | " | ||
| { | { | ||
| - | "type": | + | "country": |
| - | "street": "Main Street", | + | "code": "GB" |
| - | | + | |
| - | "unit": | + | "addressLines": |
| - | "floor": | + | "Example House", |
| - | "city": " | + | "London SW1A 1AA" |
| - | | + | |
| - | " | + | " |
| - | " | + | "value": "SW1A 1AA" |
| - | " | + | |
| - | "latitude": | + | |
| - | | + | |
| } | } | ||
| - | }, | + | } |
| + | ] | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ==== Beispiel 2 ==== | ||
| + | |||
| + | <file json example-2.json> | ||
| + | { | ||
| + | " | ||
| { | { | ||
| - | " | + | " |
| - | "street": | + | "country": |
| - | "number": "456", | + | "code": "AE" |
| - | "city": "Munich", | + | }, |
| - | "state": | + | "addressLines": |
| - | "postalCode": "80331", | + | |
| - | "country": "DE" | + | "دبي" |
| + | ], | ||
| + | "language": "ar", | ||
| + | "postBox": | ||
| + | | ||
| + | } | ||
| } | } | ||
| ] | ] | ||
| } | } | ||
| + | </ | ||
| + | |||
| + | ===== Umstellung aus dem bisherigen Wiki ===== | ||
| + | |||
| + | Die bisherigen verschachtelten Komponenten einschließlich line_in_address bleiben erhalten. Die generelle Pflicht für city und type entfällt. Neu sind addressLines, | ||
| + | |||
| + | [[schemes: | ||
| + | |||
| + | ===== Vollständiges Schema ===== | ||
| + | |||
| + | Die Datei ist eigenständig: | ||
| - | </code> | + | <file json addressdetails.schema.json> |
| - | ===== schema | + | |
| - | <code> | + | |
| { | { | ||
| " | " | ||
| - | " | + | " |
| - | " | + | " |
| - | "description": "A schema for representing a person' | + | "$comment": "B2Base 1.0.0-draft.1. Projektentwurf, |
| " | " | ||
| + | " | ||
| " | " | ||
| " | " | ||
| " | " | ||
| - | " | + | " |
| " | " | ||
| - | " | + | |
| - | " | + | }, |
| - | " | + | " |
| + | }, | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | } | ||
| + | } | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | "type": { | ||
| + | "type": " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | "items": { | ||
| " | " | ||
| - | "description": | + | "minLength": |
| - | "example": "primary residence" | + | "description": "Eine Adresszeile." |
| }, | }, | ||
| - | " | + | |
| - | " | + | }, |
| - | " | + | " |
| - | "example": "Main Street" | + | " |
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | }, | ||
| + | "position_in_address_line": | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | } | ||
| }, | }, | ||
| - | " | + | |
| - | " | + | " |
| - | " | + | ], |
| - | "example": "123" | + | " |
| + | }, | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | }, | ||
| + | "position_in_address_line": | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | } | ||
| }, | }, | ||
| - | " | + | |
| - | " | + | " |
| - | " | + | ], |
| - | "example": "Apt 5B" | + | " |
| + | }, | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | | ||
| + | " | ||
| + | | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | "position_in_address_line": | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | } | ||
| }, | }, | ||
| - | " | + | |
| - | " | + | " |
| - | " | + | ], |
| - | "example": "3" | + | " |
| + | }, | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | }, | ||
| + | "position_in_address_line": | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | } | ||
| }, | }, | ||
| - | "city": { | + | "required": |
| - | " | + | " |
| - | " | + | ], |
| - | "example": "Berlin" | + | " |
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | }, | ||
| + | "position_in_address_line": | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | } | ||
| }, | }, | ||
| - | "state": { | + | "required": |
| - | " | + | " |
| - | " | + | ], |
| - | "example": "Berlin" | + | " |
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | | ||
| + | " | ||
| + | | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | "position_in_address_line": | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | } | ||
| }, | }, | ||
| - | "postalCode": { | + | "required": |
| - | " | + | " |
| - | " | + | ], |
| - | "example": "10115" | + | " |
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | }, | ||
| + | "position_in_address_line": | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | } | ||
| }, | }, | ||
| - | "country": { | + | "required": |
| - | " | + | " |
| - | " | + | ], |
| - | "example": "DE" | + | " |
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | }, | ||
| + | "position_in_address_line": | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | } | ||
| }, | }, | ||
| - | "geolocation": | + | "required": |
| - | "type": " | + | "name" |
| - | "description": | + | ], |
| - | "properties": { | + | "additionalProperties": |
| - | " | + | }, |
| - | | + | "postalCode": { |
| - | " | + | " |
| - | "example": | + | " |
| - | }, | + | "properties": |
| - | | + | "value": { |
| - | " | + | " |
| - | "description": | + | "minLength": |
| - | "example": | + | "description": |
| - | } | + | |
| }, | }, | ||
| - | " | + | |
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | }, | ||
| + | | ||
| + | | ||
| + | ], | ||
| + | | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | ] | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | ] | ||
| + | } | ||
| + | ] | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| } | } | ||
| + | } | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | ] | ||
| }, | }, | ||
| - | " | + | |
| - | } | + | |
| + | " | ||
| + | ] | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | ] | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | ] | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | ] | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | ] | ||
| + | } | ||
| + | ] | ||
| + | }, | ||
| + | " | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | }, | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| } | } | ||
| }, | }, | ||
| - | "required": [" | + | "examples": [ |
| + | { | ||
| + | | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | } | ||
| + | ] | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | } | ||
| + | ] | ||
| + | } | ||
| + | | ||
| } | } | ||
| - | </code> | + | </file> |
| + | |||
| + | ===== Quellen und Abgrenzung ===== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | Quellen geprüft am 8. September 2026. Die B2Base-Felder und ihre Kombination sind ein eigener Entwurf. Code-Register, | ||
| + | |||
| + | [[schemes: | ||
schemes/person/addressdetails.1733918815.txt.gz · Zuletzt geändert: (Externe Bearbeitung)
