Comments (4)
Hi! I have started the work here: #147
In the next few days I will also add @ldemailly 's example to the test suite and see to make it work.
Thanks!
from go-jsonschema.
I merged the issue #147 , which should solve the problem. The feature will become available in the upcoming v0.15.0 release, in the meantime it can be tested by building from main
. closing.
from go-jsonschema.
I'm not sure if file://./ids.json#/id
is actually a valid reference. VSCode's validator also complains about that reference. But I can confirm that go-jsonschema also doesn't work with ./ids.json#/id
and ids.json#/id
while VSCode is happy with either of those.
from go-jsonschema.
We use https://github.com/neilpa/yajsv/ which takes that syntax fine, happy to change to whichever works for that tool and would work (better) with go-jsonschema
from go-jsonschema.
Related Issues (20)
- Go install complains on go.mod HOT 4
- `maxLength` is not working as expected according to the jsonschema docs HOT 3
- Generated Unmarshal for fields with `time.Time` HOT 6
- How to specify a root directory for `$ref` resolution? HOT 1
- CVE Schema: could not generate type for field "...": definition does not exist in schema: HOT 6
- feat: Use of project as package
- Nested struct support? HOT 1
- Fails to generate for Signal K, cannot generate referenced type. HOT 1
- Nullable nested object support
- Incorrect string length validation for some strings. HOT 1
- Does not generate anything for the GeoJson schema
- improve support for additionalProperties HOT 1
- Problems generating structs from schema. HOT 1
- No option to indicate an empty value for optional array field
- Feature request: string pattern validation HOT 5
- Add support for `MarshalJSON` HOT 4
- A generated `AdditionalProperties` doesn't have a struct tag HOT 3
- Go module import path needs an update after repo move HOT 2
- Validation breaks unmarhalling into non-empty struct
- go-jsonschema: Failed: error parsing from file ./Cluster: cannot load schema error parsing JSON file Cluster: failed to unmarshal JSON: invalid character '+' in string escape code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-jsonschema.