如何使用schema.org标记法律文件(法律,刑事或公民代码等)?

问题描述 投票:2回答:1

如何用schema.org法律文件加以标记,例如公约,法律,刑法或公民法,法令,政府机构或合同通过的决议,组织签署的协议?

我试过用

div itemscope itemtype="http://schema.org/Article" 

或NewsArticle,但这些模式没有法律文件所需的所有属性。

我使用“http://schema.org/CreativeWork”为法律文件设计了一个模式

<div itemscope itemtype="http://schema.org/CreativeWork">
  <itemprop="Name"> title of the act
  <itemprop="keywords">
  <itemprop="dateCreated">
  <itemprop="datePublished">
  <itemprop="author" itemscope itemtype="http://schema.org/GovernmentOrganization">
    <itemprop="Name"> name of organization

但是我找不到文档正文标记的任何属性,因为articleBody在文章架构中。有什么建议?

schema.org
1个回答
0
投票

我能想到的最接近的Schema.org类型是CreativeWork。 我不认为Article适合你提到的所有例子,但可能对某些人来说。

相关类型是Permit / GovernmentPermit,但它们是关于实际许可,而不是关于/包含它的文档。

目前似乎没有相关的Schema.org proposal。 您可以在mailing listissue tracker上建议新的类型/属性。

© www.soinside.com 2019 - 2024. All rights reserved.