Skip to content

Commit 4ddbccf

Browse files
committed
Rename PersonName attributes
1 parent 295bb12 commit 4ddbccf

3 files changed

Lines changed: 18 additions & 18 deletions

File tree

docs/USDM_API.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7931,20 +7931,20 @@
79317931
"title": "Givennames",
79327932
"default": []
79337933
},
7934-
"namePrefixes": {
7934+
"prefixes": {
79357935
"items": {
79367936
"type": "string"
79377937
},
79387938
"type": "array",
7939-
"title": "Nameprefixes",
7939+
"title": "Prefixes",
79407940
"default": []
79417941
},
7942-
"nameSuffixes": {
7942+
"suffixes": {
79437943
"items": {
79447944
"type": "string"
79457945
},
79467946
"type": "array",
7947-
"title": "Namesuffixes",
7947+
"title": "Suffixes",
79487948
"default": []
79497949
},
79507950
"instanceType": {
@@ -8008,20 +8008,20 @@
80088008
"title": "Givennames",
80098009
"default": []
80108010
},
8011-
"namePrefixes": {
8011+
"prefixes": {
80128012
"items": {
80138013
"type": "string"
80148014
},
80158015
"type": "array",
8016-
"title": "Nameprefixes",
8016+
"title": "Prefixes",
80178017
"default": []
80188018
},
8019-
"nameSuffixes": {
8019+
"suffixes": {
80208020
"items": {
80218021
"type": "string"
80228022
},
80238023
"type": "array",
8024-
"title": "Namesuffixes",
8024+
"title": "Suffixes",
80258025
"default": []
80268026
},
80278027
"instanceType": {

docs/USDM_API.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5227,17 +5227,17 @@ components:
52275227
type: array
52285228
title: Givennames
52295229
default: []
5230-
namePrefixes:
5230+
prefixes:
52315231
items:
52325232
type: string
52335233
type: array
5234-
title: Nameprefixes
5234+
title: Prefixes
52355235
default: []
5236-
nameSuffixes:
5236+
suffixes:
52375237
items:
52385238
type: string
52395239
type: array
5240-
title: Namesuffixes
5240+
title: Suffixes
52415241
default: []
52425242
instanceType:
52435243
type: string
@@ -5278,17 +5278,17 @@ components:
52785278
type: array
52795279
title: Givennames
52805280
default: []
5281-
namePrefixes:
5281+
prefixes:
52825282
items:
52835283
type: string
52845284
type: array
5285-
title: Nameprefixes
5285+
title: Prefixes
52865286
default: []
5287-
nameSuffixes:
5287+
suffixes:
52885288
items:
52895289
type: string
52905290
type: array
5291-
title: Namesuffixes
5291+
title: Suffixes
52925292
default: []
52935293
instanceType:
52945294
type: string

model/person_name.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ class PersonName(ApiBaseModelWithId):
55
text: Union[str, None] = None
66
familyName: Union[str, None] = None
77
givenNames: List[str] = []
8-
namePrefixes: List[str] = []
9-
nameSuffixes: List[str] = []
8+
prefixes: List[str] = []
9+
suffixes: List[str] = []
1010
instanceType: Literal['PersonName']

0 commit comments

Comments
 (0)