Skip to content

Commit

Permalink
[CAT-1270] Add missing fields in document report's properties (#96)
Browse files Browse the repository at this point in the history
* Add missing fields in document report's properties
* Fix in sync-lib.sh
  • Loading branch information
dvacca-onfido authored Jul 1, 2024
1 parent d1f1633 commit b381783
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 3 deletions.
50 changes: 50 additions & 0 deletions schemas/reports/document_properties.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ properties:
date_of_expiry:
type: string
format: date
personal_number:
type: string
document_numbers:
type: array
items:
Expand Down Expand Up @@ -52,8 +54,56 @@ properties:
type: string
issuing_authority:
type: string
remarks:
type: string
civil_state:
type: string
expatriation:
type: string
father_name:
type: string
mother_name:
type: string
religion:
type: string
type_of_permit:
type: string
version_number:
type: string
document_subtype:
type: string
profession:
type: string
security_document_number:
type: string
tax_number:
type: string
nist_identity_evidence_strength:
type: string
enum:
- superior
- strong
- fair
- weak
- unacceptable
- unspecified_identity_evidence_strength
has_issuance_confirmation:
type: string
enum:
- "true"
- "false"
- unspecified
real_id_compliance:
type: boolean
security_tier:
type: string
enum:
- tier_1
- tier_2
- tier_3
- tier_4
- tier_5
- unspecified_security_tier
address_lines:
type: object
properties:
Expand Down
5 changes: 2 additions & 3 deletions shell/sync-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ fi

if [[ "$OSTYPE" = "darwin"* ]]; then
# Mac OSX
SED="sed -i -E"
SED=(sed -i -E)
else
# Linux
SED="sed -i"
SED=(sed -i)
fi

# Sync library contents
Expand All @@ -52,7 +52,6 @@ case $client_lib_name in

php)
$SED "s/ *$//" composer.json
cat composer.json
composer update --lock
;;

Expand Down

0 comments on commit b381783

Please sign in to comment.