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-04 12:29:48 +01:00
"description" : "The trust of the relation in the range of [0,1]. Where greater the number, more the trust. Harvested relationships have typically a high trust (0.9). The trust of inferred relationship is calculated by the inference algorithm that generated them, as described in https://graph.openaire.eu/about#architecture (Enrichment --> Mining)"
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-04 12:29:48 +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-04 12:29:48 +01:00
"description" : "To represent the semantics of a 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
]
}
}
}