diff --git a/unittests/test_json_schema_exporter.py b/unittests/test_json_schema_exporter.py
index edb5c4e1645310db8503d1a35aa31e633fbd6aec..b182f576093ee82bf668ffb320feb608bb14bcdf 100644
--- a/unittests/test_json_schema_exporter.py
+++ b/unittests/test_json_schema_exporter.py
@@ -723,3 +723,21 @@ RT2:
     array = jsex.make_array(schema_RT1)
     assert array["type"] == "array"
     assert array["items"] == schema_RT1
+
+
+def test_inheritance():
+    """Test data models with inherited properties."""
+    model_str = """
+some_date:
+    datatype: DATETIME
+RT1:
+  obligatory_properties:
+    some_date:
+RT2:
+  inherit_from_suggested:
+  - RT1
+    """
+    model = parse_model_from_string(model_str)
+    rt2_deep = model.get_deep("RT2")
+
+    assert "some_date" in [prop.name for prop in rt2_deep.properties]