Commit 9c2515b8 authored by Vilem Ded's avatar Vilem Ded
Browse files

fixing references so each object is validated separately

parent 9e9cb376
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
"description": "ELIXIR Luxembourg Partner Schema", "description": "ELIXIR Luxembourg Partner Schema",
"title": "A JSON Schema for describing partners institutes.", "title": "A JSON Schema for describing partners institutes.",
"$schema": "http://json-schema.org/draft-04/schema#", "$schema": "http://json-schema.org/draft-04/schema#",
"type": "array", "type": "object",
"items": { "allOf": [{
"$ref": "#/definitions/elu:partner" "$ref": "#/definitions/elu:partner"
}, }],
"definitions": { "definitions": {
"elu:partner": { "elu:partner": {
"type": "object", "type": "object",
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
"description": "ELIXIR Luxembourg Projects Schema", "description": "ELIXIR Luxembourg Projects Schema",
"title": "A JSON Schema for describing biomedical research Projects.", "title": "A JSON Schema for describing biomedical research Projects.",
"$schema": "http://json-schema.org/draft-04/schema#", "$schema": "http://json-schema.org/draft-04/schema#",
"type": "array", "type": "object",
"items": { "allOf": [{
"$ref": "#/definitions/elu:project" "$ref": "#/definitions/elu:project"
}, }],
"definitions": { "definitions": {
"elu:project": { "elu:project": {
"type": "object", "type": "object",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment