Comments (2)
Hey. Not sure I understand the example / what you're describing. There isn't any interaction between enum
and required
– required (in draft 3 which is what it looks like you're using) would be ignored there, because it's not inside a schema for a property. That instance is invalid though both because it isn't one of "on"
or "off"
and also because it isn't a string.
Can you clarify what you mean here?
from json-schema-test-suite.
The example was completely wrong, sorry for that. Thanks for fixing it.
from json-schema-test-suite.
Related Issues (20)
- Tests for bundling HOT 28
- draft2019-09 output-schema.json is wrong HOT 3
- Revamped output testing HOT 8
- test: unevaluatedItems with nested items > with invalid additional item HOT 3
- Incorrect Revert "by default, "format" only annotates, not validates"? HOT 5
- Negative schema tests HOT 4
- File URIs with pointer fragments HOT 6
- New release? HOT 4
- Perhaps add test for `"type": []` HOT 3
- Suite contains invalid, positive tests for idn-hostname HOT 2
- Add tests for single label IDN hostnames
- Missing test for `unevaluatedProperties` and `$dynamicRef` HOT 1
- Add an `id` property to all test cases HOT 4
- Add a `specification` property to test cases + tests HOT 12
- Should identifier declarations be respected in non-schema locations? HOT 29
- Clarify how test runners should handle `format`. HOT 1
- Unknown `format` handling HOT 2
- Test for jumping over a resource HOT 16
- Syntax highlight schemas + instances in the terminal HOT 1
- Description and test case contradiction: `unevaluatedProperties` HOT 3
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 json-schema-test-suite.