(schema?: JsonSchema)
| 121 | * @returns true if the schema describes an object. |
| 122 | */ |
| 123 | const isObjectSchema = (schema?: JsonSchema): boolean => { |
| 124 | return schema?.type === 'object' || !!schema?.properties; |
| 125 | }; |
| 126 | |
| 127 | /** |
| 128 | * The error-type of an AJV error is defined by its `keyword` property. |
no outgoing calls
no test coverage detected
searching dependent graphs…