Open-Attestation / open-attestation

Meta framework for providing digital provenance and integrity to documents.
https://openattestation.com
Apache License 2.0
54 stars 18 forks source link

Schema for v2 failing on https://www.jsonschemavalidator.net/ #71

Closed yehjxraymond closed 4 years ago

yehjxraymond commented 4 years ago

image

Nebulis commented 4 years ago

It works if you use Schema Draft v6 / v7 (and many other which uses ref).

For some reason it works for other ref, but ref to identityProof in definitions doesnt work there ...

Nebulis commented 4 years ago

The issue is the $id property => if you remove it or change to URI it's ok

https://json-schema.org/understanding-json-schema/structuring.html#the-id-property

:man_shrugging:

Nebulis commented 4 years ago

77