Skip to content

Commit f05802d

Browse files
committed
Remove SPDX keys
The specification explicitly does not define the semantics of other keys, so we shouldn't define them here. Especially with autocomplete, and also by adding type restrictions, including these keys might give the impression that they are semantically significant somehow.
1 parent 757779a commit f05802d

File tree

1 file changed

+0
-280
lines changed

1 file changed

+0
-280
lines changed

site/static/reuse-toml-v1.schema.json

Lines changed: 0 additions & 280 deletions
Original file line numberDiff line numberDiff line change
@@ -14,173 +14,6 @@
1414
"exclusiveMinimum": 0,
1515
"examples": [1]
1616
},
17-
"SPDX-PackageName": {
18-
"description": "SPDX package name",
19-
"type": "string"
20-
},
21-
"SPDX-PackageVersion": {
22-
"description": "SPDX package version",
23-
"type": "string"
24-
},
25-
"SPDX-PackageFileName": {
26-
"description": "SPDX package file name",
27-
"type": "string"
28-
},
29-
"SPDX-PackageSupplier": {
30-
"description": "SPDX package supplier",
31-
"type": "string"
32-
},
33-
"SPDX-PackageOriginator": {
34-
"description": "SPDX package originator",
35-
"type": "string"
36-
},
37-
"SPDX-PackageDownloadLocation": {
38-
"description": "SPDX package download location",
39-
"type": "string"
40-
},
41-
"SPDX-FilesAnalyzed": {
42-
"description": "SPDX files analyzed",
43-
"type": "boolean"
44-
},
45-
"SPDX-PackageVerificationCode": {
46-
"description": "SPDX package verification code",
47-
"type": "string"
48-
},
49-
"SPDX-PackageChecksum": {
50-
"description": "SPDX package checksum(s)",
51-
"oneOf": [
52-
{
53-
"type": "string"
54-
},
55-
{
56-
"type": "array",
57-
"items": {
58-
"type": "string"
59-
}
60-
}
61-
]
62-
},
63-
"SPDX-PackageHomePage": {
64-
"description": "SPDX package home page",
65-
"type": "string"
66-
},
67-
"SPDX-PackageSourceInfo": {
68-
"description": "SPDX source information",
69-
"type": "string"
70-
},
71-
"SPDX-PackageLicenseConcluded": {
72-
"description": "SPDX concluded license",
73-
"type": "string"
74-
},
75-
"SPDX-PackageLicenseInfoFromFiles": {
76-
"description": "SPDX all licenses information from files",
77-
"oneOf": [
78-
{
79-
"type": "string"
80-
},
81-
{
82-
"type": "array",
83-
"items": {
84-
"type": "string"
85-
}
86-
}
87-
]
88-
},
89-
"SPDX-PackageLicenseDeclared": {
90-
"description": "SPDX declared license",
91-
"type": "string"
92-
},
93-
"SPDX-PackageLicenseComments": {
94-
"description": "SPDX comments on license",
95-
"type": "string"
96-
},
97-
"SPDX-PackageCopyrightText": {
98-
"description": "SPDX copyright text",
99-
"type": "string"
100-
},
101-
"SPDX-PackageSummary": {
102-
"description": "SPDX package summary description",
103-
"type": "string"
104-
},
105-
"SPDX-PackageDescription": {
106-
"description": "SPDX package detailed description",
107-
"type": "string"
108-
},
109-
"SPDX-PackageComment": {
110-
"description": "SPDX package comment",
111-
"type": "string"
112-
},
113-
"SPDX-ExternalRef": {
114-
"decription": "SPDX external reference",
115-
"oneOf": [
116-
{
117-
"type": "string"
118-
},
119-
{
120-
"type": "array",
121-
"items": {
122-
"type": "string"
123-
}
124-
}
125-
]
126-
},
127-
"SPDX-ExternalRefComment": {
128-
"description": "SPDX external reference comment",
129-
"oneOf": [
130-
{
131-
"type": "string"
132-
},
133-
{
134-
"type": "array",
135-
"items": {
136-
"type": "string"
137-
}
138-
}
139-
]
140-
},
141-
"SPDX-PackageAttributionText": {
142-
"description": "SPDX package attribution text",
143-
"oneOf": [
144-
{
145-
"type": "string"
146-
},
147-
{
148-
"type": "array",
149-
"items": {
150-
"type": "string"
151-
}
152-
}
153-
]
154-
},
155-
"SPDX-PrimaryPackagePurpose": {
156-
"description": "SPDX primary package purpose",
157-
"enum": [
158-
"APPLICATION",
159-
"FRAMEWORK",
160-
"LIBRARY",
161-
"CONTAINER",
162-
"OPERATING-SYSTEM",
163-
"DEVICE",
164-
"FIRMWARE",
165-
"SOURCE",
166-
"ARCHIVE",
167-
"FILE",
168-
"INSTALL",
169-
"OTHER"
170-
]
171-
},
172-
"SPDX-ReleaseDate": {
173-
"description": "SPDX release date",
174-
"type": "string"
175-
},
176-
"SPDX-BuiltDate": {
177-
"description": "SPDX built date",
178-
"type": "string"
179-
},
180-
"SPDX-ValidUntilDate": {
181-
"description": "SPDX valid until date",
182-
"type": "string"
183-
},
18417
"annotations": {
18518
"description": "Annotation object array",
18619
"type": "array",
@@ -246,122 +79,9 @@
24679
}
24780
],
24881
"examples": ["GPL-3.0-or-later", "GPL-3.0-or-later OR Apache-2.0"]
249-
},
250-
"SPDXID": {
251-
"description": "SPDX file identifier",
252-
"type": "string"
253-
},
254-
"SPDX-FileType": {
255-
"description": "SPDX file type",
256-
"oneOf": [
257-
{
258-
"$ref": "#/$defs/SPDX-FileType"
259-
},
260-
{
261-
"type": "array",
262-
"items": {
263-
"$ref": "#/$defs/SPDX-FileType"
264-
}
265-
}
266-
]
267-
},
268-
"SPDX-FileChecksum": {
269-
"description": "SPDX file checksum",
270-
"type": "string"
271-
},
272-
"SPDX-LicenseConcluded": {
273-
"description": "SPDX license concluded",
274-
"type": "string"
275-
},
276-
"SPDX-LicenseInfoInFile": {
277-
"description": "SPDX license information in file",
278-
"oneOf": [
279-
{
280-
"type": "string"
281-
},
282-
{
283-
"type": "array",
284-
"items": {
285-
"type": "string"
286-
}
287-
}
288-
]
289-
},
290-
"SPDX-LicenseComments": {
291-
"description": "SPDX comments on license",
292-
"type": "string"
293-
},
294-
"SPDX-ArtifactOfProjectName": {
295-
"description": "SPDX artifact of project name",
296-
"type": "string"
297-
},
298-
"SPDX-ArtifactOfProjectHomePage": {
299-
"description": "SPDX artifact of project homepage",
300-
"type": "string"
301-
},
302-
"SPDX-ArtifactOfProjectURI": {
303-
"description": "SPDX artifact of project uniform resource identifier",
304-
"type": "string"
305-
},
306-
"SPDX-FileComment": {
307-
"description": "SPDX file comment",
308-
"type": "string"
309-
},
310-
"SPDX-FileNotice": {
311-
"description": "SPDX file notice",
312-
"type": "string"
313-
},
314-
"SPDX-FileContributor": {
315-
"description": "SPDX file contributor(s)",
316-
"oneOf": [
317-
{
318-
"type": "string"
319-
},
320-
{
321-
"type": "array",
322-
"items": {
323-
"type": "string"
324-
}
325-
}
326-
]
327-
},
328-
"SPDX-FileAttributionText": {
329-
"description": "SPDX file attribution text",
330-
"type": "string"
331-
},
332-
"SPDX-FileDependency": {
333-
"description": "SPDX file dependencies",
334-
"oneOf": [
335-
{
336-
"type": "string"
337-
},
338-
{
339-
"type": "array",
340-
"items": {
341-
"type": "string"
342-
}
343-
}
344-
]
34582
}
34683
}
34784
}
34885
}
349-
},
350-
"$defs": {
351-
"SPDX-FileType": {
352-
"enum": [
353-
"SOURCE",
354-
"BINARY",
355-
"ARCHIVE",
356-
"APPLICATION",
357-
"AUDIO",
358-
"IMAGE",
359-
"TEXT",
360-
"VIDEO",
361-
"DOCUMENTATION",
362-
"SPDX",
363-
"OTHER"
364-
]
365-
}
36686
}
36787
}

0 commit comments

Comments
 (0)