code: def get_input_feature_jsonschema(model_type: str):
      """This function returns a JSON schema structured to only requires a `type` key and then conditionally applies
      a corresponding input feature's field constraints.
  
      Returns: JSON Schema
      """
      input_feature_types = sorted(
          list(input_config_registry(model_type).keys())
      )
      schema = {
          "type": "object",
          "properties": {
              "name": {
                  "type": "string",
                  "title": "name",
                  "description": "Name of the input feature.",
              },
              "type": {
                  "type": "string",
                  "enum": input_feature_types,
                  "title": "type",
                  "description": "Type of the input feature",
              },
              "column": {
                  "type": "string",
                  "title": "column",
                  "description": "Name of the column.",
              },
          },
          "additionalProperties": True,
          "allOf": get_input_feature_conds(model_type),
          "required": ["name", "type"],
          "title": "input_feature",
      }
  
      return schema
  
file_path: ludwig/ludwig/schema/features/utils.py
imports: from collections import defaultdict
  from ludwig.api_annotations import DeveloperAPI
  from ludwig.constants import MODEL_ECD, MODEL_GBM, MODEL_LLM
  from ludwig.schema import utils
  from ludwig.utils.registry import Registry
label_desc: Use image node_id 5 for calling a global function with example usage: get_input_feature_jsonschema(model_type) and returns: schema