Skip to content

Commit

Permalink
fixing some required properties (#99 SPECITS-70)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-iancu committed Dec 4, 2023
1 parent b9d7a27 commit 1567b6c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 3 deletions.
2 changes: 0 additions & 2 deletions specifications/schemas/demographic/Actor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ title: ACTOR
type: object
allOf:
- $ref: ../demographic/Party.yaml
required:
- languages
properties:
languages:
type: array
Expand Down
2 changes: 2 additions & 0 deletions specifications/schemas/demographic/Address.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ title: ADDRESS
type: object
allOf:
- $ref: ../common/Locatable.yaml
required:
- details
properties:
details:
$ref: ../data_structures/UItemStructure.yaml
2 changes: 2 additions & 0 deletions specifications/schemas/demographic/Contact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ title: CONTACT
type: object
allOf:
- $ref: ../common/Locatable.yaml
required:
- addresses
properties:
time_validity:
$ref: ../data_types/DvIntervalOfDate.yaml
Expand Down
2 changes: 2 additions & 0 deletions specifications/schemas/demographic/Party.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ title: PARTY
type: object
allOf:
- $ref: ../common/Versionable.yaml
required:
- identities
properties:
details:
$ref: ../data_structures/UItemStructure.yaml
Expand Down
2 changes: 2 additions & 0 deletions specifications/schemas/demographic/PartyIdentity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ title: PARTY_IDENTITY
type: object
allOf:
- $ref: ../common/Locatable.yaml
required:
- details
properties:
details:
$ref: ../data_structures/UItemStructure.yaml
6 changes: 5 additions & 1 deletion specifications/schemas/demographic/Role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ type: object
allOf:
- $ref: ../demographic/Party.yaml
required:
- languages
- performer
properties:
_type:
type: string
default: ROLE
time_validity:
$ref: ../data_types/DvIntervalOfDate.yaml
performer:
Expand All @@ -13,3 +16,4 @@ properties:
type: array
items:
$ref: ../demographic/Capability.yaml
x-discriminator-value: ROLE

0 comments on commit 1567b6c

Please sign in to comment.