When using the JSON files for SIRE 2.0 inspections, available through the SIRE website, you will need to use the attached files to read the data in the inspection report.
The inspection file contains GUIDs - 32 character ID numbers - that must be matched to the corresponding ID in the relevant lookup file.
For example, the inspection file may contain the following JSON:
"operatorPhotos": [
{
"photoId": "49b608cd-28f2-49d7-abe9-1fb406713d80",
"locationId": "1774be2c-5ea9-45dc-96af-4aa4eeb4ebf7",
"notFitted": false
}
],
In order to read the correct photo location, you must match the "locationId" number (1774be2c-5ea9-45dc-96af-4aa4eeb4ebf7) to the corresponding ID in the PhotoLocations file:
{
"locationId": "1774be2c-5ea9-45dc-96af-4aa4eeb4ebf7",
"name": "11",
"description": "Forward main deck showing condition of pipe rack"
}
Comments
0 comments
Please sign in to leave a comment.