Skip to content

Make Drug and DietarySupplement inherit from Product.#3094

Merged
RichardWallis merged 1 commit intoschemaorg:mainfrom
MatthiasWiesmann:b_3069_drug_product
Oct 6, 2022
Merged

Make Drug and DietarySupplement inherit from Product.#3094
RichardWallis merged 1 commit intoschemaorg:mainfrom
MatthiasWiesmann:b_3069_drug_product

Conversation

@MatthiasWiesmann
Copy link
Contributor

See Bug #3069
Both Drug and DietarySupplement are products, in fact DietarySupplement is described as such: A product taken by mouth that contains a dietary ingredient intended to supplement the diet.

Remove the manufacturer field definition, as it is not needed anymore, that property is inherited from Product.
This also means that both DietarySupplement and Drug inherit relevant fields like gtin, countryOfOrigin or offer.

This makes them inherit the `manufacturer` field, as well as other
relevant fields like `gtin` and `countryOfOrigin`.
@github-actions
Copy link

This pull request is being nudged due to inactivity.

@github-actions github-actions bot added the no-pr-activity Discuss has gone quiet. Auto-tagging to encourage people to re-engage with the issue (or close it!). label Jul 19, 2022
@MatthiasWiesmann
Copy link
Contributor Author

Gentle Ping.

@RichardWallis RichardWallis merged commit e515111 into schemaorg:main Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-pr-activity Discuss has gone quiet. Auto-tagging to encourage people to re-engage with the issue (or close it!).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants