@@ -43,8 +43,8 @@ def validate_folder(self, model_folder, schema_folder, schema_path, model_path):
43
43
Validate the specified model folder against the specified schema folder
44
44
:param model_folder: the model folder to validate
45
45
:param schema_folder: the schema folder to validate against
46
- :param schema_path: the path of schema elements (no multi-element names ), used for supported check
47
- :param model_path: the path of model elements (including multi-element names ), used for logging
46
+ :param schema_path: the path of schema elements (no array indices ), used for supported check
47
+ :param model_path: the path of model elements (including array indices ), used for logging
48
48
"""
49
49
_method_name = 'validate_folder'
50
50
self ._log_debug (str (model_path ))
@@ -63,14 +63,14 @@ def validate_folder(self, model_folder, schema_folder, schema_path, model_path):
63
63
64
64
if wko_schema_helper .is_single_object (properties ):
65
65
# single object instance
66
- self ._log_debug (' ' + key + ': folder ' )
66
+ self ._log_debug (' ' + key + ': single object ' )
67
67
next_schema_path = wko_schema_helper .append_path (schema_path , key )
68
68
next_model_path = model_path + "/" + key
69
69
if self ._check_folder_path (next_schema_path , next_model_path ):
70
70
self .validate_folder (model_value , properties , next_schema_path , next_model_path )
71
71
72
72
elif wko_schema_helper .is_object_array (properties ):
73
- self ._log_debug (' ' + key + ': multiple folder ' )
73
+ self ._log_debug (' ' + key + ': object array ' )
74
74
next_schema_path = wko_schema_helper .append_path (schema_path , key )
75
75
next_model_path = model_path + "/" + key
76
76
if self ._check_folder_path (next_schema_path , next_model_path ):
0 commit comments