diff --git a/dao-api/src/main/pegasus/com/linkedin/metadata/aspect/BaseSemanticVersion.pdl b/dao-api/src/main/pegasus/com/linkedin/metadata/aspect/BaseSemanticVersion.pdl new file mode 100644 index 000000000..d1838cbc9 --- /dev/null +++ b/dao-api/src/main/pegasus/com/linkedin/metadata/aspect/BaseSemanticVersion.pdl @@ -0,0 +1,18 @@ +namespace com.linkedin.metadata.aspect + +record BaseSemanticVersion { + /** + * The major version of this version. This is the x in x.y.z. + */ + major: int + + /** + * The minor version of this version. This is the y in x.y.z + */ + minor: int + + /** + * The patch version of this version. This is the z in x.y.z + */ + patch: int +} diff --git a/dao-api/src/main/pegasus/com/linkedin/metadata/aspect/BaseVersionedAspect.pdl b/dao-api/src/main/pegasus/com/linkedin/metadata/aspect/BaseVersionedAspect.pdl index dda0fe8da..b7b136fe2 100644 --- a/dao-api/src/main/pegasus/com/linkedin/metadata/aspect/BaseVersionedAspect.pdl +++ b/dao-api/src/main/pegasus/com/linkedin/metadata/aspect/BaseVersionedAspect.pdl @@ -9,20 +9,5 @@ record BaseVersionedAspect { /** * The version of the metadata aspect */ - baseSemanticVersion: optional record BaseSemanticVersion { - /** - * The major version of this version. This is the x in x.y.z. - */ - major: int - - /** - * The minor version of this version. This is the y in x.y.z - */ - minor: int - - /** - * The patch version of this version. This is the z in x.y.z - */ - patch: int - } + baseSemanticVersion: optional BaseSemanticVersion }