{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://taxonmark.com/api/v1/types/news-article-correction",
    "title": "News Article / Correction Record",
    "type": "object",
    "required": [
        "outlet",
        "article_url"
    ],
    "properties": {
        "outlet": {
            "title": "Outlet",
            "type": "string",
            "maxLength": 1000
        },
        "article_url": {
            "title": "Article URL",
            "type": "string",
            "format": "uri"
        },
        "correction_text": {
            "title": "Correction",
            "type": "string",
            "x-widget": "textarea",
            "maxLength": 20000
        },
        "correction_date": {
            "title": "Correction date",
            "type": "string",
            "format": "date"
        }
    },
    "additionalProperties": true
}