# cyclonedx.schema.schema

## Attributes

`SCHEMA_VERSIONS` |

## Classes

`BaseSchemaVersion` | Base class for schema version views.
`SchemaVersion1Dot7` | Schema version views 1.7
`SchemaVersion1Dot6` | Schema version views 1.6
`SchemaVersion1Dot5` | Schema version views 1.5
`SchemaVersion1Dot4` | Schema version views 1.4
`SchemaVersion1Dot3` | Schema version views 1.3
`SchemaVersion1Dot2` | Schema version views 1.2
`SchemaVersion1Dot1` | Schema version views 1.1
`SchemaVersion1Dot0` | Schema version views 1.0

## Module Contents

class cyclonedx.schema.schema.BaseSchemaVersion

  Bases: `py_serializable.ViewType`, `abc.ABC`

  Base class for schema version views.

  property schema_version_enum: cyclonedx.schema.SchemaVersion
    Abstractmethod:

  get_schema_version() → str

class cyclonedx.schema.schema.SchemaVersion1Dot7

  Bases: `BaseSchemaVersion`

  Schema version views 1.7

  property schema_version_enum: Literal[cyclonedx.schema.SchemaVersion.V1_7]
  get_schema_version() → str

class cyclonedx.schema.schema.SchemaVersion1Dot6

  Bases: `BaseSchemaVersion`

  Schema version views 1.6

  property schema_version_enum: Literal[cyclonedx.schema.SchemaVersion.V1_6]
  get_schema_version() → str

class cyclonedx.schema.schema.SchemaVersion1Dot5

  Bases: `BaseSchemaVersion`

  Schema version views 1.5

  property schema_version_enum: Literal[cyclonedx.schema.SchemaVersion.V1_5]
  get_schema_version() → str

class cyclonedx.schema.schema.SchemaVersion1Dot4

  Bases: `BaseSchemaVersion`

  Schema version views 1.4

  property schema_version_enum: Literal[cyclonedx.schema.SchemaVersion.V1_4]
  get_schema_version() → str

class cyclonedx.schema.schema.SchemaVersion1Dot3

  Bases: `BaseSchemaVersion`

  Schema version views 1.3

  property schema_version_enum: Literal[cyclonedx.schema.SchemaVersion.V1_3]
  get_schema_version() → str

class cyclonedx.schema.schema.SchemaVersion1Dot2

  Bases: `BaseSchemaVersion`

  Schema version views 1.2

  property schema_version_enum: Literal[cyclonedx.schema.SchemaVersion.V1_2]
  get_schema_version() → str

class cyclonedx.schema.schema.SchemaVersion1Dot1

  Bases: `BaseSchemaVersion`

  Schema version views 1.1

  property schema_version_enum: Literal[cyclonedx.schema.SchemaVersion.V1_1]
  get_schema_version() → str

class cyclonedx.schema.schema.SchemaVersion1Dot0

  Bases: `BaseSchemaVersion`

  Schema version views 1.0

  property schema_version_enum: Literal[cyclonedx.schema.SchemaVersion.V1_0]
  get_schema_version() → str

cyclonedx.schema.schema.SCHEMA_VERSIONS: dict[cyclonedx.schema.SchemaVersion, type[BaseSchemaVersion]]