Project

General

Profile

1
@namespace("eu.dnetlib.iis.importer.schemas")
2
protocol IIS{
3

    
4
    record DataSetReference {
5
//      a technical ID of a data set reference (primary key)
6
        string id;
7
//      type name of the referenced id, e.g. doi
8
        string referenceType;
9
//      Data set identifier. Its definition follows the convention of a given data set
10
//      reference type defined by "referenceType"
11
        string idForGivenType;
12
//      Note that the ("typeID", "idForGivenType") pair unambiguously identifies a data
13
//      set, this is also true for the "id" field, i.e. ("typeID", "idForGivenType") is
14
//      a candidate key; "id" is also a candidate key.
15

    
16
//      additional fields
17
        union { null , array<string> } creatorNames = null;
18
        union { null , array<string> } titles = null;
19
        union { null , string } description = null;
20
        union { null , string } publisher = null;
21
        union { null , string } publicationYear = null;
22
        union { null , array<string> } formats = null;
23
        union { null , string } resourceTypeClass = null;
24
        union { null , string } resourceTypeValue = null;
25
    }
26
}
27

    
(1-1/9)