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

Move Activity into gks-common, and update Contribution accordingly #33

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

mbrush
Copy link
Contributor

@mbrush mbrush commented Jul 4, 2024

  • Moved the Activity class from va-spec core-im into gkscommon (because Contribution inherits from this class). Made a couple minor updates to property descriptions here.
  • Updated Contribution to reference/extend Activity as needed
    • state its inheritance from Activity
    • define contributor to extend performedBy, so we can give a more precise definition and constrain cardinality to one Agent
    • removed contirbutionMadeTo property - there is no real use case for it, as Contributions are always referenced from the artifacts contributed to, not the other way. And this avoids us needing to move InformationEntity into gks-common.
    • removed date, as this property is now inherited from Activity.
    • changed name of activity -> activityType, to be clear that what goes here is a code representing the type of activity performed in making the contribution. For now, only one type allowed per contribution, but we may want to allow for an array here in the future.

- Moved the Activity class from va-spec core-im into gkscommon (because Contribution inherits from this class). Made a couple minor updates to property descriptions here. 
- Updated Contribution to reference/extend Activity as needed
    - state its inheritance from Activity
    - define `contributor` to extend `performedBy` - so we can give a more precise definition and constrain cardinality to one Agent 
    - removed `contirbutionMadeTo` property - there is no real use case for it, as Contributions are always referenced from the artifacts contributed to, not the other way.
    - removed `date` - as this property is now inherited from Activity.
    - changed name of activity -> activityType`, to be clear that what goes here is a code representing the type of activity performed in making the contribution. For now, only one type allowed per contribution, but we may want to allow for an array here in the future.
@larrybabb larrybabb merged commit af50352 into 1.x Jul 8, 2024
2 checks passed
@larrybabb larrybabb deleted the mbrush-patch-1-Activity-Contribution branch July 8, 2024 01:30
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