【发布时间】:2015-07-20 12:07:23
【问题描述】:
我有一个位置数据库,我想将其作为开放数据发布。根据数据的来源,每条记录都可以拥有多个许可证之一,因此每条记录都需要附加许可证。我将数据发布为json-ld。样本记录:
{
"@context": "http://schema.org",
"@type": "Place",
"name": "METROPOLITAN MUSEUM OF ART",
"address": {
"@type": "PostalAddress",
"streetAddress": "1000 5TH AVE",
"addressLocality": "NEW YORK",
"addressRegion": "NY",
"addressCountry": "United States",
"postalCode": "10028-0198"
},
"hasMap": "http://www.openstreetmap.org/?mlat=40.7784&mlon=-73.9627#map=15/40.7784/-73.9627",
"geo": {
"@type": "GeoCoordinates",
"latitude": 40.7784,
"longitude": -73.9627
},
"description": null,
"telephone": "+1 (212) 472-2764",
"url": "http://www.metmuseum.org",
"openingHours": null,
"photo": {
"@type": "ImageObject",
"contentUrl": "http://127.0.0.1:8888/fSunhLAJFSmnx55GNJee2-YKcgE=/1000x1000/museums/logos/000/149/449/original/NYC_-_Metropolitan_-_Temple_of_Dendur.JPG",
"creator": "Jean-Christophe BENOIST",
"license": "CC BY 3.0"
}
}
schema.org Place model 没有“许可证”字段。将许可证类型字段添加到记录的正确方法是什么?如果可能的话,基本上我想在其中嵌入一个CreativeWork 字段。
【问题讨论】:
标签: schema.org json-ld