spdx_tools.spdx.jsonschema.relationship_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 RelationshipProperty(JsonProperty): 10 SPDX_ELEMENT_ID = auto() 11 COMMENT = auto() 12 RELATED_SPDX_ELEMENT = auto() 13 RELATIONSHIP_TYPE = auto()
10class RelationshipProperty(JsonProperty): 11 SPDX_ELEMENT_ID = auto() 12 COMMENT = auto() 13 RELATED_SPDX_ELEMENT = auto() 14 RELATIONSHIP_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.
SPDX_ELEMENT_ID =
<RelationshipProperty.SPDX_ELEMENT_ID: 1>
COMMENT =
<RelationshipProperty.COMMENT: 2>
RELATED_SPDX_ELEMENT =
<RelationshipProperty.RELATED_SPDX_ELEMENT: 3>
RELATIONSHIP_TYPE =
<RelationshipProperty.RELATIONSHIP_TYPE: 4>
Inherited Members
- enum.Enum
- name
- value