diff --git a/json_ld_schema.module b/json_ld_schema.module
index 2c041945d8104c0f6b7d4e9b6acdd5f63902fb49..e6bbf7d5c634e4288c5ba7b4fe806be487275bf0 100644
--- a/json_ld_schema.module
+++ b/json_ld_schema.module
@@ -65,7 +65,7 @@ function json_ld_schema_entity_view(array &$build, EntityInterface $entity, Enti
         '#value' => json_encode($json_ld_entity->getData($entity, $view_mode)
           ->toArray(), JSON_UNESCAPED_UNICODE),
       ],
-      sprintf('json_ld_%s_%s', $entity->getEntityTypeId(), $view_mode),
+      sprintf('json_ld_%s_%s_%s', $entity->getEntityTypeId(), $entity->id(), $view_mode),
     ];
   }
 }