ingenta-lens
Version:
A novel way of seeing content.
60 lines (48 loc) • 1.51 kB
JavaScript
;
var Document = require('../../../substance/document');
var Affiliation = function(node, doc) {
Document.Node.call(this, node, doc);
};
Affiliation.type = {
"id": "affiliation",
"parent": "content",
"properties": {
"source_id": "string",
"city": "string",
"country": "string",
"department": "string",
"institution": "string",
"label": "string",
"specific_use": "string"
}
};
Affiliation.description = {
"name": "Affiliation",
"description": "Person affiliation",
"remarks": [
"Name of a institution or organization, such as a university or corporation, that is the affiliation for a contributor such as an author or an editor."
],
"properties": {
"institution": "Name of institution",
"department": "Department name",
"country": "Country where institution is located",
"city": "City of institution",
"label": "Affilation label. Usually a number counting up"
}
};
Affiliation.example = {
"id": "affiliation_1",
"source_id": "aff1",
"city": "Jena",
"country": "Germany",
"department": "Department of Molecular Ecology",
"institution": "Max Planck Institute for Chemical Ecology",
"label": "1",
"type": "affiliation"
};
Affiliation.Prototype = function() {};
Affiliation.Prototype.prototype = Document.Node.prototype;
Affiliation.prototype = new Affiliation.Prototype();
Affiliation.prototype.constructor = Affiliation;
Document.Node.defineProperties(Affiliation);
module.exports = Affiliation;