Skip to content

Commit 176ea02

Browse files
v3.1 license schema modified to describe url and identifier as mutually exclusive. Fixes OAI#2975
1 parent aa91a19 commit 176ea02

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

schemas/v3.1/schema.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ $defs:
105105
format: uri
106106
required:
107107
- name
108-
oneOf:
109-
- required:
110-
- identifier
111-
- required:
112-
- url
108+
dependentSchemas:
109+
identifier:
110+
not:
111+
required:
112+
- url
113113
$ref: '#/$defs/specification-extensions'
114114
unevaluatedProperties: false
115115

0 commit comments

Comments
 (0)