Are there any guidelines to design the data model for chaincode in Hyperledger Fabric? Any tips in designing a data model if we have complex relationships?
For example, if I want to design the Library data model. Every book can have multiple authors and each author can have multiple books. Each book can be tagged to different categories. What is the best way to write chaincode for this example so that it is easy to query by tags or authors?