Loading schema/Entity.json +50 −2 Original line number Diff line number Diff line Loading @@ -50,7 +50,48 @@ "value" ], "additionalProperties": { "anyOf": [ { "$ref": "#/definitions/Property" }, { "$ref": "#/definitions/Relationship" } ] } } ] }, "Relationship": { "allOf": [ { "$ref": "#/definitions/Commons" }, { "type": "object", "properties": { "type": { "type": "string", "const": "Relationship" }, "object": { "type": "string", "format": "uri" } }, "required": [ "type", "object" ], "additionalProperties": { "anyOf": [ { "$ref": "#/definitions/Property" }, { "$ref": "#/definitions/Relationship" } ] } } ] Loading @@ -72,6 +113,13 @@ "type" ], "additionalProperties": { "anyOf": [ { "$ref": "#/definitions/Property" }, { "$ref": "#/definitions/Relationship" } ] } } Loading
schema/Entity.json +50 −2 Original line number Diff line number Diff line Loading @@ -50,7 +50,48 @@ "value" ], "additionalProperties": { "anyOf": [ { "$ref": "#/definitions/Property" }, { "$ref": "#/definitions/Relationship" } ] } } ] }, "Relationship": { "allOf": [ { "$ref": "#/definitions/Commons" }, { "type": "object", "properties": { "type": { "type": "string", "const": "Relationship" }, "object": { "type": "string", "format": "uri" } }, "required": [ "type", "object" ], "additionalProperties": { "anyOf": [ { "$ref": "#/definitions/Property" }, { "$ref": "#/definitions/Relationship" } ] } } ] Loading @@ -72,6 +113,13 @@ "type" ], "additionalProperties": { "anyOf": [ { "$ref": "#/definitions/Property" }, { "$ref": "#/definitions/Relationship" } ] } }