diff --git a/test/schema.ts b/test/schema.ts index 267e65c..c6a3e0f 100644 --- a/test/schema.ts +++ b/test/schema.ts @@ -10,6 +10,9 @@ console.log("JSON Schema for the person object:"); console.log( JSON.stringify(toJSONSchema(schema), null, 2) ); + +console.log('shape', schema.shape); +console.log('shape name', schema.shape.name.toJSONSchema()); // const jsonSchema = toJSONSchema(schema); // const schema2 = z.fromJSONSchema(jsonSchema);