From 8c793a1c8307dcd92fa657edb2a1e9b184c15278 Mon Sep 17 00:00:00 2001 From: Davide Vacca <134616519+dvacca-onfido@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:58:50 +0100 Subject: [PATCH] Revert "Fix barcode field in document properties object (#132)" (#137) This reverts commit d180eddd168dd95bf84bf7c8fe9f8c7e3c0c5494. --- schemas/reports/document_properties.yaml | 84 ++++++++++++------------ 1 file changed, 43 insertions(+), 41 deletions(-) diff --git a/schemas/reports/document_properties.yaml b/schemas/reports/document_properties.yaml index bca26927..087070f8 100644 --- a/schemas/reports/document_properties.yaml +++ b/schemas/reports/document_properties.yaml @@ -122,47 +122,49 @@ properties: country_code: type: string barcode: - type: object - properties: - first_name: - type: string - middle_name: - type: string - last_name: - type: string - document_type: - type: string - date_of_expiry: - type: string - format: date - date_of_birth: - type: string - format: date - issuing_date: - type: string - format: date - address_line_1: - type: string - address_line_2: - type: string - address_line_3: - type: string - address_line_4: - type: string - address_line_5: - type: string - issuing_state: - type: string - class: - type: string - gender: - type: string - issuing_country: - type: string - document_number: - type: string - real_id_classification: - type: string + type: array + items: + type: object + properties: + first_name: + type: string + middle_name: + type: string + last_name: + type: string + document_type: + type: string + date_of_expiry: + type: string + format: date + date_of_birth: + type: string + format: date + issuing_date: + type: string + format: date + address_line_1: + type: string + address_line_2: + type: string + address_line_3: + type: string + address_line_4: + type: string + address_line_5: + type: string + issuing_state: + type: string + class: + type: string + gender: + type: string + issuing_country: + type: string + document_number: + type: string + real_id_classification: + type: string nfc: type: object properties: