Notice

An incident or maintenance notice on the University of St Andrews service status page.

EducationHigher EducationUniversityResearchOpen AccessOAI-PMHScotlandUnited Kingdom

Properties

Name Type Description
id integer
type string
timeline_state string
state string Current notice state, e.g. investigating, scheduled, recovering, resolved, complete, cancelled. Absent for general notices.
subject string
url string
begins_at stringnull
ends_at stringnull
began_at stringnull
ended_at stringnull
created_at string
updated_at string
tag_list array
links object
latest_update object
components array
updates array
View JSON Schema on GitHub

JSON Schema

university-of-st-andrews-notice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://status.st-andrews.ac.uk/schema/notice.json",
  "title": "Notice",
  "description": "An incident or maintenance notice on the University of St Andrews service status page.",
  "type": "object",
  "properties": {
    "id": { "type": "integer" },
    "type": {
      "type": "string",
      "enum": ["general", "planned", "unplanned"]
    },
    "timeline_state": {
      "type": "string",
      "enum": ["future", "present", "past_recent", "past_distant"]
    },
    "state": {
      "type": "string",
      "description": "Current notice state, e.g. investigating, scheduled, recovering, resolved, complete, cancelled. Absent for general notices."
    },
    "subject": { "type": "string" },
    "url": { "type": "string", "format": "uri" },
    "begins_at": { "type": ["string", "null"], "format": "date-time" },
    "ends_at": { "type": ["string", "null"], "format": "date-time" },
    "began_at": { "type": ["string", "null"], "format": "date-time" },
    "ended_at": { "type": ["string", "null"], "format": "date-time" },
    "created_at": { "type": "string", "format": "date-time" },
    "updated_at": { "type": "string", "format": "date-time" },
    "tag_list": {
      "type": "array",
      "items": { "type": "string" }
    },
    "links": {
      "type": "object",
      "properties": {
        "self": { "type": "string" }
      }
    },
    "latest_update": {
      "type": "object",
      "properties": {
        "id": { "type": "integer" },
        "state": { "type": "string" },
        "content": { "type": "string" },
        "url": { "type": "string" },
        "created_at": { "type": "string", "format": "date-time" },
        "updated_at": { "type": "string", "format": "date-time" }
      }
    },
    "components": {
      "type": "array",
      "items": { "$ref": "university-of-st-andrews-component-schema.json" }
    },
    "updates": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": { "type": "integer" },
          "state": { "type": "string" },
          "content": { "type": "string" },
          "url": { "type": "string" },
          "created_at": { "type": "string", "format": "date-time" },
          "updated_at": { "type": "string", "format": "date-time" }
        }
      }
    }
  },
  "required": ["id", "type", "subject", "url"]
}