Skip to content

Commit

Permalink
Switch over passport number, refs #948.
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Dec 17, 2024
1 parent b1172b2 commit 1c33372
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions followthemoney/schema/Passport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,24 @@ Passport:
- Identification
matchable: false
featured:
- passportNumber
- number
- country
- type
- holder
- startDate
- endDate
required:
- holder
- passportNumber
- number
caption:
- passportNumber
- number
properties:
passportNumber:
# FIXME: Use `number` from `Identification` instead!!
label: "Passport number"
type: identifier
hidden: true
surname:
label: "Surname"
givenName:
Expand Down
4 changes: 2 additions & 2 deletions js/src/defaultModel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4705,7 +4705,7 @@
"Identification"
],
"featured": [
"passportNumber",
"number",
"country",
"type",
"holder",
Expand Down Expand Up @@ -4745,6 +4745,7 @@
"type": "string"
},
"passportNumber": {
"hidden": true,
"label": "Passport number",
"matchable": true,
"maxLength": 64,
Expand All @@ -4770,7 +4771,6 @@
},
"required": [
"holder",
"passportNumber",
"number"
],
"schemata": [
Expand Down

0 comments on commit 1c33372

Please sign in to comment.