如何用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类型是CreativeWork
。
我不认为Article
适合你提到的所有例子,但可能对某些人来说。
相关类型是Permit
/ GovernmentPermit
,但它们是关于实际许可,而不是关于/包含它的文档。
目前似乎没有相关的Schema.org proposal。 您可以在mailing list或issue tracker上建议新的类型/属性。