Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derek furst/reorganize metadata #764

Merged
merged 5 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions entity-api-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,16 @@ components:
description: "The email address of the user who published the provided by the authorization mechanism for the person or process authenticated when published."
ingest_metadata:
type: object
description: "The metadata returned from the ingest pipeline processing at data submission time. Provided as json."
description: "Information associated with running the ingest and processing pipelines."
metadata:
type: object
description: "Metadata associated with the ingested experimental data."
files:
type: array
description: "A list of files associated with the dataset."
calculated_metadata:
type: object
description: "Calculated metadata outputted from the processing pipeline."
local_directory_rel_path:
type: string
readOnly: true
Expand Down Expand Up @@ -1114,7 +1123,16 @@ components:
description: "The email address of the user who published the provided by the authorization mechanism for the person or process authenticated when published."
ingest_metadata:
type: object
description: "The metadata returned from the ingest pipeline processing at data submission time. Provided as json."
description: "Information associated with running the ingest and processing pipelines."
metadata:
type: object
description: "Metadata associated with the ingested experimental data."
files:
type: array
description: "A list of files associated with the dataset."
calculated_metadata:
type: object
description: "Calculated metadata outputted from the processing pipeline."
local_directory_rel_path:
type: string
readOnly: true
Expand Down
31 changes: 27 additions & 4 deletions src/schema/provenance_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,8 @@ ENTITIES:
# Dataset can be either derivation source or target
excluded_properties_from_public_response:
- lab_dataset_id
- ingest_metadata:
metadata:
- lab_id
- metadata:
- lab_id
derivation:
source: true
target: true
Expand Down Expand Up @@ -465,7 +464,31 @@ ENTITIES:
ingest_metadata:
type: json_string # dict
indexed: true
description: "The metadata returned from the processing at data submission time."
description: "Information associated with running the ingest and processing pipelines."
metadata:
type: json_string
indexed: true
description: "Metadata associated with the ingested experimental data."
before_property_create_validators:
- validate_application_header_before_property_update
before_property_update_validators:
- validate_application_header_before_property_update
files:
type: list
indexed: true
before_property_create_validators:
- validate_application_header_before_property_update
before_property_update_validators:
- validate_application_header_before_property_update
description: "A list of files associated with the dataset."
calculated_metadata:
type: json_string
indexed: true
before_property_create_validators:
- validate_application_header_before_property_update
before_property_update_validators:
- validate_application_header_before_property_update
description: "Calculated metadata outputted from the processing pipeline."
local_directory_rel_path:
# Example: protected/<TMC>/<uuid>
type: string
Expand Down
Loading