changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "articles": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "author": {
+ "type": "string"
+ },
+ "datasets": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "coverage": {
+ "description": "How much of the place set the data covers, as the article states it.",
+ "type": "string"
+ },
+ "slug": {
+ "description": "The dataset's slug in GET /datasets, when the page is one of them.",
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "vintage": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "deck": {
+ "type": "string"
+ },
+ "markdownUrl": {
+ "description": "The whole article as Markdown, with its citation at both ends.",
+ "type": "string"
+ },
+ "places": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "description": "ISTAT code for a comune, sigla for a province, slug for a region.",
+ "type": "string"
+ },
+ "grain": {
+ "enum": [
+ "comune",
+ "province",
+ "region"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "grain",
+ "code",
+ "name",
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "published": {
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "published",
+ "archived"
+ ],
+ "type": "string"
+ },
+ "supersededBy": {
+ "description": "Slug of the newer article that replaces this one.",
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "topics": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "updated": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "slug",
+ "title",
+ "deck",
+ "author",
+ "published",
+ "updated",
+ "status",
+ "topics",
+ "url",
+ "markdownUrl",
+ "places",
+ "datasets"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "attribution": {
+ "additionalProperties": false,
+ "properties": {
+ "citeAs": {
+ "description": "Per article: \"“<title>” by <author>, Expat Living Italy, <date>. <url>\".",
+ "type": "string"
+ },
+ "creditText": {
+ "type": "string"
+ },
+ "license": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "url"
+ ],
+ "type": "object"
+ },
+ "required": {
+ "const": true,
+ "description": "Credit with a link is the condition of free use (CC BY 4.0).",
+ "type": "boolean"
+ },
+ "requirement": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "required",
+ "license",
+ "creditText",
+ "requirement",
+ "citeAs"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "articles",
+ "attribution"
+ ],
+ "type": "object"
+}