Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CAT-1270] Add missing fields in document report's properties #96

Merged
merged 2 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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