a11y.skipToMainContent
1

JSON에 JSON Schema

JSON 샘플을 붙여넣고 API 문서, 요청/response 유효성 검사 및 계약 테스트를 설명하는 JSON Schema를 얻을 수 있습니다.

More options
Was this tool helpful?
Send output to:
Advertisement

How to use JSON to JSON Schema

  1. JSON 객체를 붙여줍니다.
  2. 초안 버전 선택.
  3. 토글 예제 / 모든 필드 - 필요.
  4. Schema를 복사 - Ajv, JSON Schema validators, 또는 OpenAPI 구성 요소로 사용하십시오.

JSON을 JSON Schema로 변환은 무엇입니까?

JSON Schema는 JSON을 설명하고 검증하는 표준 방법입니다. 이 도구는 샘플과 infers type, properties, 그리고 required를 각 레벨마다 표시합니다. 이메일, URL 또는 ISO 날짜와 같은 문자열은 일치 format hint를 자동으로 가져옵니다. 초안을 선택 2020-12, 2019-09, 또는 초안 07 당신의 $schema URL.

Advertisement

FAQ

어떤 초안이 지원됩니까?
2020-12 (과태), 2019-09 및 초안 07.
검출되는 형식?
예 - 이메일, uri, 날짜 및 날짜는 regex에 의해 감지됩니다.

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.

← Back to Developer Tools · All tags

Last updated:

Advertisement