class_docstr: Abstract data loader.
class_docstr_tok: ["Abstract","data","loader","."]
code: def _parse_to_api_schema(self, raw):
      result = []
      for key, val in raw.items():
          here = {}
          here[tod.STANDARD_API_NAME_SLOT] = key
          req = val.get("args", {}).get("all_of", [])
          opt = val.get("args", {}).get("any_of", [])
          if len(req) > 0:
              here[tod.STANDARD_REQUIRED_KEY] = req
          if len(opt) > 0:
              here[tod.STANDARD_OPTIONAL_KEY] = opt
          result.append(here)
      return result
  
imports: from parlai.core.params import ParlaiParser
  import os
  import pandas
  from parlai.core.opt import Opt
  import parlai.core.tod.tod_core
  import json
  from typing import Optional
  from parlai.utils.data import DatatypeHelper
  from parlai.utils.io import PathManager
  import parlai.tasks.taskmaster3.build
  import parlai.core.tod.tod_agents
label_desc: Use image node_id 6 for calling the Taskmaster3Parser obj's underlying member method code with example usage: obj._parse_to_api_schema(raw) and returns: result