Skip to content

Commit

Permalink
removed discriminators
Browse files Browse the repository at this point in the history
  • Loading branch information
gra-moore committed Apr 5, 2022
1 parent d58bbae commit acd0280
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 acd0280

Please sign in to comment.