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

Make Drug and DietarySupplement inherit from Product. #3094

Merged
merged 1 commit into from
Oct 6, 2022
Merged

Make Drug and DietarySupplement inherit from Product. #3094

merged 1 commit into from
Oct 6, 2022

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.

2 participants