You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/schema/provenance_schema.yaml
+25-1Lines changed: 25 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
# - type: data type of the property, one of the following: string|integer|boolean|list|json_string
4
4
# - generated: whether the property is auto generated (either with a `before_create_trigger` or not) or user provided, default to false
5
5
# - required_on_create: whether the property is required from user reqeust JSON for entity creation via POST
6
-
# - immutable: whether the property can NOT be updated once being created, default to false
6
+
# - immutable: true indicates the property can NOT be updated after the entity is created, default to false
7
7
# - transient: whether the property to persist in database or not, default to false
8
8
# - exposed: whether the property gets returned to the user or not, default to true
9
9
# - trigger types: before_create_trigger|after_create_trigger|before_update_trigger|after_update_trigger|on_read_trigger, one property can have none (default) or more than one triggers
@@ -457,6 +457,28 @@ ENTITIES:
457
457
immutable: true
458
458
description: "The list of the uuids of next revision datasets"
459
459
on_read_trigger: get_next_revision_uuids
460
+
superseded_associated_processed_component_uuids:
461
+
type: list
462
+
# This property gets set via a PUT by entity-api /entities/{{dataset_uuid}} to point to the Multi-Assay Dataset
463
+
# superseding the entity with this attribute, so we can't define it as `immutable: true`.
464
+
# Modifications to an existing attribute are rejected using a validation trigger.
465
+
immutable: false
466
+
description: "List of uuids of existing Datasets used to construct this Multi-Assay Dataset, when present"
467
+
before_property_create_validators:
468
+
- verify_multi_assay_dataset_components
469
+
before_property_update_validators:
470
+
- verify_multi_assay_dataset_components
471
+
new_associated_multi_assay_uuid:
472
+
type: string
473
+
# This property gets set via a PUT by entity-api /entities/{{dataset_uuid}} to point to the Multi-Assay Dataset
474
+
# superseding the entity with this attribute, so we can't define it as `immutable: true`.
475
+
# Modifications to an existing attribute are rejected using a validation trigger.
476
+
immutable: false
477
+
description: "The uuid of the Multi-Assay Dataset constructed using this Dataset, when present"
478
+
before_property_create_validators:
479
+
- verify_multi_assay_dataset_components
480
+
before_property_update_validators:
481
+
- verify_multi_assay_dataset_components
460
482
# No like image and metadata files handling for Donor/Sample
0 commit comments