Cosmos will create the LocationDetail field with the key LocationDetail_0 in the container.
...
"Origin": {
"LocationDetail_0": { <------------- The issue occurs here
"LocationCode": "ABCDE",
"Address": null
},
"IsCarvanaLocation": true
},
"Destination": {
"LocationDetail_0": { <------------- And here
"LocationCode": "FGHIJ",
"Address": null
},
"IsCarvanaLocation": true
},
...
Additional Context
If this is an intended behavior due to the use of a oneOf, could you point me toward the documentation please. I was not able to find any information on this happening
Description
_0
appended to it's key.Expected Behavior
Reproduce
Feed data into the source topic with the following protobuf schema
Project/Execution/TripByVehicle.proto
Project/CommonMessages.proto // Supporting proto imported above
LocationDetail
field with the keyLocationDetail_0
in the container.Additional Context