HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vmi1674223.contaboserver.net 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: root (0)
PHP: 7.4.3-4ubuntu2.22
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/ojs/lib/pkp/schemas/announcement.json
{
	"title": "Announcement",
	"description": "An announcement or news item.",
	"required": [
		"assocType",
		"assocId",
		"title"
	],
	"properties": {
		"_href": {
			"type": "string",
			"description": "The URL to this announcement in the REST API.",
			"format": "uri",
			"readOnly": true,
			"apiSummary": true
		},
		"assocId": {
			"type": "integer",
			"description": "The journal, press or preprint server ID.",
			"apiSummary": true
		},
		"assocType": {
			"type": "integer",
			"description": "The assoc object. This should always be `ASSOC_TYPE_JOURNAL` (OJS), `ASSOC_TYPE_PRESS` (OMP) or `ASSOC_TYPE_SERVER` (OPS).",
			"apiSummary": true
		},
		"dateExpire": {
			"type": "string",
			"description": "(Optional) The date that this announcement expires, if one is set. This is typically used to express closing dates for calls for papers.",
			"apiSummary": true,
			"validation": [
				"nullable",
				"date_format:Y-m-d"
			]
		},
		"datePosted": {
			"type": "string",
			"description": "The date this announcement was posted.",
			"apiSummary": true,
			"validation": [
				"nullable",
				"date_format:Y-m-d H:i:s"
			]
		},
		"description": {
			"type": "string",
			"description": "The full text of the announcement.",
			"multilingual": true,
			"apiSummary": true,
			"validation": [
				"nullable"
			]
		},
		"descriptionShort": {
			"type": "string",
			"description": "A summary of this announcement.",
			"multilingual": true,
			"apiSummary": true,
			"validation": [
				"nullable"
			]
		},
		"id": {
			"type": "integer",
			"apiSummary": true
		},
		"title": {
			"type": "string",
			"multilingual": true,
			"apiSummary": true,
			"validation": [
				"nullable"
			]
		},
		"typeId": {
			"type": "integer",
			"description": "(Optional) One of the announcement type ids.",
			"apiSummary": true,
			"validation": [
				"nullable"
			]
		}
	}
}