@@ -75,7 +75,7 @@ def validate_folder(self, model_folder, schema_folder, schema_path, model_path):
75
75
next_model_path = model_path + "/" + key
76
76
if self ._check_folder_path (next_schema_path , next_model_path ):
77
77
item_info = wko_schema_helper .get_array_item_info (properties )
78
- self ._validate_multiple_folder (model_value , item_info , next_schema_path , next_model_path )
78
+ self ._validate_object_array (model_value , item_info , next_schema_path , next_model_path )
79
79
80
80
elif wko_schema_helper .is_simple_map (properties ):
81
81
# map of key / value pairs
@@ -100,10 +100,9 @@ def validate_folder(self, model_folder, schema_folder, schema_path, model_path):
100
100
'%s' % ', ' .join (schema_properties ), class_name = self ._class_name ,
101
101
method_name = _method_name )
102
102
103
- def _validate_multiple_folder (self , model_value , property_map , schema_path , model_path ):
103
+ def _validate_object_array (self , model_value , property_map , schema_path , model_path ):
104
104
"""
105
- Validate the contents of this multiple-element model section.
106
- There should be a dictionary of names, each containing a sub-folder.
105
+ Validate the contents of this object array.
107
106
:param model_value: the model contents for a folder
108
107
:param property_map: describes the contents of the sub-folder for each element
109
108
:param schema_path: the path of schema elements (no multi-element names), used for supported check
0 commit comments