# Functions
ConstructQueryResponse iterate through query result to create array of key-value pairs, i.e.
ExtractCompositeKeys collects all valid composite-keys matching composite-key definitions using fields of a value object.
GetActivityInputSchema returns schema of an activity input attribute.
GetActivityOutputSchema returns schema of an activity output attribute.
GetChaincodeStub returns Fabric chaincode stub from the activity context.
OrderedParameters returns parameters of a JSON schema object sorted by their position in schema definition This is necessary because Golang JSON parser does not maintain the sequence of object parameters.
ParseCompositeKeyDefs parses composite-key definition of format 'key1=field1,field2;key2=field3,field4'.
ResolveFlowData resolves and returns data from the flow's context, unmarshals JSON string to map[string]interface{}.
# Constants
FabricStub is the name of flow property for passing chaincode stub to activities.
KeyField attribute used in query response of key-value pairs.
ValueField attribute used in query response of key-value pairs.
# Structs
ParameterIndex stores transaction parameters and its location in raw JSON schema string start and end location is used to sort the parameter list to match the parameter order in schema.