Comments (3)
Is that really a valid ID? Can you point me to the specification?
from json-validator.
Sure, that's fair to ask, especially that I didn't check this before submitting the issue! It is:
http://json-schema.org/schema says an id is a uri-reference: http://json-schema.org/latest/json-schema-validation.html#rfc.section.8.3.7
https://tools.ietf.org/html/rfc3986 says an uri-reference can be an URI or a relative-ref (4.1) and (4.2) gives this grammar for relative-ref:
relative-ref = relative-part [ "?" query ] [ "#" fragment ]
relative-part = "//" authority path-abempty
/ path-absolute
/ path-noscheme
/ path-empty
from json-validator.
I've opened a pull request now. Please have a look at #80.
from json-validator.
Related Issues (20)
- Feature request: caching validated output HOT 19
- Implement skipped acceptance tests
- Remove coerce() and just coerce everything HOT 1
- Missing compile step when using JSON::Validator::Joi->array HOT 1
- Set min perl version to 5.016 HOT 1
- Lots of warnings when processing Accept header HOT 2
- OpenAPI 'oneOf' in parameter not validating correctly HOT 2
- Many bogus OpenAPI schema errors if coerce "defaults" is turned on. HOT 4
- validation fails on an attribute that has nullable: true if there is also an enum HOT 3
- Installing before YAML::XS is available doesn't allow YAML::XS to be installed as a prerequisite. HOT 6
- Possibly leftover directory .pls_cache in tarball HOT 1
- Wide character in subroutine entry HOT 3
- $ref are not resolved with get method HOT 3
- t/load-from-app.t fails with restrictive firewall HOT 2
- OpenAPIV3 - minimum/maximum being read incorrectly as numbers HOT 2
- Validator does not follow Reference in patterned fields in Responses Object in OpenAPI v2 & v3
- GNU tar emits "tar: Ignoring unknown extended header keyword" warnings
- Documentation is wrong/misleading
- heisenbug with openapi 3.1.* schema
- Differences between 3.0 and 3.1
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-validator.