Skip to content

Commit 045c419

Browse files
sblivennitrosxdespadam
authored
feat: add datasetlifecycle.storageLocation property (#1843)
Add storageLocation property Co-authored-by: Max Novelli <[email protected]> Co-authored-by: Despina Adamopoulou <[email protected]>
1 parent 25617fb commit 045c419

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/datasets/schemas/lifecycle.schema.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,15 @@ export class LifecycleClass {
159159
})
160160
@Prop({ type: Boolean, default: false, required: false })
161161
retrieveIntegrityCheck?: boolean;
162+
163+
@ApiProperty({
164+
type: String,
165+
required: false,
166+
description:
167+
"Location of the data on the archive system. Allowed values are facility-specific and may be validated when submitting scicat jobs relating to this dataset. Facilities with a single storage location can leave this field empty.",
168+
})
169+
@Prop({ type: String, required: false })
170+
storageLocation?: string;
162171
}
163172

164173
export const LifecycleSchema = SchemaFactory.createForClass(LifecycleClass);

0 commit comments

Comments
 (0)