MCPcopy Create free account
hub / github.com/arktypeio/arktype / Object

Interface Object

ark/schema/shared/jsonSchema.ts:172–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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"

Callers 6

runtypes.tsFile · 0.85
withoutProtoKeysFunction · 0.85
readMemberMethod · 0.85
calleeOfMethod · 0.85
readsPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected