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 Feb 26, 2024
1 parent e0d1fb4 commit 5a73ea1
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 5a73ea1

Please sign in to comment.