dhp-graph-dump/dump-schema/src/main/resources/jsonschemas/relation_schema.json

55 lines
1.4 KiB
JSON

{
"$schema" : "http://json-schema.org/draft-07/schema#",
"type" : "object",
"properties" : {
"provenance" : {
"type" : "object",
"properties" : {
"provenance" : {
"type" : "string"
},
"trust" : {
"type" : "string"
}
},
"description" : "The reason why OpenAIRE holds the relation "
},
"reltype" : {
"type" : "object",
"properties" : {
"name" : {
"type" : "string"
},
"type" : {
"type" : "string"
}
},
"description" : "To represent the semantics of a relation between two entities"
},
"source" : {
"type" : "string",
"description" : "The identifier of the source in the relation"
},
"sourceType" : {
"type" : "string",
"description" : "The entity type of the source in the relation"
},
"target" : {
"type" : "string",
"description" : "The identifier of the target in the relation"
},
"targetType" : {
"type" : "string",
"description" : "The entity type of the target in the relation"
},
"validated" : {
"type" : "boolean",
"description" : "True if the relation is related to a project and it has been collected from an authoritative source (i.e. the funder)"
},
"validationDate" : {
"type" : "string",
"description" : "The date when the relation was collected from OpenAIRE"
}
}
}