Project

General

Profile

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

    
4
    record PublicationType {
5
        boolean article = false;
6
        boolean dataset = false;
7
    }
8

    
9
    record DocumentMetadata {
10
//      document identifier
11
        string id;
12
        
13
//      moved from DocumentBasicMetadata        
14
//      title
15
        union { null , string } title = null;
16
//      abstract or description
17
        union { null , string } abstract = null;
18
        union { null , string } language = null;
19
//      list of keywords (free form)
20
        union { null , array<string> } keywords = null;
21
//      alternative identifier (e.g. internal publisher's identifiers)
22
        union { null , map<string> } externalIdentifiers = null;
23
//      name of journal in which the article is published
24
        union { null , string } journal = null;
25
//      year of publication
26
        union { null , int } year = null;
27
//      publisher name
28
        union { null , string } publisher = null;
29
//      end of: moved from DocumentBasicMetadata        
30
//      publication type
31
        PublicationType publicationType;
32
        
33
//      foreign key: Person.id ("raw person" data store)
34
        union { null , array<string> } authorIds = null;
35
        
36
//      identifiers of datasources given document originates from
37
        union { null , array<string> } datasourceIds = null;
38
        
39
    }
40
    
41
}
42

    
43
 
(3-3/9)