# Functions
GetJSONSchema returns the JSON schema used for metadata.
GetSchema returns the open api spec schema for a given type.
ReadMetadataFile return the contents of metadata file as ContractChaincodeMetadata.
ValidateAgainstSchema takes a ContractChaincodeMetadata and runs it against the schema that defines valid metadata structure.
# Constants
MetadataFile name of file metadata should be written in.
MetadataFolder name of the main folder metadata should be placed in.
MetadataFolderSecondary name of the secondary folder metadata should be placed in.
# Structs
ComponentMetadata stores map of schemas of all components.
ContactMetadata contains contact details about an author of a contract/chaincode.
ContractChaincodeMetadata describes a chaincode made using the contract api.
ContractMetadata contains information about what makes up a contract.
InfoMetadata contains additional information to clarify use of contract/chaincode.
LicenseMetadata contains licensing information for contract/chaincode.
ObjectMetadata description of a component.
ParameterMetadata details about a parameter used for a transaction.
ReturnMetadata details about the return type for a transaction.
TransactionMetadata contains information on what makes up a transaction When JSON serialized the Returns object is flattened to contain the schema.