Skip to content

Remove Donor, Specimen, and Samples from Base Schema and Allow in Dynamic Schemas - #870

Merged
Azher2Ali merged 1 commit into
feat/refactor-analyis-data-modelfrom
refactor/remove-donor-specimen-sample-from-base-schema
Oct 31, 2024
Merged

Azher2Ali merged 1 commit into
feat/refactor-analyis-data-modelfrom
refactor/remove-donor-specimen-sample-from-base-schema

Conversation

@Azher2Ali

Copy link
Copy Markdown
Contributor

Summary:

This PR updates the JSON schemas to remove Donor, Specimen, and Samples from the base analysis schema, allowing these fields to be added dynamically in analysis-type specific schemas.

Details:
baseSchema.json:

  • Removed the samples property.

  • Removed definitions for sample, specimen, and donor.

analysisTypeRegistration.json:

  • Removed the samples property from the list of disallowed properties, allowing dynamic schemas to include these fields as needed.

These changes simplify the base schema and enable more flexible handling of analysis types that may or may not require donor/specimen/sample information #865

@Azher2Ali
Azher2Ali merged commit 161d8d0 into feat/refactor-analyis-data-model Oct 31, 2024
@Azher2Ali
Azher2Ali deleted the refactor/remove-donor-specimen-sample-from-base-schema branch October 31, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants