Is it OK to have multiple items of the same Schema.org type on a page?

倖福魔咒の 提交于 2019-12-01 21:08:29
unor

If it’s the same entity (on the same document) you describe, then don’t use multiple items. You should only use one item in this case. If your markup makes it hard to nest all properties under this item, use the itemref attribute (see example).

If these are different entities, use multiple/different items: one item per entity.

So in your specific example, you should use one item for your organization, and one item for the other organization’s profile.

To make clear that items are about the same entity, Microdata provides the itemid attribute. However, Microdata requires that vocabularies have to explicitly support "global identifiers for items", which is currently not the case for Schema.org. If itemid is supported, you could even have several items about the same entity on the same page. Until that is possible, and also in addition, you could use other properties that could serve as hint that items are about the same thing, for example url.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!