1
0
Fork 0

new schemas for the entities in the dump with added descriptions

This commit is contained in:
Miriam Baglioni 2020-11-03 16:58:08 +01:00
parent 08806deddf
commit c209284ca7
5 changed files with 198 additions and 433 deletions

View File

@ -5,32 +5,30 @@
"type": "object", "type": "object",
"properties": { "properties": {
"scheme": { "scheme": {
"type": "string", "type": "string"
"description": "Description of scheme"
}, },
"value": { "value": {
"type": "string", "type": "string"
"description": "Description of value"
} }
} },
"description": "To represent the information described by a scheme and a value in that scheme (i.e. pid)"
} }
}, },
"type": "object", "type": "object",
"properties": { "properties": {
"accessrights": { "accessrights": {
"type": "string", "type": "string",
"description": "Description of accessrights" "description": "The database access type: {open, restricted or closed}"
}, },
"certificates": { "certificates": {
"type": "string", "type": "string",
"description": "Description of certificates" "description": "Description of certificates"
}, },
"citationguidelineurl": { "citationguidelineurl": {
"type": "string", "type": "string"
"description": "Description of citationguidelineurl"
}, },
"contenttypes": { "contenttypes": {
"description": "Description of contenttypes", "description": "OpenDoar specific fileds ",
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string",
@ -39,7 +37,7 @@
}, },
"databaseaccessrestriction": { "databaseaccessrestriction": {
"type": "string", "type": "string",
"description": "Description of databaseaccessrestriction" "description": "One of {feeRequired, registration, other}"
}, },
"datasourcetype": { "datasourcetype": {
"allOf": [ "allOf": [
@ -47,114 +45,102 @@
"$ref": "#/definitions/ControlledField" "$ref": "#/definitions/ControlledField"
}, },
{ {
"description": "Description of datasourcetype" "description": "The type of the datasource. See https://api.openaire.eu/vocabularies/dnet:datasource_typologies"
} }
] ]
}, },
"datauploadrestriction": { "datauploadrestriction": {
"type": "string", "type": "string",
"description": "Description of datauploadrestriction" "description": "One of {feeRequired, registration, other}"
}, },
"dateofvalidation": { "dateofvalidation": {
"type": "string", "type": "string",
"description": "Description of dateofvalidation" "description": "The date of last validation against the OpenAIRE guidelines for the datasource records"
}, },
"description": { "description": {
"type": "string", "type": "string"
"description": "Description of description"
}, },
"englishname": { "englishname": {
"type": "string", "type": "string",
"description": "Description of englishname" "description": "The English name of the datasource"
}, },
"id": { "id": {
"type": "string", "type": "string",
"description": "Description of id" "description": "The OpenAIRE id of the resource"
}, },
"journal": { "journal": {
"type": "object", "type": "object",
"properties": { "properties": {
"conferencedate": { "conferencedate": {
"type": "string", "type": "string"
"description": "Description of conferencedate"
}, },
"conferenceplace": { "conferenceplace": {
"type": "string", "type": "string"
"description": "Description of conferenceplace"
}, },
"edition": { "edition": {
"type": "string", "type": "string",
"description": "Description of edition" "description": "Edition of the journal or conference proceeding"
}, },
"ep": { "ep": {
"type": "string", "type": "string",
"description": "Description of ep" "description": "End page"
}, },
"iss": { "iss": {
"type": "string", "type": "string"
"description": "Description of iss"
}, },
"issnLinking": { "issnLinking": {
"type": "string", "type": "string"
"description": "Description of issnLinking"
}, },
"issnOnline": { "issnOnline": {
"type": "string", "type": "string"
"description": "Description of issnOnline"
}, },
"issnPrinted": { "issnPrinted": {
"type": "string", "type": "string"
"description": "Description of issnPrinted"
}, },
"name": { "name": {
"type": "string", "type": "string",
"description": "Description of name" "description": "Name of the journal or conference"
}, },
"sp": { "sp": {
"type": "string", "type": "string",
"description": "Description of sp" "description": "Start page"
}, },
"vol": { "vol": {
"type": "string", "type": "string"
"description": "Description of vol"
} }
}, },
"description": "Description of journal" "description": "Description of journal"
}, },
"languages": { "languages": {
"description": "Description of languages", "description": "OpenDOAR specific field",
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string"
"description": "Description of languages"
} }
}, },
"logourl": { "logourl": {
"type": "string", "type": "string"
"description": "Description of logourl"
}, },
"missionstatementurl": { "missionstatementurl": {
"type": "string", "type": "string"
"description": "Description of missionstatementurl"
}, },
"officialname": { "officialname": {
"type": "string", "type": "string",
"description": "Description of officialname" "description": "The official name of the datasource"
}, },
"openairecompatibility": { "openairecompatibility": {
"type": "string", "type": "string",
"description": "Description of openairecompatibility" "description": "Information about the OpenAIRE compatibility of the ingested results (which guidelines they are compliant to)"
}, },
"originalId": { "originalId": {
"description": "Description of originalId", "description": "Original identifiers for the datasource"
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string"
"description": "Description of originalId"
} }
}, },
"pid": { "pid": {
"description": "Description of pid", "description": "Persistent identifiers for the datasource",
"type": "array", "type": "array",
"items": { "items": {
"allOf": [ "allOf": [
@ -187,24 +173,22 @@
"description": "Description of releasestartdate" "description": "Description of releasestartdate"
}, },
"subjects": { "subjects": {
"description": "Description of subjects", "description": "List of subjects associated to the datasource",
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string"
"description": "Description of subjects"
} }
}, },
"uploadrights": { "uploadrights": {
"type": "string", "type": "string",
"description": "Description of uploadrights" "description": "One of {open, restricted or closed}"
}, },
"versioning": { "versioning": {
"type": "boolean", "type": "boolean",
"description": "Description of versioning" "description": "Description of versioning"
}, },
"websiteurl": { "websiteurl": {
"type": "string", "type": "string"
"description": "Description of websiteurl"
} }
} }
} }

View File

@ -3,11 +3,10 @@
"type": "object", "type": "object",
"properties": { "properties": {
"alternativenames": { "alternativenames": {
"description": "Description of alternativenames", "description": "Alternative names that identify the organisation",
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string"
"description": "Description of alternativenames"
} }
}, },
"country": { "country": {
@ -15,48 +14,44 @@
"properties": { "properties": {
"code": { "code": {
"type": "string", "type": "string",
"description": "Description of code" "description": "The organisation country code"
}, },
"label": { "label": {
"type": "string", "type": "string",
"description": "Description of label" "description": "The organisation country label"
} }
}, },
"description": "Description of country" "description": "The country of the organisation"
}, },
"id": { "id": {
"type": "string", "type": "string",
"description": "Description of id" "description": "The OpenAIRE id for the organisation"
}, },
"legalname": { "legalname": {
"type": "string", "type": "string"
"description": "Description of legalname"
}, },
"legalshortname": { "legalshortname": {
"type": "string", "type": "string"
"description": "Description of legalshortname"
}, },
"pid": { "pid": {
"description": "Description of pid", "description": "Persistent identifiers for the organisation i.e. isni 0000000090326370",
"type": "array", "type": "array",
"items": { "items": {
"type": "object", "type": "object",
"properties": { "properties": {
"scheme": { "scheme": {
"type": "string", "type": "string",
"description": "Description of scheme" "description": "The scheme of the identifier (i.e. isni)"
}, },
"value": { "value": {
"type": "string", "type": "string",
"description": "Description of value" "description": "the value in the schema (i.e. 0000000090326370)"
} }
}, }
"description": "Description of pid"
} }
}, },
"websiteurl": { "websiteurl": {
"type": "string", "type": "string"
"description": "Description of websiteurl"
} }
} }
} }

View File

@ -3,23 +3,20 @@
"type": "object", "type": "object",
"properties": { "properties": {
"acronym": { "acronym": {
"type": "string", "type": "string"
"description": "Description of acronym"
}, },
"callidentifier": { "callidentifier": {
"type": "string", "type": "string"
"description": "Description of callidentifier"
}, },
"code": { "code": {
"type": "string", "type": "string",
"description": "Description of code" "description": "The grant agreement"
}, },
"enddate": { "enddate": {
"type": "string", "type": "string"
"description": "Description of enddate"
}, },
"funding": { "funding": {
"description": "Description of funding", "description": "Funding information for the project",
"type": "array", "type": "array",
"items": { "items": {
"type": "object", "type": "object",
@ -29,29 +26,27 @@
"properties": { "properties": {
"description": { "description": {
"type": "string", "type": "string",
"description": "Description of description" "description": "Description of the funding stream"
}, },
"id": { "id": {
"type": "string", "type": "string",
"description": "Description of id" "description": "Id of the funding stream"
} }
}, }
"description": "Description of funding_stream"
}, },
"jurisdiction": { "jurisdiction": {
"type": "string", "type": "string",
"description": "Description of jurisdiction" "description": "The jurisdiction of the funder (i.e. EU)"
}, },
"name": { "name": {
"type": "string", "type": "string",
"description": "Description of name" "description": "The name of the funder (European Commission)"
}, },
"shortName": { "shortName": {
"type": "string", "type": "string",
"description": "Description of shortName" "description": "The short name of the funder (EC)"
} }
}, }
"description": "Description of funding"
} }
}, },
"granted": { "granted": {
@ -59,76 +54,66 @@
"properties": { "properties": {
"currency": { "currency": {
"type": "string", "type": "string",
"description": "Description of currency" "description": "The currency of the granted amount"
}, },
"fundedamount": { "fundedamount": {
"type": "number", "type": "number",
"description": "Description of fundedamount" "description": "The funded amount"
}, },
"totalcost": { "totalcost": {
"type": "number", "type": "number",
"description": "Description of totalcost" "description": "The total cost"
} }
}, },
"description": "Description of granted" "description": "The funded amount for the project"
}, },
"id": { "h2020programme": {
"type": "string", "description": "The h2020 programme the project is funded under",
"description": "Description of id"
},
"keywords": {
"type": "string",
"description": "Description of keywords"
},
"openaccessmandatefordataset": {
"type": "boolean",
"description": "Description of openaccessmandatefordataset"
},
"openaccessmandateforpublications": {
"type": "boolean",
"description": "Description of openaccessmandateforpublications"
},
"programme": {
"description": "Description of programme",
"type": "array", "type": "array",
"items": { "items": {
"type": "object", "type": "object",
"properties": { "properties": {
"code": { "code": {
"type": "string", "type": "string",
"description": "Description of code" "description": "The code of the programme"
}, },
"description": { "description": {
"type": "string", "type": "string",
"description": "Description of description" "description": "The description of the programme"
} }
}, }
"description": "Description of programme"
} }
}, },
"startdate": { "id": {
"type": "string", "type": "string",
"description": "Description of startdate" "description": "OpenAIRE id for the project"
},
"keywords": {
"type": "string"
},
"openaccessmandatefordataset": {
"type": "boolean"
},
"openaccessmandateforpublications": {
"type": "boolean"
},
"startdate": {
"type": "string"
}, },
"subject": { "subject": {
"description": "Description of subject",
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string"
"description": "Description of subject"
} }
}, },
"summary": { "summary": {
"type": "string", "type": "string"
"description": "Description of summary"
}, },
"title": { "title": {
"type": "string", "type": "string"
"description": "Description of title"
}, },
"websiteurl": { "websiteurl": {
"type": "string", "type": "string"
"description": "Description of websiteurl"
} }
} }
} }

View File

@ -6,11 +6,11 @@
"properties": { "properties": {
"id": { "id": {
"type": "string", "type": "string",
"description": "Description of id" "description": "The OpenAIRE id of the entity"
}, },
"type": { "type": {
"type": "string", "type": "string",
"description": "Description of type" "description": "The type of the entity (i.e. organisation)"
} }
} }
} }
@ -22,47 +22,38 @@
"properties": { "properties": {
"provenance": { "provenance": {
"type": "string", "type": "string",
"description": "Description of provenance" "description": "The reason why OpenAIRE holds the relation "
}, },
"trust": { "trust": {
"type": "string", "type": "string",
"description": "Description of trust" "description": "The trust of the relation"
} }
}, }
"description": "Description of provenance"
}, },
"reltype": { "reltype": {
"type": "object", "type": "object",
"properties": { "properties": {
"name": { "name": {
"type": "string", "type": "string",
"description": "Description of name" "description": "the semantics of the relation (i.e. isAuthorInstitutionOf)"
}, },
"type": { "type": {
"type": "string", "type": "string",
"description": "Description of type" "description": "the type of the relation (i.e. affiliation)"
} }
}, },
"description": "Description of reltype" "description": "To represent the semantics of the generic relation between two entities"
}, },
"source": { "source": {
"allOf": [ "allOf": [
{ {"$ref": "#/definitions/Node"},
"$ref": "#/definitions/Node" {"description": "The node source in the relation"}
},
{
"description": "Description of source"
}
] ]
}, },
"target": { "target": {
"allOf": [ "allOf": [
{ {"$ref": "#/definitions/Node"},
"$ref": "#/definitions/Node" {"description": "The node target in the relation"}
},
{
"description": "Description of target"
}
] ]
} }
} }

View File

@ -1,207 +1,152 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema#", "$schema": "http://json-schema.org/draft-07/schema#",
"definitions": { "definitions": {
"AccessRight": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Description of code"
},
"label": {
"type": "string",
"description": "Description of label"
},
"scheme": {
"type": "string",
"description": "Description of scheme"
}
}
},
"ControlledField": { "ControlledField": {
"type": "object", "type": "object",
"properties": { "properties": {
"scheme": { "scheme": {
"type": "string", "type": "string"
"description": "Description of scheme"
}, },
"value": { "value": {
"type": "string", "type": "string"
"description": "Description of value"
} }
} },
}, "description": "To represent the information described by a scheme and a value in that scheme (i.e. pid)"
"KeyValue": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "Description of key"
},
"value": {
"type": "string",
"description": "Description of value"
}
}
}, },
"Provenance": { "Provenance": {
"type": "object", "type": "object",
"properties": { "properties": {
"provenance": { "provenance": {
"type": "string", "type": "string",
"description": "Description of provenance" "description": "The process that produced/provided the information"
}, },
"trust": { "trust": {
"type": "string", "type": "string"
"description": "Description of trust"
} }
} },
"description": "Indicates the process that produced (or provided) the information, and the trust associated to the information"
} }
}, },
"type": "object", "type": "object",
"properties": { "properties": {
"author": { "author": {
"description": "Description of author",
"type": "array", "type": "array",
"items": { "items": {
"type": "object", "type": "object",
"properties": { "properties": {
"affiliation": {
"description": "Description of affiliation",
"type": "array",
"items": {
"type": "string",
"description": "Description of affiliation"
}
},
"fullname": { "fullname": {
"type": "string", "type": "string"
"description": "Description of fullname"
}, },
"name": { "name": {
"type": "string", "type": "string"
"description": "Description of name"
}, },
"pid": { "pid": {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "id": {
"allOf": [ "allOf": [
{ {"$ref": "#/definitions/ControlledField"},
"$ref": "#/definitions/ControlledField" {"description": "The author's id and scheme. OpenAIRE currently supports 'ORCID'"}
},
{
"description": "Description of id"
}
] ]
}, },
"provenance": { "provenance": {
"allOf": [ "allOf": [
{ {"$ref": "#/definitions/Provenance"},
"$ref": "#/definitions/Provenance" {"description": "Provenance of author's pid"}
},
{
"description": "Description of provenance"
}
] ]
} }
}, }
"description": "Description of pid"
}, },
"rank": { "rank": {
"type": "integer", "type": "integer"
"description": "Description of rank"
}, },
"surname": { "surname": {
"type": "string", "type": "string"
"description": "Description of surname"
} }
}, }
"description": "Description of author"
} }
}, },
"bestaccessright": { "bestaccessright": {
"allOf": [ "type": "object",
{ "properties": {
"$ref": "#/definitions/AccessRight" "code": {
"type": "string",
"description": "COAR access mode code: http://vocabularies.coar-repositories.org/documentation/access_rights/"
}, },
{ "label": {
"description": "Description of bestaccessright" "type": "string",
"description": "Label for the access mode"
},
"scheme": {
"type": "string",
"description": "Scheme of reference for access right code. Always set to COAR access rights vocabulary: http://vocabularies.coar-repositories.org/documentation/access_rights/"
} }
] },
"description": "The openest access right associated to the manifestations of this research results"
}, },
"codeRepositoryUrl": { "codeRepositoryUrl": {
"type": "string", "type": "string",
"description": "Description of codeRepositoryUrl" "description": "Only for results with type 'software': the URL to the repository with the source code"
}, },
"contactgroup": { "contactgroup": {
"description": "Description of contactgroup", "description": "Only for results with type 'software': Information on the group responsible for providing further information regarding the resource",
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string"
"description": "Description of contactgroup"
} }
}, },
"contactperson": { "contactperson": {
"description": "Description of contactperson", "description": "Only for results with type 'software': Information on the person responsible for providing further information regarding the resource",
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string"
"description": "Description of contactperson"
} }
}, },
"container": { "container": {
"type": "object", "type": "object",
"properties": { "properties": {
"conferencedate": { "conferencedate": {
"type": "string", "type": "string"
"description": "Description of conferencedate"
}, },
"conferenceplace": { "conferenceplace": {
"type": "string", "type": "string"
"description": "Description of conferenceplace"
}, },
"edition": { "edition": {
"type": "string", "type": "string",
"description": "Description of edition" "description": "Edition of the journal or conference proceeding"
}, },
"ep": { "ep": {
"type": "string", "type": "string",
"description": "Description of ep" "description": "End page"
}, },
"iss": { "iss": {
"type": "string", "type": "string",
"description": "Description of iss" "description": "Journal issue"
}, },
"issnLinking": { "issnLinking": {
"type": "string", "type": "string"
"description": "Description of issnLinking"
}, },
"issnOnline": { "issnOnline": {
"type": "string", "type": "string"
"description": "Description of issnOnline"
}, },
"issnPrinted": { "issnPrinted": {
"type": "string", "type": "string"
"description": "Description of issnPrinted"
}, },
"name": { "name": {
"type": "string", "type": "string",
"description": "Description of name" "description": "Name of the journal or conference"
}, },
"sp": { "sp": {
"type": "string", "type": "string",
"description": "Description of sp" "description": "start page"
}, },
"vol": { "vol": {
"type": "string", "type": "string"
"description": "Description of vol"
} }
}, },
"description": "Description of container" "description": "Container has information about the conference or journal where the result has been presented or published"
}, },
"contributor": { "contributor": {
"description": "Description of contributor",
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string",
@ -209,312 +154,177 @@
} }
}, },
"country": { "country": {
"description": "Description of country",
"type": "array", "type": "array",
"items": { "items": {
"type": "object", "type": "object",
"properties": { "properties": {
"code": { "code": {
"type": "string", "type": "string",
"description": "Description of code" "description": "ISO 3166-1 alpha-2 country code"
}, },
"label": { "label": {
"type": "string", "type": "string"
"description": "Description of label"
}, },
"provenance": { "provenance": {
"allOf": [ "allOf": [
{ {"$ref": "#/definitions/Provenance"},
"$ref": "#/definitions/Provenance" {"description": "Why this result is associated to the country."}
},
{
"description": "Description of provenance"
}
] ]
} }
}, }
"description": "Description of country"
} }
}, },
"coverage": { "coverage": {
"description": "Description of coverage",
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string"
"description": "Description of coverage"
} }
}, },
"dateofcollection": { "dateofcollection": {
"type": "string", "type": "string",
"description": "Description of dateofcollection" "description": "When OpenAIRE collected the record the last time"
}, },
"description": { "description": {
"description": "Description of description",
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string"
"description": "Description of description"
} }
}, },
"documentationUrl": { "documentationUrl": {
"description": "Description of documentationUrl", "description": "Only for results with type 'software': URL to the software documentation",
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string"
"description": "Description of documentationUrl"
} }
}, },
"embargoenddate": { "embargoenddate": {
"type": "string", "type": "string",
"description": "Description of embargoenddate" "description": "Date when the embargo ends and this result turns Open Access"
},
"externalReference": {
"description": "Description of externalReference",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Description of name"
},
"provenance": {
"allOf": [
{
"$ref": "#/definitions/Provenance"
},
{
"description": "Description of provenance"
}
]
},
"typology": {
"type": "string",
"description": "Description of typology"
},
"value": {
"type": "string",
"description": "Description of value"
}
},
"description": "Description of externalReference"
}
}, },
"format": { "format": {
"description": "Description of format",
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string"
"description": "Description of format"
} }
}, },
"geolocation": { "geolocation": {
"description": "Description of geolocation", "description": "Geolocation information",
"type": "array", "type": "array",
"items": { "items": {
"type": "object", "type": "object",
"properties": { "properties": {
"box": { "box": {
"type": "string", "type": "string"
"description": "Description of box"
}, },
"place": { "place": {
"type": "string", "type": "string"
"description": "Description of place"
}, },
"point": { "point": {
"type": "string", "type": "string"
"description": "Description of point"
} }
}, }
"description": "Description of geolocation"
} }
}, },
"id": { "id": {
"type": "string", "type": "string",
"description": "Description of id" "description": "OpenAIRE Identifier"
},
"instance": {
"description": "Description of instance",
"type": "array",
"items": {
"type": "object",
"properties": {
"accessright": {
"allOf": [
{
"$ref": "#/definitions/AccessRight"
},
{
"description": "Description of accessright"
}
]
},
"collectedfrom": {
"allOf": [
{
"$ref": "#/definitions/KeyValue"
},
{
"description": "Description of collectedfrom"
}
]
},
"hostedby": {
"allOf": [
{
"$ref": "#/definitions/KeyValue"
},
{
"description": "Description of hostedby"
}
]
},
"license": {
"type": "string",
"description": "Description of license"
},
"publicationdate": {
"type": "string",
"description": "Description of publicationdate"
},
"refereed": {
"type": "string",
"description": "Description of refereed"
},
"type": {
"type": "string",
"description": "Description of type"
},
"url": {
"description": "Description of url",
"type": "array",
"items": {
"type": "string",
"description": "Description of url"
}
}
},
"description": "Description of instance"
}
}, },
"language": { "language": {
"type": "object", "type": "object",
"properties": { "properties": {
"code": { "code": {
"type": "string", "type": "string",
"description": "Description of code" "description": "alpha-3/ISO 639-2 code of the language"
}, },
"label": { "label": {
"type": "string", "type": "string",
"description": "Description of label" "description": "English label"
} }
}, }
"description": "Description of language"
}, },
"lastupdatetimestamp": { "lastupdatetimestamp": {
"type": "integer", "type": "integer",
"description": "Description of lastupdatetimestamp" "description": "Timestamp of last update of the record in OpenAIRE"
}, },
"maintitle": { "maintitle": {
"type": "string", "type": "string"
"description": "Description of maintitle"
}, },
"originalId": { "originalId": {
"description": "Description of originalId", "description": "Identifiers of the record at the original sources",
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string"
"description": "Description of originalId"
} }
}, },
"pid": { "pid": {
"description": "Description of pid", "description": "Persistent identifiers of the result",
"type": "array", "type": "array",
"items": { "items": {
"allOf": [ "allOf": [
{ {"$ref": "#/definitions/ControlledField"},
"$ref": "#/definitions/ControlledField" {"description": "scheme: list of available schemes are at https://api.openaire.eu/vocabularies/dnet:pid_types, value: the PID of the result "}
},
{
"description": "Description of pid"
}
] ]
} }
}, },
"programmingLanguage": { "programmingLanguage": {
"type": "string", "type": "string",
"description": "Description of programmingLanguage" "description": "Only for results with type 'software': the programming language"
}, },
"publicationdate": { "publicationdate": {
"type": "string", "type": "string"
"description": "Description of publicationdate"
}, },
"publisher": { "publisher": {
"type": "string", "type": "string"
"description": "Description of publisher"
}, },
"size": { "size": {
"type": "string", "type": "string",
"description": "Description of size" "description": "Only for results with type 'dataset': the declared size of the dataset"
}, },
"source": { "source": {
"description": "Description of source", "description": "See definition of Dublin Core field dc:source",
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string"
"description": "Description of source"
} }
}, },
"subjects": { "subjects": {
"description": "Description of subjects", "description": "Keywords associated to the result",
"type": "array", "type": "array",
"items": { "items": {
"type": "object", "type": "object",
"properties": { "properties": {
"provenance": { "provenance": {
"allOf": [ "allOf": [
{ {"$ref": "#/definitions/Provenance"},
"$ref": "#/definitions/Provenance" {"description": "Why this subject is associated to the result"}
},
{
"description": "Description of provenance"
}
] ]
}, },
"subject": { "subject": {
"allOf": [ "allOf": [
{ {"$ref": "#/definitions/ControlledField"},
"$ref": "#/definitions/ControlledField" {"description": "OpenAIRE subject classification scheme (https://api.openaire.eu/vocabularies/dnet:subject_classification_typologies) and value. When the scheme is 'keyword', it means that the subject is free-text (i.e. not a term from a controlled vocabulary)."},
},
{
"description": "Description of subject"
}
] ]
} }
}, }
"description": "Description of subjects"
} }
}, },
"subtitle": { "subtitle": {
"type": "string", "type": "string"
"description": "Description of subtitle"
}, },
"tool": { "tool": {
"description": "Description of tool", "description": "Only for results with type 'other': tool useful for the interpretation and/or re-used of the research product",
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string"
"description": "Description of tool"
} }
}, },
"type": { "type": {
"type": "string", "type": "string",
"description": "Description of type" "description": "Type of the result: one of 'publication', 'dataset', 'software', 'other' (see also https://api.openaire.eu/vocabularies/dnet:result_typologies)"
}, },
"version": { "version": {
"type": "string", "type": "string",
"description": "Description of version" "description": "Version of the result"
} }
} }
} }