spdx_tools.spdx.jsonschema.extracted_licensing_info_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 ExtractedLicensingInfoProperty(JsonProperty):
10    COMMENT = auto()
11    EXTRACTED_TEXT = auto()
12    LICENSE_ID = auto()
13    NAME = auto()
14    SEE_ALSOS = auto()
class ExtractedLicensingInfoProperty(spdx_tools.spdx.jsonschema.json_property.JsonProperty):
10class ExtractedLicensingInfoProperty(JsonProperty):
11    COMMENT = auto()
12    EXTRACTED_TEXT = auto()
13    LICENSE_ID = auto()
14    NAME = auto()
15    SEE_ALSOS = 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.