Skip to content

Commit

Permalink
Update validation schema to allow whole works
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesdewit committed May 22, 2024
1 parent 2d550b6 commit c7bb61b
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions validation/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,24 +50,11 @@ additionalProperties:
enum: [f, ff]
whole:
type: boolean
allOf:
- if:
anyOf:
- properties:
end:
type: integer
- properties:
suffix:
type: string
- properties:
type:
const: r
- not:
properties:
whole:
const: True
then:
required: [start]
const: True
dependentRequired:
end: ["start"]
suffix: ["start"]
type: ["start"]
additionalProperties: False
related:
type: array
Expand Down

0 comments on commit c7bb61b

Please sign in to comment.