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

added location to resource. #281

Merged
merged 1 commit into from
Feb 21, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 0 additions & 4 deletions resources/icarDailyMilkingAveragesResource.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
"type": "string",
"description": "Unique identifier in the source system for this event."
},
"location": {
"$ref": "../types/icarLocationIdentifierType.json",
"description": "Unique location scheme and identifier combination."
},
"animal": {
"$ref": "../types/icarAnimalIdentifierType.json",
"description": "Unique animal scheme and identifier combination."
Expand Down
4 changes: 0 additions & 4 deletions resources/icarDeviceResource.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
"type": "string",
"description": "Description of the device by the farmer."
},
"location": {
"$ref": "../types/icarLocationIdentifierType.json",
"description": "Unique location scheme and identifier combination."
},
"softwareVersion": {
"type": "string",
"description": "Version of the software installed on the device."
Expand Down
4 changes: 0 additions & 4 deletions resources/icarEventCoreResource.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@
"$ref": "../types/icarDateTimeType.json",
"description": "ISO8601 date and time. MUST contain time zone. UTC recommended."
},
"location": {
"$ref": "../types/icarLocationIdentifierType.json",
"description": "Unique location scheme and identifier combination."
},
"traitLabel": {
"$ref": "../types/icarTraitLabelIdentifierType.json",
"description": "If the event represents a formal trait, identifies the recording system and trait."
Expand Down
4 changes: 0 additions & 4 deletions resources/icarGestationResource.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
"$ref": "../types/icarAnimalIdentifierType.json",
"description": "Unique animal scheme and identifier combination."
},
"location": {
"$ref": "../types/icarLocationIdentifierType.json",
"description": "Unique location scheme and identifier combination."
},
"sireIdentifiers": {
"type": "array",
"items": {
Expand Down
4 changes: 0 additions & 4 deletions resources/icarLactationResource.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
"$ref": "../types/icarAnimalIdentifierType.json",
"description": "Unique animal scheme and identifier combination."
},
"location": {
"$ref": "../types/icarLocationIdentifierType.json",
"description": "Unique location scheme and identifier combination."
},
"beginDate": {
"$ref": "../types/icarDateTimeType.json",
"description": "The date of the beginning of the lactation."
Expand Down
2 changes: 1 addition & 1 deletion resources/icarLocationResource.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"description": "An location scheme / location id combinations.",
"description": "A location scheme / location id combination.",

"allOf": [
{
Expand Down
4 changes: 4 additions & 0 deletions resources/icarResource.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"meta": {
"$ref": "../types/icarMetaDataType.json",
"description": "Meta-data for the resource. Mandatory if you wish to support synchronisation."
},
"location": {
"$ref": "../types/icarLocationIdentifierType.json",
"description": "Unique location scheme and identifier combination."
}
}
}