diff --git a/components/schemas/infrastructure/external-volumes/ExternalVolumeEvents.yml b/components/schemas/infrastructure/external-volumes/ExternalVolumeEvents.yml index 4195b42c..57de18fe 100644 --- a/components/schemas/infrastructure/external-volumes/ExternalVolumeEvents.yml +++ b/components/schemas/infrastructure/external-volumes/ExternalVolumeEvents.yml @@ -15,6 +15,10 @@ properties: deleted: description: The timestamp of when the attached volume was deleted. $ref: "../../DateTime.yml" + last_verified: + $ref: "../../DateTime.yml" + description: > + Timestamp of the last successful verification event for this volume. last_sync: $ref: "../../DateTime.yml" description: > diff --git a/stackspec/schema/StackSpecContainerVolume.yml b/stackspec/schema/StackSpecContainerVolume.yml index adf0ce36..465318ed 100644 --- a/stackspec/schema/StackSpecContainerVolume.yml +++ b/stackspec/schema/StackSpecContainerVolume.yml @@ -28,21 +28,13 @@ properties: external: anyOf: - type: object - required: - - mode properties: id: oneOf: - - $ref: ../../components/schemas/ID.yml + - $ref: ../../components/schemas/HybridIdentifier.yml - $ref: StackVariable.yml - type: "null" description: The ID of the external volume. - mode: - oneOf: - - type: string - description: The attachment mode for the external volume. - enum: [instance, host] - - $ref: StackVariable.yml - $ref: StackVariable.yml - type: "null" destination: