Announcement

An in-app announcement surfaced to PoliTO students (source: polito/api-spec).

EducationHigher EducationUniversityItalyOpen DataMobileOpenAPI

Properties

Name Type Description
id string
title string
contents string
description string
scope string
seen boolean
date string
cover string
View JSON Schema on GitHub

JSON Schema

politecnico-di-torino-announcement-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/politecnico-di-torino/main/json-schema/politecnico-di-torino-announcement-schema.json",
  "title": "Announcement",
  "description": "An in-app announcement surfaced to PoliTO students (source: polito/api-spec).",
  "type": "object",
  "required": ["id", "title", "contents", "scope", "seen", "date"],
  "properties": {
    "id": { "type": "string", "examples": ["abc-123"] },
    "title": { "type": "string", "examples": ["Welcome to the app"] },
    "contents": { "type": "string", "examples": ["Here is a quick guide to get started."] },
    "description": { "type": "string", "examples": ["Onboarding announcement"] },
    "scope": { "type": "string", "examples": ["onboarding"] },
    "seen": { "type": "boolean" },
    "date": { "type": "string", "format": "date-time" },
    "cover": { "type": "string", "format": "uri" }
  }
}