From 5e180ae7551761f149e2b025c3d3c10ba397a58e Mon Sep 17 00:00:00 2001 From: Alexander Mattoni <5110855+mattoni@users.noreply.github.com> Date: Wed, 28 Jan 2026 12:22:49 +0000 Subject: [PATCH 1/2] Add the 'removed' property to VM volumes --- components/schemas/containers/summaries/VolumeSummary.yml | 2 +- components/schemas/vms/VirtualMachineVolume.yml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/components/schemas/containers/summaries/VolumeSummary.yml b/components/schemas/containers/summaries/VolumeSummary.yml index e8c7c941..2902c924 100644 --- a/components/schemas/containers/summaries/VolumeSummary.yml +++ b/components/schemas/containers/summaries/VolumeSummary.yml @@ -22,7 +22,7 @@ properties: $ref: ../../ID.yml - type: "null" removed: - description: The time stamp of the volume's removal, if applicable. + description: The timestamp of the volume's removal, if applicable. oneOf: - $ref: ../../DateTime.yml - type: "null" diff --git a/components/schemas/vms/VirtualMachineVolume.yml b/components/schemas/vms/VirtualMachineVolume.yml index 482a8b1e..5a82aa0f 100644 --- a/components/schemas/vms/VirtualMachineVolume.yml +++ b/components/schemas/vms/VirtualMachineVolume.yml @@ -14,4 +14,9 @@ properties: required: - id - hash - - config \ No newline at end of file + - config +removed: + description: The timestamp of the volume's removal, if applicable. + oneOf: + - $ref: ../DateTime.yml + - type: "null" \ No newline at end of file From f126537ea909de64f877a4c8d2b9953757b090a0 Mon Sep 17 00:00:00 2001 From: Alexander Mattoni <5110855+mattoni@users.noreply.github.com> Date: Wed, 28 Jan 2026 12:25:22 +0000 Subject: [PATCH 2/2] fix removed location --- components/schemas/vms/VirtualMachineVolume.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/schemas/vms/VirtualMachineVolume.yml b/components/schemas/vms/VirtualMachineVolume.yml index 5a82aa0f..c83941f2 100644 --- a/components/schemas/vms/VirtualMachineVolume.yml +++ b/components/schemas/vms/VirtualMachineVolume.yml @@ -11,12 +11,12 @@ properties: config: $ref: ./config/volumes/VirtualMachineVolumeConfig.yml description: The configuration details for the virtual machine's volume. + removed: + description: The timestamp of the volume's removal, if applicable. + oneOf: + - $ref: ../DateTime.yml + - type: "null" required: - id - hash - config -removed: - description: The timestamp of the volume's removal, if applicable. - oneOf: - - $ref: ../DateTime.yml - - type: "null" \ No newline at end of file