File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,8 @@ import MetaCodable
116116 public var minItems : Int ?
117117 public var maxItems : Int ?
118118 public var uniqueItems : Bool ?
119+ public var required : [ String ] ?
120+ public var additionalProperties : Bool ?
119121
120122 public init (
121123 type: JSONType ,
@@ -128,7 +130,9 @@ import MetaCodable
128130 maximum: Double ? = nil ,
129131 minItems: Int ? = nil ,
130132 maxItems: Int ? = nil ,
131- uniqueItems: Bool ? = nil
133+ uniqueItems: Bool ? = nil ,
134+ required: [ String ] ? = nil ,
135+ additionalProperties: Bool ? = false
132136 ) {
133137 self . type = type
134138 self . properties = properties
@@ -141,6 +145,8 @@ import MetaCodable
141145 self . minItems = minItems
142146 self . maxItems = maxItems
143147 self . uniqueItems = uniqueItems
148+ self . required = required
149+ self . additionalProperties = additionalProperties
144150 }
145151 }
146152 }
You can’t perform that action at this time.
0 commit comments