a11y.skipToMainContent
1

ผู้สร้าง Json Schema

สร้างแบบจําลองการตรวจสอบ Json ภาพ ปรับแต่งคุณสมบัติ, toggle จําเป็นต้องใช้คุณลักษณะต่าง ๆ และคัดลอก Json Schema, Sod Code หรือ interctions.

Visual Schema Editor

Design your schema properties, types, and validation rules.

Root Properties
Was this tool helpful?
Send output to:
Advertisement

How to use JSON Schema Builder

  1. เพิ่มคุณสมบัติเชมาและตั้งชื่อ.
  2. เลือกประเภทของข้อมูล (ข้อความ, ตัวเลข, จํานวนเต็ม, บูเลียน, อนุกรม, วัตถุ).
  3. ปรับแต่งรูปแบบที่ใช้ได้, ข้อจํากัด/ mmax หรือสลับค่า checks ที่ต้องการ.
  4. เลือก Zod, Json Schema หรือพิมพ์แท็บ Script เพื่อคัดลอกรหัส Schema ที่สร้างมา.

อะไรคือ?

Jonson Schema builder จัดทําส่วนติดต่อแบบกราฟิกเพื่อออกแบบการเข้ารหัส Json bloads โดยไม่เขียนโค้ด เพิ่มคุณสมบัติซ้ําไปเรื่อย ๆ, เลือกประเภทของค่าตรวจสอบความถูกต้อง (ข้อความ, ตัวเลข, รายการย่อย, รายการเพลง, ออบเจกต์, ออบเจกต์), ตั้งค่าช่วงต่ําสุด/ maximum, เงื่อนไขรูปแบบเรกทริกซ์, และคุณสมบัติการทําเครื่องหมายตามที่ต้องการ > ขณะที่คุณสร้างเครื่องมือนั้น ได้สร้างรหัสการตรวจสอบของสภาพแวดล้อม 3 แบบ:มาตรฐาน Json Schema (Draft-07), Zod Schemes สําหรับตัวตรวจความถูกต้องของ Nod/ web, และชนิดมาตรฐาน Script Internations สําหรับประเภท Scienter- Safety

Advertisement

FAQ

มันช่วยยืนยันการวางไข่รึเปล่า?
ใช่ คุณ สามารถ เพิ่ม สิ่ง ของ ที่ ซับ ซ้อน หรือ สิ่ง ที่ ทํา รัง ไว้ เพื่อ กําหนด โครง สร้าง ลึก ใน ภาพ.
ซอดทําตามคําสั่งอย่างเต็มที่ไหม?
ใช่ มันสร้างค่าพื้นฐาน ES โมดูล Zod (เช่น z. object(}) ที่ตรงกับโครงสร้างภาพของคุณ.

Related tools

Author

MW
Marcus Webb"The DevTool Craftsman"

Full-Stack Developer & Tools Architect

Marcus has been writing code since the dial-up era. He has contributed to open-source developer tools, built CI/CD pipelines for startups, and debugged production incidents at 3 AM more times than he would like to admit. His philosophy is that the best developer tool is the one that gets out of your way, and he writes about practical tooling that helps teams ship faster with fewer headaches.

Advertisement