spdx_tools.spdx.jsonschema.external_document_ref_properties

 1# SPDX-FileCopyrightText: 2022 spdx contributors
 2#
 3# SPDX-License-Identifier: Apache-2.0
 4from enum import auto
 5
 6from spdx_tools.spdx.jsonschema.json_property import JsonProperty
 7
 8
 9class ExternalDocumentRefProperty(JsonProperty):
10    EXTERNAL_DOCUMENT_ID = auto()
11    SPDX_DOCUMENT = auto()
12    CHECKSUM = auto()
class ExternalDocumentRefProperty(spdx_tools.spdx.jsonschema.json_property.JsonProperty):
10class ExternalDocumentRefProperty(JsonProperty):
11    EXTERNAL_DOCUMENT_ID = auto()
12    SPDX_DOCUMENT = auto()
13    CHECKSUM = auto()

Parent class for all json property classes. Not meant to be instantiated directly, only to have a common parent type that can be used in type hints. In general, all the child enums list the properties of the corresponding objects from the json schema.