spdx_tools.spdx.jsonschema.annotation_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 AnnotationProperty(JsonProperty): 10 ANNOTATION_DATE = auto() 11 ANNOTATION_TYPE = auto() 12 ANNOTATOR = auto() 13 COMMENT = auto()
10class AnnotationProperty(JsonProperty): 11 ANNOTATION_DATE = auto() 12 ANNOTATION_TYPE = auto() 13 ANNOTATOR = auto() 14 COMMENT = 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.
ANNOTATION_DATE =
<AnnotationProperty.ANNOTATION_DATE: 1>
ANNOTATION_TYPE =
<AnnotationProperty.ANNOTATION_TYPE: 2>
ANNOTATOR =
<AnnotationProperty.ANNOTATOR: 3>
COMMENT =
<AnnotationProperty.COMMENT: 4>
Inherited Members
- enum.Enum
- name
- value