工具大全 ToolBox — 免费在线工具箱
提供 JSON / YAML / JavaScript 格式化、Base64 与 URL 编解码、DNS / WHOIS 查询、哈希加密、视频音频处理、AI 助手等百余款实用工具。全部在浏览器本地运行,无需安装,数据不上传服务器。
i关于本工具
用途说明
JSON Schema 在线生成根据样例 JSON 在浏览器本地推断 Draft-07 Schema($schema 指向 http://json-schema.org/draft-07/schema#)。可配置必填字段、additionalProperties、数组 List/Tuple、integer 与 string format。适合接口契约与校验;业务数据不上传服务器。
使用步骤
- 粘贴或导入样例 .json(可用示例)。
- 按需勾选必填、additionalProperties、format 与数组规则。
- 查看并复制/下载 Draft-07 Schema。
- 按业务收紧枚举与约束后再用于生产。
常见问题
是 Draft-07 吗?
是。根字段 $schema 固定为 http://json-schema.org/draft-07/schema#。
和「结构化输出 Schema」有何不同?
本工具在开发工具/解析调试,输出 Draft-07;AI 工具偏结构化回复,默认 2020-12。
会上传 JSON 吗?
不会。推断全程在本地完成。
上文已说明该工具是本地处理还是会调用第三方接口,请按场景选用。
What it is for
JSON Schema Generator infers a Draft-07 schema from sample JSON in your browser ($schema = http://json-schema.org/draft-07/schema#). Configure required fields, additionalProperties, array List/Tuple mode, integers, and string formats. Ideal for API contracts—nothing is uploaded.
How to use
- Paste or import sample .json (or load the sample).
- Toggle required, additionalProperties, formats, and array rules.
- Copy or download the Draft-07 schema.
- Tighten enums/constraints before production use.
FAQ
Is it Draft-07?
Yes. $schema is fixed to http://json-schema.org/draft-07/schema#.
Vs AI structured Schema?
This tool is under Dev → Debug and outputs Draft-07; the AI tool targets prompts and uses 2020-12.
Is JSON uploaded?
No. Inference stays on-device.
Processing notes above describe whether work stays in your browser or calls third-party APIs.
404
工具不存在或链接有误。