class_docstr: Top level parser for model monitor model quality metric type
class_docstr_tok: ["Top","level","parser","for","model","monitor","model","quality","metric","type"]
docstr: Implement ParserBase._validate.
  
  Args:
      json_data (dict): Metric data to be validated.
  
  Raises:
      ValueError: missing model monitor model quality metrics.
docstr_tok: ["Implement","ParserBase._validate",".","Args",":","json_data","(","dict",")",":","Metric","data","to","be","validated",".","Raises",":","ValueError",":","missing","model","monitor","model","quality","metrics","."]
code: def _validate(self, json_data: dict):
      """Implement ParserBase._validate.
  
      Args:
          json_data (dict): Metric data to be validated.
  
      Raises:
          ValueError: missing model monitor model quality metrics.
      """
      if len(json_data) == 0:
          raise ValueError(
              "Missing model monitor model quality metrics from the metric data."
          )
  
imports: from __future__ import absolute_import
  from abc import ABC, abstractmethod
  from enum import Enum
  from collections import defaultdict
  from typing import Union, List
  from sagemaker.model_card.schema_constraints import PYTHON_TYPE_TO_METRIC_VALUE_TYPE, METRIC_VALUE_TYPE_MAP, MetricTypeEnum
label_desc: Use image node_id 1 for calling the ModelMonitorModelQualityParser obj's underlying member method code with example usage: obj._validate(json_data) without return types