https://github.com/schemaorg/schemaorg
Tip revision: 956ad2813c137ef59cf2376e47c2ab7ec614d0f8 authored by Dataliberate on 21 January 2020, 19:48:13 UTC
Revert "Tweaked tests and added new ones to cope withe enumeration and enumerationvalue rationalisation"
Revert "Tweaked tests and added new ones to cope withe enumeration and enumerationvalue rationalisation"
Tip revision: 956ad28
sdo-digital-document-examples.txt
TYPES: #digitaldocument-1 DigitalDocument,ReadPermission,WritePermission
PRE-MARKUP:
A digital document everyone can read, but only one person can edit.
MICRODATA:
TODO.
RDFA:
TODO.
JSON:
<script type="application/ld+json">
{
"@type": "DigitalDocument",
"name": "New schema.org types proposal",
"author": "Alice",
"hasDigitalDocumentPermission": [
{
"@type": "DigitalDocumentPermissionType",
"permissionType": "http://schema.org/WritePermission",
"grantee": {
"@type": "Person",
"email": "alice@example.com"
}
},
{
"@type": "DigitalDocumentPermissionType",
"permissionType": "http://schema.org/ReadPermission",
"grantee": {
"@type": "Audience",
"audienceType": "public"
}
}
]
}
</script>