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

Inheritance changes - icarEventCoreResource, icarIdentifierType #24

Merged
merged 12 commits into from
Jun 21, 2019
Merged

Inheritance changes - icarEventCoreResource, icarIdentifierType #24

merged 12 commits into from
Jun 21, 2019

Conversation

cookeac
Copy link
Collaborator

@cookeac cookeac commented Jun 20, 2019

Created icarIdentifierType (with scheme and id), and made icarAnimalIdentifierType inherit from it.
Added icarLocationIdentifierType as well.
Created icarEventCoreResource, and made icarMilkingVisitResource inherit from it.

I've run these through a JSON Schema Lint tool (https://jsonschemalint.com/#/version/draft-07/markup/json) which changed formatting slightly, sorry.

Modelling the event core as a base class so that specific event instances can incorporate these fields by reference using "allOf".
Merge from head to branch
I'm thinking that rather than have an icarAnimalIdentifierType and icarLocationIdentifierType and icarHerdIdentifierType and icarMilkVatIdentifierType and ... maybe we should just have icarIdentifierType as all these will now have a scheme and identity.
Created a generic type for identifiers that comprise and id and scheme. This could replace use of icarAnimalIdentificationType if desired.
Removed - I think this is already removed in the master.
Removed - I think this is already removed in the master.
Corrected typo. Discussed generic vs specific identifiers with Arjan.
@alamers alamers merged commit 39a53db into adewg:master Jun 21, 2019
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