A JSON schema for metric specifications.