Skip to content

Instantly share code, notes, and snippets.

@ymtky
Created January 11, 2018 05:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ymtky/1a39a6f61c8d830f6c46a8402618f3c1 to your computer and use it in GitHub Desktop.
json schemaで外のファイルを参照する場合の指定
// httpで
"$ref": "http://schema/hogehoge.json"
// 絶対パス
"$ref": "file:///schema/hogehoge.json"
// mavenプロジェクトのresources下の相対パス
"$ref": "resource:/schema/hogehoge.json"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment