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

Feature 266 add resource type #279

Merged
merged 5 commits into from
Feb 21, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 90
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 30
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
- next-major-release
- next-minor-release
# Label to use when marking an issue as stale
staleLabel: stale-issue
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
4 changes: 4 additions & 0 deletions resources/icarResource.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
},

"properties": {
"resourceType" : {
"type": "string",
"description": "Uniform resource identifier (URI) or shortname of the logical resourceType. The ResourceType catalog defines the set of allowed resourceTyps."
},
"@self": {
"type": "string",
"description": "Uniform resource identifier (URI) of the resource (rel=self)."
Expand Down
58 changes: 58 additions & 0 deletions resources/resourceTypeCatalog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# ICAR Resource Type Catalog

This document defines a set of URI identifiers and string short codes and maps them to ICAR resource types.

The catalog is represented as a table with the columns, shortname, URI, link to resource resource type in github.

To help with readability and conciseness the URIs are represnted as CURIs (concise URIs) where the prefix is:

`icar`

and the expansion is:

`http://data.adewg.icar.org/core/`


Short Name | URI | JSON Resource Type Definition
--- | --- | ---
Animal | icar:Animal | icarAnimalCoreResource.json
AnimalSetJoinEvent | icar:AnimalSetJoinEvent | icarAnimalSetJoinEventResource.json
AnimalSetLeaveEvent | icar:AnimalSetLeaveEvent | icarAnimalSetLeaveEventResource.json
AnimalSet | icar:AnimalSet | icarAnimalSetResource.json
BreedingValue | icar:BreedingValue | icarBreedingValueResource.json
ConformationScoreEvent | icar:ConformationScoreEvent | icarConformationScoreEventResource.json
DailyMilkingAverages | icar:DailyMilkingAverages | icarDailyMilkingAveragesResource.json
Device | icar:Device | icarDeviceResource.json
DiagnosisEvent | icar:DiagnosisEvent | icarDiagnosisEventResource.json
FeedIntakeEvent | icar:FeedIntakeEvent | icarFeedIntakeEventResource.json
FeedRecommendation | icar:FeedRecommendation | icarFeedRecommendationResource.json
FeedReport | icar:FeedReport | icarFeedReportResource.json
Feed | icar:Feed | icarFeedResource.json
FeedStorage | icar:FeedStorage | icarFeedStorageResource.json
Gestation | icar:Gestation | icarGestationResource.json
Lactation | icar:Lactation | icarLactationResource.json
LactationStatusObservedEvent | icar:LactationStatusObservedEvent | icarLactationStatusObservedEventResource.json
Location | icar:Location | icarLocationResource.json
Medicine | icar:Medicine | icarMedicineResource.json
MilkingDryOffEvent | icar:MilkingDryOffEvent | icarMilkingDryOffEventResource.json
MilkingVisitEvent | icar:MilkingVisitEvent | icarMilkingVisitEventResource.json
MovementArrivalEvent | icar:MovementArrivalEvent | icarMovementArrivalEventResource.json
MovementBirthEvent | icar:MovementBirthEvent | icarMovementBirthEventResource.json
MovementDeathEvent | icar:MovementDeathEvent | icarMovementDeathEventResource.json
MovementDepartureEvent | icar:MovementDepartureEvent | icarMovementDepartureEventResource.json
Ration | icar:Ration | icarRationResource.json
ReproAbortionEvent | icar:ReproAbortionEvent | icarReproAbortionEventResource.json
ReproDoNotBreedEvent | icar:ReproDoNotBreedEvent | icarReproDoNotBreedEventResource.json
ReproEmbryo | icar:ReproEmbryo | icarReproEmbryoResource.json
ReproHeatEvent | icar:ReproHeatEvent | icarReproHeatEventResource.json
ReproInseminationEvent | icar:ReproInsemonationEvent | icarReproInsemonationEventResource.json
ReproMatingRecommendation | icar:ReproMatingRecommendation | icarReproMatingRecommendationResource.json
ReproParturitionEvent | icar:ReproParturitionEvent | icarReproParturitionEventResource.json
ReproSemenStraw | icar:ReproSemenStraw | icarReproSemenStrawResource.json
ReproStatusObservedEvent | icar:ReproStatusObservedEvent | icarReproStatusObservedEventResource.json
TestDay | icar:TestDay | icarTestDayResource.json
TestDayResult | icar:TestDayResult | icarTestDayResultResource.json
TreatmentEvent | icar:TreatmentEvent | icarTreatmentEventResource.json
TreatmentProgramEvent | icar:TreatmentProgramEvent | icarTreatmentProgramEventResource.json
WeightEvent | icar:WeightEvent | icarWeightEventResource.json