diff --git a/nomad/datamodel/optimade.py b/nomad/datamodel/optimade.py
index 07cdab1e34cc6af35182bd813d5956a5e5694a05..905a1e99645b418d12f52a8cb6ed4873813b4f50 100644
--- a/nomad/datamodel/optimade.py
+++ b/nomad/datamodel/optimade.py
@@ -173,7 +173,7 @@ class OptimadeEntry(MSection):
     dimension_types = Quantity(
         type=int, shape=[3], default=[0, 0, 0],
         links=optimade_links('h.6.2.8'),
-        a_search=Search(value=lambda a: sum(a.dimension_types), mapping=Integer),
+        a_search=Search(value=lambda a: sum(a.dimension_types), mapping=Integer()),
         a_optimade=Optimade(query=True, entry=True),
         description='''
             List of three integers. For each of the three directions indicated by the three lattice