The IATF audits have different types of data structures. The used data structure is a mix of data structure design and efficient structure to be used in the application and requirements during the development. Fields are only generated if they receive a value, by default a missing field is an undefined field.
Data types
data types | description |
---|---|
bit | has values 0 and 1 (used for yes/no questions) as string “1” |
boolean | has true and false (used for selects and business logic) |
string | not limited string value (checked with business logic where possible, example Auditor Id) |
int | int have only positive values |
double | double have only positive values |
different option types | every type is described in the data definition |
date | exported as text string “2019-11-06T00:00:00.000Z” |
timestamp | int in milliseconds |
file data | All files are saved as base64 encoded string. Files are limited to jpeg image files and pdf files for security reasons |
Export Format
All data can be exported as json or xml file. We recommend the use of json due to it’s lesser overhead a simpler rule set.
JSON
The json file is loaded as object into CARA.
XML
All xml exports of a report or nc management will be contained withing <CaraReport> tag. To comply with xml requirements on export all elements in the data structure starting with a number receive an Xz insert before the number (example index 1 becomes Xz1 and 4.1 becomes Xz4.1). All fields are encoded to be xml compatible. On import all xml tags defined as arrays are cast to array all other elements are created as objects. The Xz compatibility tag prefix will be removed. All values are decoded and cast into date, int, double types.
...
Note |
---|
CARA works with the implemented business logic for printing and displaying data. Data fields which are entered and later hidden due to business logic will almost always keep their data (e.g. Organisation information page → Dedicated to automotive) |
Descriptions
All reports keep the same data structure. Fields are shown based on business logic. Most of the application structure is replicated in the data structure. Please check the sites of the different report types, to identify the data structure blocks not part of the specific report type. Not required data won’t be used/shown, while still kept in the data structure. The data structure versioning will comply with the major release versioning of the audit tool because only major releases will have changes on the data structure. If minor version is attached some corrections on the description were made.
...
CARA is downward compatible. If is required to transform/move any data fields this functionality will be implemented into CARA so existing reports will work with the new formatted data. This will also happen for loaded reports (generated by IT). If they are based on previous data formats that data will be moved by CARA when the report is opened for edit.
DATA DESCRIPTION FILES
Warning |
---|
A data import using data completely created by an external system (i.e. ERP) is not allowed. The import of master data from external system is allowed for audit data, organization information, processes, extended manufacturing sites, providing and receiving support sites |
View file | ||
---|---|---|
|
View file | ||
---|---|---|
|
Data types for CARA reports
Note |
---|
Providing the DataType and the uuid field is the minimum requirement for CARA to accept a report. Due to the nature of the dynamic object structure bad formatted fields may cause problems on printing or opening of a report. You can always use the developer console of the browser to check for any errors. You will quickly find the field responsible for the error in the stack trace. |
Data type | Report Type |
---|---|
| Stage 1 readiness review |
| Audit report |
| Remote support function audit report |
| Special audit report |
| NC management report when exported on it’s own. In general the Nc management is connected to the report it belongs to |
| Adhoc Nc report |
JSON Schema files
Example files for different report types
View file | ||
---|---|---|
|
View file | ||
---|---|---|
|
View file | ||
---|---|---|
|
View file | ||
---|---|---|
|
Functionality on import
On import the data is not checked against the business logic. The only transformation is handled on xml data integrating into arrays where required and removing the Xz on tags starting with a number. At the moment checks are connected to the page in which that content will be entered. This is due to avoid to many calculations within the browser on each change of any data.
How to export/import
For now the CARA tool uses the manual process of creating an export within the application and saving it in defaults download folder or using save as. The import is a file choosing process for a file to import. The system checks against already existing reports in the local browser database with a unique id and warns the user if the report he is importing is going to be overwritten.
Recommendation for identifying fields: The easiest way to creating the right file is to enter all fields in CARA which are going to be filled by using a report import and than to save that file. This will provide you with the right structure and you can check that structured. Cara creates required empty arrays and objects which will be part of the export those do not have to be part of the import. CARA will add all required fields on its own on loading the report.
If you have problems with a specific structure create a new report and complete only these fields so you can focus on an specific example. CARA won’t add empty fields apart from container structures.
Data Description Release Information
Version | Date | Changes |
---|---|---|
1.3 | 11.04.22 |
|
1.2.2.1 | 17.09.21 |
|
1.2.2 | 26.07.21 |
|
1.2 | 02.05.21 |
|
1.1.9 | 15.12.20 |
|
1.1.8 | 03.10.20 |
|
1.1.6 | 19.08.20 |
|
1.1.4 | 13.07.20 |
|
1.1 | 01.06.20 |
|
1.0.2 | 14.01.20 |
|
1.0.1 | 12.01.20 |
|
1.0.0 | 06.01.20 |
|
0.98.20 |
| |
0.98.02 | 25.11.19 | Audit report description: Removed
Removed |
0.98.01 | 21.11.19 | Added missing fields in audit data and organization information |
...