code: def test_validate_properties_with_bad_name_field():
      # Arrange
      def prop(predictions):
          return [
              int(x[0][0]) if len(x) != 0 else 0 for x in predictions
          ]
  
      # Assert
      assert_that(
          calling(validate_properties).with_args(
              [
                  {
                      "name": "test",
                      "method": prop,
                      "output_type": "continuous",
                  }
              ]
          ),
          raises(
              DeepchecksValueError,
              r"List of properties contains next problems:\n"
              r"\+ Property test: field \"output_type\" must be one of \('categorical', "
              r"'numerical', 'class_id'\), instead got continuous",
          ),
      )
      assert_that(
          calling(validate_properties).with_args(
              [
                  {
                      "name234": "test",
                      "method": prop,
                      "output_type": "numerical",
                  }
              ]
          ),
          raises(
              DeepchecksValueError,
              r"List of properties contains next problems:\n"
              r"\+ Item #0: property must be of type dict, and include keys \('name', "
              r"'method', 'output_type'\).",
          ),
      )
  
imports: from hamcrest import assert_that, calling, close_to, contains_exactly, equal_to, is_, raises
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.vision import Suite
  from deepchecks.vision.checks import ImagePropertyOutliers
  from deepchecks.vision.utils.image_properties import calc_default_image_properties, default_image_properties, texture_level
  from deepchecks.vision.utils.label_prediction_properties import DEFAULT_CLASSIFICATION_LABEL_PROPERTIES, DEFAULT_CLASSIFICATION_PREDICTION_PROPERTIES, DEFAULT_OBJECT_DETECTION_LABEL_PROPERTIES, DEFAULT_OBJECT_DETECTION_PREDICTION_PROPERTIES, DEFAULT_SEMANTIC_SEGMENTATION_LABEL_PROPERTIES, DEFAULT_SEMANTIC_SEGMENTATION_PREDICTION_PROPERTIES
  from deepchecks.vision.utils.vision_properties import calc_vision_properties, validate_properties
label_desc: Use image node_id 9 for calling a global function with example usage: test_validate_properties_with_bad_name_field() and returns: unknown