Comments (3)
Other examples are complex situations such as
{
"allOf": [
{
"properties": {"foo": {}, "bar": {}},
"additionalProperties": false
},
{
"properties": {"foo": {}, "xyz": {}},
"additionalProperties": false
}
]
}
which is equivalent to
{
"properties": {"foo": {}},
"additionalProperties": false
}
but doing the schema algebra to work that out is nontrivial in the general case, particularly if there are nested structures, or actual schemas in "additionalProperties" instead of just false
. In general, "additionalProperties" and "allOf" don't mix well.
from doca.
I'm pretty sure we're not going to support "dependencies"
as it's rarely used, poorly understood, and seems likely to be dumped in favor of "if"
/"then"
/"else"
in draft-07.
from doca.
This set of packages is being deprecated in favor of the JSON Schema Tools monorepo. Contributions are still welcome here but most work will be done on the new packages.
The new UI is still being designed, but hopefully we don't completely ignore any draft-04 features there.
from doca.
Related Issues (20)
- Support "items" without "type": "array" HOT 1
- Support "type" as an array HOT 1
- Support arrays alongside *Of keywords (and object keywords) HOT 1
- "properties" adjacent to "*Of" should be merged into subschema properties HOT 1
- Extension keyword to leave a property out of the composite example. HOT 1
- Pin inter-suite dependencies HOT 9
- fix travis config for json-schema-example-loader HOT 1
- Empty object as response HOT 20
- Query parameters via hrefSchema HOT 6
- Support project_folder outside of working directory HOT 2
- doca init -title <Title> HOT 1
- Better to be able to load JSON schema files in runtime HOT 6
- JSON Schemas external files HOT 8
- Array of objects is empty in generated documentation HOT 3
- Unwanted Getting Started Section HOT 3
- Menu links not working HOT 3
- Potential security vulnerability in one of your dependencies HOT 2
- Set up issue
- Using classpath in json string causes npm start to crash
- Menu takes a lot of time to open and close on Firefox and Safari
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 doca.