File: /var/www/ojs/lib/pkp/schemas/site.json
{
"title": "Site",
"description": "The overall site hosting one or more contexts (journals/presses).",
"required": [
"title",
"contactName",
"contactEmail"
],
"properties": {
"about": {
"type": "string",
"multilingual": true,
"validation": [
"nullable"
]
},
"contactEmail": {
"type": "string",
"multilingual": true,
"validation": [
"nullable",
"email_or_localhost"
]
},
"contactName": {
"type": "string",
"multilingual": true,
"defaultLocaleKey": "common.software",
"validation": [
"nullable"
]
},
"enableBulkEmails": {
"type": "array",
"description": "Which hosted journals, presses or preprint servers are allowed to send bulk emails.",
"items": {
"type": "integer"
}
},
"installedLocales": {
"type": "array",
"items": {
"type": "string",
"validation": [
"regex:/^[a-z]{2}_[A-Z]{2}(@[a-z]{0,})?$/"
]
}
},
"minPasswordLength": {
"type": "integer",
"validation": [
"min:4"
]
},
"pageFooter": {
"type": "string",
"multilingual": true,
"validation": [
"nullable"
]
},
"pageHeaderTitleImage": {
"type": "object",
"multilingual": true,
"validation": [
"nullable"
],
"properties": {
"temporaryFileId": {
"type": "integer",
"writeOnly": true
},
"name": {
"type": "string"
},
"uploadName": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"dateUploaded": {
"type": "string"
},
"altText": {
"type": "string"
}
}
},
"primaryLocale": {
"type": "string",
"validation": [
"regex:/^[a-z]{2}_[A-Z]{2}(@[a-z]{0,})?$/"
]
},
"privacyStatement": {
"type": "string",
"multilingual": true,
"validation": [
"nullable"
]
},
"redirect": {
"type": "integer",
"validation": [
"nullable"
]
},
"sidebar": {
"type": "array",
"items": {
"type": "string",
"validation": [
"alpha_num"
]
}
},
"styleSheet": {
"type": "object",
"validation": [
"nullable"
],
"properties": {
"temporaryFileId": {
"type": "integer",
"writeOnly": true
},
"name": {
"type": "string"
},
"uploadName": {
"type": "string"
},
"dateUploaded": {
"type": "string"
}
}
},
"supportedLocales": {
"type": "array",
"items": {
"type": "string",
"validation": [
"regex:/^[a-z]{2}_[A-Z]{2}(@[a-z]{0,})?$/"
]
}
},
"themePluginPath": {
"type": "string",
"default": "default"
},
"title": {
"type": "string",
"multilingual": true,
"validation": [
"nullable"
]
}
}
}