|
51 | 51 | :additionalProperties {:type "string"}}]
|
52 | 52 | [[:vector string?] {:type "array", :items {:type "string"}}]
|
53 | 53 | [[:sequential string?] {:type "array", :items {:type "string"}}]
|
| 54 | + [[:sequential {:min 1, :max 4} string?] {:type "array", |
| 55 | + :items {:type "string"}, |
| 56 | + :minItems 1, |
| 57 | + :maxItems 4}] |
| 58 | + [[:* string?] {:type "array", :items {:type "string"}}] |
| 59 | + [[:? string?] {:type "array", |
| 60 | + :items {:type "string"}, |
| 61 | + :maxItems 1}] |
| 62 | + [[:+ string?] {:type "array", |
| 63 | + :items {:type "string"}, |
| 64 | + :minItems 1}] |
| 65 | + [[:repeat string?] {:type "array", :items {:type "string"}}] |
| 66 | + [[:repeat {:min 1, :max 4} string?] {:type "array", |
| 67 | + :items {:type "string"}, |
| 68 | + :minItems 1, |
| 69 | + :maxItems 4}] |
| 70 | + [[:repeat {:min 1, :max 4} [:tuple string? keyword?]] {:type "array", |
| 71 | + :items {:additionalItems false, |
| 72 | + :items [{:type "string"}, |
| 73 | + {:type "string"}], |
| 74 | + :type "array"} |
| 75 | + :minItems 1, |
| 76 | + :maxItems 4}] |
| 77 | + [[:cat :int :string] {:type "array", |
| 78 | + :items [{:type "integer"} {:type "string"}], |
| 79 | + :additionalItems false}] |
| 80 | + [[:catn [:f :int] [:s :string]] {:type "array", |
| 81 | + :items [{:type "integer"} {:type "string"}], |
| 82 | + :additionalItems false}] |
| 83 | + [[:alt :int :string] {:type "array", |
| 84 | + :items {:oneOf [{:type "integer"} {:type "string"}]}, |
| 85 | + :additionalItems false}] |
| 86 | + [[:altn [:f :int] [:s :string]] {:type "array", |
| 87 | + :items {:oneOf [{:type "integer"} {:type "string"}]}, |
| 88 | + :additionalItems false}] |
54 | 89 | [[:set string?] {:type "array"
|
55 | 90 | :items {:type "string"}
|
56 | 91 | :uniqueItems true}]
|
|
0 commit comments