Update metadata.json schema.

Add type to metadataInfo.
Fix cardinality.