<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/relicensing-to-cc-by-sa-and-making-it-visible-in-schema-metadata-r4w6hfbmv" -->

---
title: Relicensing to CC BY-SA and making it visible in Schema...
description: You can make a page's copyright license explicit to both humans and machines using Schema.org metadata, not just the HTML rel='license' link. The rel attribute...
canonical: https://daily.dev/posts/relicensing-to-cc-by-sa-and-making-it-visible-in-schema-metadata-r4w6hfbmv
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Relicensing to CC BY-SA and making it visible in Schema metadata | daily.dev
og:description: You can make a page's copyright license explicit to both humans and machines using Schema.org metadata, not just the HTML rel='license' link. The rel attribute...
og:url: https://daily.dev/posts/relicensing-to-cc-by-sa-and-making-it-visible-in-schema-metadata-r4w6hfbmv
og:image: https://api.daily.dev/og/posts/r4W6hfbmv.png
og:image:alt: Relicensing to CC BY-SA and making it visible in Schema metadata
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Relicensing to CC BY-SA and making it visible in Schema metadata

**[Terence Eden](https://daily.dev/sources/shkspr)** · 2 min read · 0 upvotes · 0 comments

## Summary

You can make a page's copyright license explicit to both humans and machines using Schema.org metadata, not just the HTML rel='license' link. The rel attribute only points to a URL that someone has to visit and interpret. A Schema.org example uses itemtype BlogPosting with an author who is also copyrightHolder, an itemprop=license link, and a copyrightNotice image with alt text. This structure also lets you assign different licenses to different parts of the same page. The author's blog is now licensed under CC BY-SA.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://shkspr.mobi/blog/2026/11/relicensing-to-cc-by-sa-and-making-it-visible-in-schema-metadata>

## Questions this post answers

### How do I add Schema.org markup to show a blog post's copyright license?

Wrap the page in itemtype=https://schema.org/Blog with a main element using itemtype=https://schema.org/BlogPosting. Inside, mark the author with itemprop='author copyrightHolder' using schema.org/Person, then add a link with itemprop=license pointing to the license URL, containing an image with itemprop=copyrightNotice and alt text describing the license, such as 'CC BY-SA'.

_Developers adding licensing metadata can compare approaches and examples shared on daily.dev._

### What's the difference between using the HTML rel='license' attribute and Schema.org license metadata?

The rel='license' link attribute only points to a URL where copyright information lives, requiring a person or machine to visit and interpret it. Schema.org metadata, using properties like copyrightHolder, license, and copyrightNotice, makes the license and copyright holder explicit and machine-readable directly on the page, without needing to follow a separate link.

_Those deciding how to document licensing for machines and crawlers can weigh both options via daily.dev._

## Similar posts on daily.dev

- [Schema Markup for Security Content: The Structured Data That Actually Gets Cybersecurity Vendors Cited by AI](https://daily.dev/posts/schema-markup-for-security-content-the-structured-data-that-actually-gets-cybersecurity-vendors-cit-vgdgqzqfm) · Security Boulevard · 0 upvotes · 0 comments
- [Metadata for AI Generated Outputs](https://daily.dev/posts/metadata-for-ai-generated-outputs-jxsqay6nn) · Terence Eden · 2 upvotes · 0 comments
- [My HTML Boilerplate](https://daily.dev/posts/my-html-boilerplate-hwmlvdvzg) · Lobsters · 12 upvotes · 2 comments
- [All AI-generated code should be Open Source](https://daily.dev/posts/all-ai-generated-code-should-be-open-source-jhhpyu8mk) · Hacker News · 121 upvotes · 31 comments

---

Tags: [#html](https://daily.dev/tags/html)

[View this post on daily.dev](https://daily.dev/posts/relicensing-to-cc-by-sa-and-making-it-visible-in-schema-metadata-r4w6hfbmv)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Relicensing to CC BY-SA and making it visible in Schema metadata","url":"https://daily.dev/posts/relicensing-to-cc-by-sa-and-making-it-visible-in-schema-metadata-r4w6hfbmv","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/relicensing-to-cc-by-sa-and-making-it-visible-in-schema-metadata-r4w6hfbmv"},"datePublished":"2026-11-21T12:35:30.740Z","dateModified":"2026-11-21T12:35:54.068Z","description":"You can make a page's copyright license explicit to both humans and machines using Schema.org metadata, not just the HTML rel='license' link. The rel attribute...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/77536cd8b93d59c1c7010e43475c608b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/77536cd8b93d59c1c7010e43475c608b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Terence Eden","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Terence Eden","logo":"https://media.daily.dev/image/upload/s--nhylgPuf--/f_auto,q_auto/v1774964413/logos/shkspr?_a=BAMAMiWQ0","url":"https://daily.dev/sources/shkspr"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/relicensing-to-cc-by-sa-and-making-it-visible-in-schema-metadata-r4w6hfbmv","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"html","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Terence Eden","item":"https://daily.dev/sources/shkspr"},{"@type":"ListItem","position":3,"name":"Relicensing to CC BY-SA and making it visible in Schema metadata"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/relicensing-to-cc-by-sa-and-making-it-visible-in-schema-metadata-r4w6hfbmv#faq","mainEntity":[{"@type":"Question","name":"How do I add Schema.org markup to show a blog post's copyright license?","acceptedAnswer":{"@type":"Answer","text":"Wrap the page in itemtype=https://schema.org/Blog with a main element using itemtype=https://schema.org/BlogPosting. Inside, mark the author with itemprop='author copyrightHolder' using schema.org/Person, then add a link with itemprop=license pointing to the license URL, containing an image with itemprop=copyrightNotice and alt text describing the license, such as 'CC BY-SA'. Developers adding licensing metadata can compare approaches and examples shared on daily.dev."}},{"@type":"Question","name":"What's the difference between using the HTML rel='license' attribute and Schema.org license metadata?","acceptedAnswer":{"@type":"Answer","text":"The rel='license' link attribute only points to a URL where copyright information lives, requiring a person or machine to visit and interpret it. Schema.org metadata, using properties like copyrightHolder, license, and copyrightNotice, makes the license and copyright holder explicit and machine-readable directly on the page, without needing to follow a separate link. Those deciding how to document licensing for machines and crawlers can weigh both options via daily.dev."}}]}
```

