Licenses#
Schema.org License#
-
URL
CreativeWork
License as URL#
{ "@context": "https://schema.org/", "license": "https://creativecommons.org/licenses/by/4.0/" }
License as CreativeWork#
{ "@context": "https://schema.org/", "license": { "@type": "CreativeWork", "name": "Creative Commons Attribution 4.0", "url": "https://creativecommons.org/licenses/by/4.0/" } }
License as SPDX URL#
Use a simple URL
SPDX creates URLs for many licenses including those that don’t have URLs
From a source that harvesters can rely on (e.g. use URL to lookup more information about the license)
{ "@context": "https://schema.org/", "license": "https://spdx.org/licenses/CC-BY-4.0" }
OR, include both the SPDX and the Creative Commons URLs in an array:
{ "@context": "https://schema.org/", "license": ["https://spdx.org/licenses/CC-BY-4.0", "https://creativecommons.org/licenses/by/4.0/"] }