Allow relative references to schema to work in python and node.
Rename "schema/v1/core" to "schema/v1/core-event-schema". Add self-referential symlinks to schema/v1/core-event-schema The python json schema libraries expect that relative references are relative to the file they are in. The node json schema libraries expect that relateive references are relative to the first file loaded. To support both kinds we reference the core event schema using "core-event-schema/event.json". We then symlink the core-event-schema directory to both the location of the file refering to "event.json" so that it will work in python and to the location of the top level file so that it will work in node.pull/977/head
parent
bb441427ac
commit
7f81501762
@ -1 +0,0 @@
|
||||
events/core
|
@ -0,0 +1 @@
|
||||
v1-event-schema/core-event-schema
|
@ -0,0 +1 @@
|
||||
.
|
@ -0,0 +1 @@
|
||||
.
|
Loading…
Reference in New Issue