OAI / Overlay-Specification

The OAI Overlay Specification
Apache License 2.0
57 stars 15 forks source link

JSON Schema 2020-12 schema #71

Closed jeremyfiel closed 3 days ago

jeremyfiel commented 1 month ago

I've updated the v1.0 schema

One clarification, for update and remove scenario https://github.com/OAI/Overlay-Specification/blob/d029f0d7d2c8861e00de4467ab795e86d9e35824/versions/1.0.0.md?plain=1#L122

This field has no impact if the remove field of this action object is true.

Is this something that needs to be enforced with validation?

lornajane commented 3 days ago

The schema cannot be more restrictive than the specification so we should allow both the update and remove keywords alongside one another, in the event that remove is true, update is ignored.