Skip to content

Commit e5286a0

Browse files
authored
Merge pull request #1864 from BassCoder2808/main
Clean up isDeprecated values
2 parents 7f5bb57 + 82cad8a commit e5286a0

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

DOCS/xml-fields.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ There are two additional attributes which are optional, but highly encouraged:
5252
* `listVersionAdded`: in which release version of the SPDX License List was the license first added, e.g. "3.19".
5353
* Typically you'll check the currently-released version at https://spdx.org/licenses/ and increment the minor version by 1 for a new license.
5454

55-
Finally, if the license ID has been deprecated, two additional attributes should be included:
56-
* `isDeprecated`: should be "true" if the license ID is deprecated
55+
Finally, if the license ID has been deprecated, one additional attribute should be included:
5756
* `deprecatedVersion`: in which release version of the SPDX License List was the license first marked as deprecated, e.g. "3.19"
5857

5958
Note that the deprecated tags refer to whether the ID has been deprecated _by SPDX_ -- in other words, if the SPDX Legal Team no longer recommends that the identifier should be used. Licenses that have been described as "deprecated" or "superseded" by the _license author_ might no longer be recommended to use for new code, but their identifiers remain valid License IDs on the SPDX License List.

schema/ListedLicense.xsd

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
<element name="text" type="tns:formattedAltTextType" minOccurs="0" maxOccurs="1"/>
4949
</all>
5050
<attribute name="licenseId" type="string" use="required" />
51-
<attribute name="isDeprecated" type="boolean"/>
5251
<attribute name="name" type="string" use="required" />
5352
<attribute name="listVersionAdded" type="string"/>
5453
<attribute name="deprecatedVersion" type="string"/>
@@ -110,15 +109,6 @@
110109
</documentation>
111110
</annotation>
112111
</attribute>
113-
<attribute name="isDeprecated" type="boolean">
114-
<annotation>
115-
<documentation xml:lang="en">
116-
<xhtml:p>
117-
<xhtml:code>isDeprecated</xhtml:code> is true if and only if the short identifier has been superseded by another. See the <xhtml:code>deprecatedVersion</xhtml:code> documentation for more details.
118-
</xhtml:p>
119-
</documentation>
120-
</annotation>
121-
</attribute>
122112
<attribute name="name" type="string" use="required">
123113
<annotation>
124114
<documentation xml:lang="en">

0 commit comments

Comments
 (0)