using schemaless data for Hyperledger Fabric/Composer?

Multi tool use


using schemaless data for Hyperledger Fabric/Composer?
I need to store data from json files in hyperledger. The data is schemales. Hyperledger Fabric uses Couchdb which stores schemaless data.
I need to query the data later on.
But im unsure if Fabric can handle schemaless data because of the asset definition that is see in the example projects for example (in the marble project)
// ----- Marbles ----- //
type Marble struct {
ObjectType string `json:"docType"` //field for couchdb
Id string `json:"id"` //the fieldtags are needed to keep case from bouncing around
Color string `json:"color"`
Size int `json:"size"` //size in mm of marble
Owner OwnerRelation `json:"owner"`
}
I know that in Composer you can't store schemaless data since you have to use assets.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.