| 170 | // NB: Technically 'properties' is required when 'required' is present, |
| 171 | // which is reflected at runtime but it's not worth the performance cost to validate this statically. |
| 172 | export interface Object extends Meta<JsonObject> { |
| 173 | type: "object" |
| 174 | properties?: Record<string, JsonSchema> |
| 175 | required?: string[] |
| 176 | patternProperties?: Record<string, JsonSchema> |
| 177 | additionalProperties?: Branch |
| 178 | maxProperties?: number |
| 179 | minProperties?: number |
| 180 | propertyNames?: Branch |
| 181 | } |
| 182 | |
| 183 | export interface Array extends Meta<JsonArray> { |
| 184 | type: "array" |
no outgoing calls
no test coverage detected