Skip to content

Commit 28ab1d5

Browse files
committed
Merge branch 'main' of https://github.com/hubmapconsortium/entity-api into dev-integrate
2 parents 024ace8 + cb0ed8f commit 28ab1d5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

entity-api-spec.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,12 @@ components:
773773
creation_action:
774774
type: string
775775
description: 'The associated action that represents the creation of that dataset'
776+
intended_dataset_type:
777+
type: string
778+
description: 'The dataset type of the intended datasets that will be uploaded as part of the Upload.'
779+
intended_organ:
780+
type: string
781+
description: 'The organ code representing the organ type that the data contained in the upload will be registered/associated with.'
776782
Upload:
777783
type: object
778784
properties:

src/schema/provenance_schema.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,13 +1244,15 @@ ENTITIES:
12441244
- validate_in_admin_group
12451245
intended_dataset_type:
12461246
type: string
1247+
required_on_create: true
12471248
indexed: true
12481249
description: The dataset type of the intended datasets that will be uploaded as part of the Upload.
12491250
before_property_create_validators:
12501251
- validate_intended_dataset_type
12511252
before_property_update_validators:
12521253
- validate_intended_dataset_type
12531254
intended_organ:
1255+
required_on_create: true
12541256
type: string
12551257
indexed: true
12561258
description: The organ code representing the organ type that the data contained in the upload will be registered/associated with.

0 commit comments

Comments
 (0)