spdx_tools.spdx.jsonschema.external_package_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 ExternalPackageRefProperty(JsonProperty): 10 COMMENT = auto() 11 REFERENCE_CATEGORY = auto() 12 REFERENCE_LOCATOR = auto() 13 REFERENCE_TYPE = auto()
10class ExternalPackageRefProperty(JsonProperty): 11 COMMENT = auto() 12 REFERENCE_CATEGORY = auto() 13 REFERENCE_LOCATOR = auto() 14 REFERENCE_TYPE = 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.
COMMENT =
<ExternalPackageRefProperty.COMMENT: 1>
REFERENCE_CATEGORY =
<ExternalPackageRefProperty.REFERENCE_CATEGORY: 2>
REFERENCE_LOCATOR =
<ExternalPackageRefProperty.REFERENCE_LOCATOR: 3>
REFERENCE_TYPE =
<ExternalPackageRefProperty.REFERENCE_TYPE: 4>
Inherited Members
- enum.Enum
- name
- value