3.3.4 Record: Version

Topic Version1Published10/31/2016
For StandardETP v1.1

Used to identify a unique version of an ETP schema or protocol. The semantics of the individual fields of the record follow those that are generally defined for all Energistics data standards.

Avro Schema

{

      "type": "record",

      "namespace": "Energistics.Datatypes",

      "name": "Version",

      "fields":

     [

         { "name": "major", "type": "int" },

         { "name": "minor", "type": "int" },

         { "name": "revision", "type": "int" },

         { "name": "patch", "type": "int" }

     ]

}

Attribute

Description

Data Type

Min

Max

major

Involves significant change to all schemas, protocols, and business rules of a specification.

int

1

1

minor

Includes significant changes to schemas, most probably with breaking changes. The overall protocols and approach should not change significantly.

int

1

1

revision

May contain additions to existing schemas, but does not remove any schema elements. Enumerated types may also change.

int

1

1

patch

Involves minor changes only, usually bug fixes, and should not create breaking changes for other clients and servers on the same version.

int

1

1