license - speced/respec GitHub Wiki
license
Type: string
Default: "w3c-software-doc"
The copyright license for the document.
Basic usage
var respecConfig = {
// w3c-software-doc is already the default for W3C documents
};
var respecConfig = {
license: "cc0",
};
Valid values
| Value | License | Notes |
|---|---|---|
"w3c-software-doc" |
W3C Software and Document License | Default for W3C documents. Recommended. |
"w3c-software" |
W3C Software License | Permissive, GPL-compatible, attribution required. |
"cc0" |
CC0 | Maximally permissive. Recommended for WHATWG documents. Not supported for W3C. |
"cc-by" |
CC-BY | Experimentally available in some groups. Uses dual licensing. |
"document" |
W3C Document License | ⚠️ Not recommended. Use "w3c-software-doc" instead. |
"dual" |
W3C Dual License | ⚠️ Not recommended. Use "w3c-software-doc" instead. |
Notes
- For most W3C specifications, the default is correct — no need to set
licenseexplicitly cc0is intended for documents heading to the WHATWG; W3C does not support it