Skip to content

Commit

Permalink
Merge pull request #287 from mimiro-io/issue-278-discrminator
Browse files Browse the repository at this point in the history
removed discriminators
  • Loading branch information
cookeac authored Apr 7, 2022
2 parents ad54b6d + acd0280 commit 9d916d1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
4 changes: 0 additions & 4 deletions collections/icarResourceCollection.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

"type": "object",

"discriminator": {
"propertyName": "memberType"
},

"properties": {
"view": {
"type": "object",
Expand Down
4 changes: 0 additions & 4 deletions resources/icarEventCoreResource.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"description": "",

"discriminator": {
"propertyName": "eventType"
},

"allOf": [
{
"$ref": "../resources/icarResource.json"
Expand Down
4 changes: 4 additions & 0 deletions resources/icarResource.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"propertyName": "resourceType"
},

"required": [
"resourceType"
],

"properties": {
"resourceType" : {
"type": "string",
Expand Down
4 changes: 0 additions & 4 deletions types/icarIdentifierType.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

"type": "object",

"discriminator": {
"propertyName": "identifierType"
},

"required": [
"id",
"scheme"
Expand Down

0 comments on commit 9d916d1

Please sign in to comment.