schemes:person:nameandbirthdetails
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| schemes:person:nameandbirthdetails [2025/05/22 12:56] – Externe Bearbeitung (Unknown date) 127.0.0.1 | schemes:person:nameandbirthdetails [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 **[[schemes: | + | |
| - | **Name:** | + | |
| - | * titles: Optionale Liste von Titeln (z. B. " | + | |
| - | * givenNames: Liste von Vornamen (mindestens ein Name erforderlich). | + | |
| - | * familyNames: | + | |
| - | * additions: Optionale Namenszusätze (z. B. " | + | |
| - | * preferredName: | + | |
| - | * birthDate: Geburtsdatum im ISO-8601-Format (YYYY-MM-DD). | + | |
| - | **birthPlace:** | + | <WRAP b2hero> |
| - | * city: Stadt oder Ort des Geburtsortes. | + | **B2Base · 1.0.0-draft.1 · Projektentwurf** |
| - | * state: Optional, Bundesland | + | |
| - | * country: Länderkürzel nach ISO 3166-1 Alpha-2. | + | Namen in Originalschrift, |
| - | ===== examples | + | |
| - | ==== json notation | + | [[schemes: |
| - | <code> | + | </ |
| + | |||
| + | ===== Direkt verwenden ===== | ||
| + | |||
| + | [[b2schema> | ||
| + | |||
| + | **Austauschschema:** vollständige Strukturprüfung mit JSON Schema 2020-12. **Designer-Fassung: | ||
| + | |||
| + | ===== 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 ===== | ||
| + | |||
| + | * Mononyme, mehrere Familiennamen und unterschiedliche Reihenfolgen sind erlaubt. Aus Namen keine Nationalität | ||
| + | * birthDate und birthDatePartial sind Alternativen. Unbekannte Angaben weglassen; ein fehlender Geburtstag ist kein 1. Januar. | ||
| + | * Originalschrift und Umschrift sind getrennte Darstellungen. Eine automatische Rückübersetzung ist nicht verlustfrei. | ||
| + | |||
| + | ===== 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> | ||
| { | { | ||
| " | " | ||
| - | | + | " |
| - | {" | + | |
| - | ], | + | |
| - | " | + | |
| - | {" | + | |
| - | {" | + | |
| - | ], | + | |
| - | " | + | |
| - | {" | + | |
| - | ], | + | |
| - | " | + | |
| - | {" | + | |
| - | {" | + | |
| - | ], | + | |
| - | | + | |
| }, | }, | ||
| - | "birthDate": "1980-07-25", | + | "birthDatePartial": "1984" |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | } | + | |
| } | } | ||
| - | </code> | + | </file> |
| - | < | + | |
| - | { | + | ==== Beispiel |
| - | " | + | |
| - | " | + | <file json example-2.json> |
| - | " | + | |
| - | {" | + | |
| - | ], | + | |
| - | " | + | |
| - | {" | + | |
| - | {" | + | |
| - | ], | + | |
| - | " | + | |
| - | {" | + | |
| - | ], | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | }, | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | } | + | |
| - | } | + | |
| - | </ | + | |
| - | <code> | + | |
| { | { | ||
| " | " | ||
| - | | + | " |
| - | " | + | "language": "zh-Hant-TW", |
| - | {" | + | |
| - | ], | + | |
| - | " | + | |
| - | {" | + | |
| - | ], | + | |
| - | " | + | |
| - | | + | |
| - | "originalScript": "张伟", | + | |
| " | " | ||
| }, | }, | ||
| - | " | + | " |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | } | + | |
| } | } | ||
| - | </code> | + | </file> |
| - | ==== array notation ==== | + | |
| - | < | + | |
| - | $person[' | + | |
| - | $person[' | + | ===== Umstellung aus dem bisherigen Wiki ===== |
| - | $person[' | + | |
| - | $person[' | + | Die bisherigen Schlüssel bleiben erhalten. Fehlerhaftes JSON wurde berichtigt; Geburtsdatum und Geburtsort sind nicht mehr allgemein verpflichtend. Die frühere Beschreibung behauptete zusätzlich eine Vornamen-/ |
| - | $person[' | + | |
| - | $person[' | + | [[schemes: |
| - | $person[' | + | ===== Vollständiges Schema ===== |
| - | $person[' | + | |
| - | $person[' | + | |
| - | $person['nameandbirthdetails']['birthDate'] = " | + | Die Datei ist eigenständig: |
| - | $person[' | + | <file json nameandbirthdetails.schema.json> |
| - | $person[' | + | |
| - | $person[' | + | |
| - | </ | + | |
| - | + | ||
| - | ===== schema | + | |
| - | <code> | + | |
| { | { | ||
| " | " | ||
| - | " | + | " |
| - | " | + | " |
| - | "description": "A globally valid schema for capturing name, birth date, and birth place.", | + | "$comment": "B2Base 1.0.0-draft.1. Projektentwurf, kein durch ISO oder andere Normungsgremien verabschiedeter Standard.", |
| " | " | ||
| + | " | ||
| " | " | ||
| " | " | ||
| " | " | ||
| - | " | + | " |
| " | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| " | " | ||
| " | " | ||
| - | " | + | " |
| " | " | ||
| - | "type": "object", | + | "$ref": "#/ |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | }, | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | } | + | |
| - | }, | + | |
| - | " | + | |
| } | } | ||
| }, | }, | ||
| " | " | ||
| " | " | ||
| - | " | + | " |
| " | " | ||
| - | "type": "object", | + | "$ref": "#/ |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | }, | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | } | + | |
| - | }, | + | |
| - | " | + | |
| } | } | ||
| }, | }, | ||
| " | " | ||
| " | " | ||
| - | " | + | " |
| " | " | ||
| - | "type": "object", | + | "$ref": "#/ |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | }, | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | } | + | |
| - | }, | + | |
| - | " | + | |
| } | } | ||
| }, | }, | ||
| " | " | ||
| " | " | ||
| - | " | + | " |
| " | " | ||
| - | "type": "object", | + | "$ref": "#/ |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | }, | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | } | + | |
| - | }, | + | |
| - | " | + | |
| } | } | ||
| - | }, | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | }, | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | }, | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| } | } | ||
| }, | }, | ||
| - | " | + | " |
| + | | ||
| + | | ||
| + | " | ||
| }, | }, | ||
| " | " | ||
| " | " | ||
| - | " | + | |
| - | " | + | " |
| + | | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| }, | }, | ||
| " | " | ||
| " | " | ||
| - | " | + | " |
| " | " | ||
| " | " | ||
| " | " | ||
| - | " | + | |
| + | | ||
| }, | }, | ||
| " | " | ||
| " | " | ||
| - | " | + | |
| + | | ||
| }, | }, | ||
| " | " | ||
| " | " | ||
| - | " | + | |
| + | | ||
| }, | }, | ||
| " | " | ||
| " | " | ||
| - | " | + | |
| + | | ||
| }, | }, | ||
| " | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| " | " | ||
| - | " | + | |
| + | | ||
| } | } | ||
| }, | }, | ||
| - | "required": | + | "additionalProperties": |
| + | | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| } | } | ||
| }, | }, | ||
| - | " | + | " |
| + | | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | " | ||
| + | ] | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | }, | ||
| + | " | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | } | ||
| + | | ||
| } | } | ||
| - | </code> | + | </file> |
| + | |||
| + | ===== Quellen und Abgrenzung ===== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | Quellen geprüft am 8. September 2026. Die B2Base-Felder und ihre Kombination sind ein eigener Entwurf. Code-Register, | ||
| + | |||
| + | [[schemes: | ||
schemes/person/nameandbirthdetails.1747911419.txt.gz · Zuletzt geändert: (Externe Bearbeitung)
