dnet45/dnet-hadoop/dhp-schemas/src/main/avro/eu/dnetlib/dhp/importer/NativeRecord.avdl @ 51263
1 |
@namespace("eu.dnetlib.dhp.importer.schemas") |
---|---|
2 |
protocol DHP { |
3 |
|
4 |
enum RecordFormat { |
5 |
XML, JSON |
6 |
} |
7 |
|
8 |
record ImportedRecord { |
9 |
|
10 |
// record identifier |
11 |
string id; |
12 |
|
13 |
RecordFormat format; |
14 |
|
15 |
// format name (OAF, OAI_DC, Datacite, etc) for which there is a parser implementation |
16 |
string formatName; |
17 |
|
18 |
// record body |
19 |
string body; |
20 |
} |
21 |
} |