The value field and externalValue field are mutually exclusive.
MODIFY
schemas/v3.1/schema.json
schemas/v3.1/schema.json
"format": "uri"
}
},
+ "not": {
+ "required": [
+ "value",
+ "externalValue"
+ ]
+ },
"$ref": "#/$defs/specification-extensions",
"unevaluatedProperties": false
},

MODIFY
schemas/v3.1/schema.yaml
schemas/v3.1/schema.yaml
@@ -607,6 +607,10 @@ $defs:
externalValue:
type: string
format: uri
+ not:
+ required:
+ - value
+ - externalValue
$ref: '#/$defs/specification-extensions'
unevaluatedProperties: false

The value field and externalValue field are mutually exclusive. (#2801)

https://spec.openapis.org/oas/v3.1.0#example-object