2020-08-11 15:39:48 +02:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
|
|
"definitions": {
|
|
|
|
"Node": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string",
|
2020-11-03 16:58:08 +01:00
|
|
|
"description": "The OpenAIRE id of the entity"
|
2020-08-11 15:39:48 +02:00
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string",
|
2020-11-03 16:58:08 +01:00
|
|
|
"description": "The type of the entity (i.e. organisation)"
|
2020-08-11 15:39:48 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"provenance": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"provenance": {
|
|
|
|
"type": "string",
|
2020-11-03 16:58:08 +01:00
|
|
|
"description": "The reason why OpenAIRE holds the relation "
|
2020-08-11 15:39:48 +02:00
|
|
|
},
|
|
|
|
"trust": {
|
|
|
|
"type": "string",
|
2020-11-03 16:58:08 +01:00
|
|
|
"description": "The trust of the relation"
|
2020-08-11 15:39:48 +02:00
|
|
|
}
|
2020-11-03 16:58:08 +01:00
|
|
|
}
|
2020-08-11 15:39:48 +02:00
|
|
|
},
|
|
|
|
"reltype": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string",
|
2020-11-03 16:58:08 +01:00
|
|
|
"description": "the semantics of the relation (i.e. isAuthorInstitutionOf)"
|
2020-08-11 15:39:48 +02:00
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string",
|
2020-11-03 16:58:08 +01:00
|
|
|
"description": "the type of the relation (i.e. affiliation)"
|
2020-08-11 15:39:48 +02:00
|
|
|
}
|
|
|
|
},
|
2020-11-03 16:58:08 +01:00
|
|
|
"description": "To represent the semantics of the generic relation between two entities"
|
2020-08-11 15:39:48 +02:00
|
|
|
},
|
|
|
|
"source": {
|
|
|
|
"allOf": [
|
2020-11-03 16:58:08 +01:00
|
|
|
{"$ref": "#/definitions/Node"},
|
|
|
|
{"description": "The node source in the relation"}
|
2020-08-11 15:39:48 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"target": {
|
|
|
|
"allOf": [
|
2020-11-03 16:58:08 +01:00
|
|
|
{"$ref": "#/definitions/Node"},
|
|
|
|
{"description": "The node target in the relation"}
|
2020-08-11 15:39:48 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|