Skip to content

Commit

Permalink
Merge pull request #54 from ahokkonen/master
Browse files Browse the repository at this point in the history
Performed some renaming for event observed resources and metadata type.
  • Loading branch information
cookeac authored Dec 11, 2019
2 parents adcb0db + 77c293f commit 784bf30
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 26 deletions.
13 changes: 6 additions & 7 deletions Release Candidate Messages/exampleUrlScheme.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"schema": {
"type": "array",
"items": {
"$ref": "icarMilkingVisitResource.json"
"$ref": "icarMilkingVisitEventResource.json"
}
},
"examples": {
Expand Down Expand Up @@ -356,7 +356,7 @@
"schema": {
"type": "array",
"items": {
"$ref": "icarMovementBirthRegistrationResource.json"
"$ref": "icarMovementBirthEventResource.json"
}
}
}
Expand Down Expand Up @@ -443,7 +443,7 @@
"schema": {
"type": "array",
"items": {
"$ref": "icarMovementDeathResource.json"
"$ref": "icarMovementDeathEventResource.json"
}
}
}
Expand Down Expand Up @@ -530,7 +530,7 @@
"schema": {
"type": "array",
"items": {
"$ref": "icarMovementArrivalResource.json"
"$ref": "icarMovementArrivalEventResource.json"
}
},
"examples": {
Expand Down Expand Up @@ -684,7 +684,7 @@
"schema": {
"type": "array",
"items": {
"$ref": "icarMovementDepartureResource.json"
"$ref": "icarMovementDepartureEventResource.json"
}
}
}
Expand Down Expand Up @@ -1134,11 +1134,10 @@
"description": "Error information",
"properties": {
"data": {
"description": "Error information",
"$ref": "exampleErrorResource.json"
}
}
}
}
}
}
}
36 changes: 18 additions & 18 deletions Release Candidate Messages/icarIdentifierType.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"required": [
"id",
"scheme"
],

"type": "object",

"properties": {
"id": {
"type": "string",
"description": "A unique identification for the resource issued under the auspices of the scheme."
},
"scheme": {
"type": "string",
"description": "The identifier (in reverse domain format) of an official scheme that manages unique identifiers."
}
"type": "object",
"description": "Identifies a resource.",

"required": [
"id",
"scheme"
],

"properties": {
"id": {
"type": "string",
"description": "A unique identification for the resource issued under the auspices of the scheme."
},
"description": "Identifies a resource."
}
"scheme": {
"type": "string",
"description": "The identifier (in reverse domain format) of an official scheme that manages unique identifiers."
}
}
}
2 changes: 1 addition & 1 deletion Release Candidate Messages/icarResource.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "Uniform resource identifier (URI) of the resource (rel=self)."
},
"meta": {
"$ref": "icarMetaDataResource.json",
"$ref": "icarMetaDataType.json",
"description": "Meta-data for the resource. Mandatory if you wish to support synchronisation."
}

Expand Down

0 comments on commit 784bf30

Please sign in to comment.