diff --git a/python/knext/knext/client/marklang/schema_ml.py b/python/knext/knext/client/marklang/schema_ml.py index 1cf30976..25c180ae 100644 --- a/python/knext/knext/client/marklang/schema_ml.py +++ b/python/knext/knext/client/marklang/schema_ml.py @@ -349,8 +349,11 @@ class SPGSchemaMarkLang: elif type_meta == "properties": assert self.parsing_register[RegisterUnit.Type].spg_type_enum not in [ - SpgTypeEnum.Standard - ], self.error_msg("Standard type does not allow defining properties.") + SpgTypeEnum.Standard, + SpgTypeEnum.Concept, + ], self.error_msg( + "Standard/concept type does not allow defining properties." + ) self.save_register( RegisterUnit.Property, Property(name="_", object_type_name="Thing") )