Skip to content

Commit

Permalink
demographic cleanup: removing x-cg-discriminator as is not needed any…
Browse files Browse the repository at this point in the history
…more (relates to #99)
  • Loading branch information
sebastian-iancu committed Dec 4, 2023
1 parent 4f8ad18 commit e928043
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions specifications/schemas/demographic/Party.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,3 @@ properties:
type: array
items:
$ref: Contact.yaml
x-cg-discriminator:
propertyName: _type
mapping:
#ROLE is not allowed on purpose, for the API it's embedded in the ACTOR payload
PERSON: '#/components/schemas/Actor'
ORGANISATION: '#/components/schemas/Actor'
GROUP: '#/components/schemas/Actor'
AGENT: '#/components/schemas/Actor'

0 comments on commit e928043

Please sign in to comment.