I have json data that I am trying to load into a BigQuery table.
The json data looks like this
{"add:resultMessages": {"add-types:message": {"add-types:description": "The Tachograph details are not available for this driver number", "add-types:code": 405}}, "add:driver": {"add-types:givenName": "A PERSON", "add-types:dateOfBirth": "1900-10-15", "add-types:surname": "PERSON", "add-types:gender": "F"}, "add:enquiryGuid": "61f270cb-b01d-face-cafe-accededf100d", "add:address": {"add-types:addressLines": {"add-types:addressLine": ["Address 1", "TOWN"]}, "add-types:postCode": "ZZ19AA"}, "add:licence": {"add:validTo": "2029-01-22", "add:directiveIdentifier": 4, "add:entitlements": {"add:entitlement": [{"add-types:restrictions": {"add-types:restriction": [{"add-types:type": "01"}, {"add-types:type": 793}]}, "add-types:type": "F", "add-types:validFrom": "2013-01-19", "add-types:validTo": "2047-10-14", "add-types:code": "A"}, {"add-types:restrictions": {"add-types:restriction": {"add-types:type": "01"}}, "add-types:type": "P", "add-types:validFrom": "2009-01-25", "add-types:validTo": "2047-10-14", "add-types:code": "A"}, {"add-types:restrictions": {"add-types:restriction": [{"add-types:type": "01"}, {"add-types:type": 122}]}, "add-types:type": "F", "add-types:validFrom": "2013-08-06", "add-types:validTo": "2047-10-14", "add-types:code": "AM"}, {"add-types:restrictions": {"add-types:restriction": {"add-types:type": "01"}}, "add-types:type": "F", "add-types:validFrom": "2009-06-23", "add-types:validTo": "2047-10-14", "add-types:code": "B"}, {"add-types:restrictions": {"add-types:restriction": {"add-types:type": "01"}}, "add-types:type": "F", "add-types:validFrom": "2009-06-23", "add-types:validTo": "2047-10-14", "add-types:code": "B1"}, {"add-types:restrictions": {"add-types:restriction": {"add-types:type": "01"}}, "add-types:type": "P", "add-types:validFrom": "2009-07-01", "add-types:validTo": "2047-10-14", "add-types:code": "BE"}, {"add-types:restrictions": {"add-types:restriction": {"add-types:type": "01"}}, "add-types:type": "F", "add-types:validFrom": "2009-06-23", "add-types:validTo": "2047-10-14", "add-types:code": "F"}, {"add-types:restrictions": {"add-types:restriction": {"add-types:type": "01"}}, "add-types:type": "P", "add-types:validFrom": "1994-11-29", "add-types:validTo": "2047-10-14", "add-types:code": "G"}, {"add-types:restrictions": {"add-types:restriction": {"add-types:type": "01"}}, "add-types:type": "P", "add-types:validFrom": "1994-11-29", "add-types:validTo": "2047-10-14", "add-types:code": "H"}, {"add-types:restrictions": {"add-types:restriction": {"add-types:type": "01"}}, "add-types:type": "F", "add-types:validFrom": "2009-06-23", "add-types:validTo": "2047-10-14", "add-types:code": "K"}, {"add-types:restrictions": {"add-types:restriction": {"add-types:type": "01"}}, "add-types:type": "F", "add-types:validFrom": "2009-06-23", "add-types:validTo": "2047-10-14", "add-types:code": "L"}, {"add-types:restrictions": {"add-types:restriction": {"add-types:type": "01"}}, "add-types:type": "F", "add-types:validFrom": "2009-06-23", "add-types:validTo": "2047-10-14", "add-types:code": "N"}, {"add-types:restrictions": {"add-types:restriction": [{"add-types:type": "01"}, {"add-types:type": 122}]}, "add-types:type": "F", "add-types:validFrom": "2009-06-23", "add-types:validTo": "2047-10-14", "add-types:code": "P"}, {"add-types:restrictions": {"add-types:restriction": [{"add-types:type": "01"}, {"add-types:type": 122}]}, "add-types:type": "F", "add-types:validFrom": "2013-08-06", "add-types:validTo": "2047-10-14", "add-types:code": "Q"}]}, "add:status": "FC", "add:issueNumber": 30, "add:validFrom": "2019-01-23"}}
I am using the Cloud Storage load component but its failing with "No such field: add:resultMessages" since I cant use : in the field name what should I be doing - sorry if this is a) a long query and b) something really simple but I have not tried to do this before