diff --git a/schemas/spdx-schema.json b/schemas/spdx-schema.json index 47b7d3cc86..403d202464 100644 --- a/schemas/spdx-schema.json +++ b/schemas/spdx-schema.json @@ -1,5 +1,5 @@ { - "$schema" : "http://json-schema.org/draft-07/schema#", + "$schema" : "https://json-schema.org/draft/2019-09/schema#", "$id" : "http://spdx.org/rdf/terms/2.3", "title" : "SPDX 2.3", "type" : "object", @@ -187,6 +187,7 @@ }, "revieweds" : { "description" : "Reviewed", + "deprecated": true, "type" : "array", "items" : { "type" : "object", @@ -217,7 +218,9 @@ "description" : "The URI provides an unambiguous mechanism for other SPDX documents to reference SPDX elements within this SPDX document." }, "documentDescribes" : { - "description" : "Packages, files and/or Snippets described by this SPDX document", + "description" : "DEPRECATED: use relationships instead of this field. Packages, files and/or Snippets described by this SPDX document", + "deprecated": true, + "$comment": "This field has been deprecated as it is a duplicate of using the SPDXRef-DOCUMENT DESCRIBES relationship", "type" : "array", "items" : { "type" : "string", @@ -343,7 +346,9 @@ "type" : "boolean" }, "hasFiles" : { - "description" : "Indicates that a particular file belongs to a package.", + "description" : "DEPRECATED: use relationships instead of this field. Indicates that a particular file belongs to a package.", + "deprecated": true, + "$comment": "This field has been deprecated as it is a duplicate of using CONTAINS relationships from a package to files", "type" : "array", "items" : { "description" : "SPDX ID for File. Indicates that a particular file belongs to a package.", @@ -531,6 +536,7 @@ }, "fileDependencies" : { "description" : "This field is deprecated since SPDX 2.0 in favor of using Section 7 which provides more granularity about relationships.", + "deprecated": true, "type" : "array", "items" : { "description" : "SPDX ID for File. This field is deprecated since SPDX 2.0 in favor of using Section 7 which provides more granularity about relationships.", @@ -737,4 +743,4 @@ }, "required" : [ "SPDXID", "creationInfo", "dataLicense", "name", "spdxVersion", "documentNamespace" ], "additionalProperties" : false -} \ No newline at end of file +}