List all paths in a schema definition

Output:
[
'trip',
'orderId',
'status',
'createdDate',
'modifiedDate',
'totalAmount',
'customer',
'additionalParticipants.0',
'payments.0.date',
'payments.0.amount',
'payments.0.disputes.0.externalId',
'payments.0.disputes.0.status',
'coupon',
'cancellationDetails.refundAmount',
'cancellationDetails.feeAmount',
'cancellationDetails.forfeitedAmount',
'cancellationDetails.voucher.code'
]