← All types

NewsArticle

JSON-LD Output

{
    "@context": "https://schema.org/",
    "@type": "NewsArticle",
    "headline": "City Council Approves $50M Green Infrastructure Plan",
    "author": {
        "@type": "Person",
        "name": "Sarah Greenfield"
    },
    "datePublished": "2025-03-10T09:00:00Z",
    "dateModified": "2025-03-10T14:30:00Z",
    "image": [
        "https://example.com/photos/green-plan-1x1.jpg",
        "https://example.com/photos/green-plan-4x3.jpg",
        "https://example.com/photos/green-plan-16x9.jpg"
    ],
    "description": "The city council voted unanimously to approve a $50 million plan for green infrastructure improvements including urban forests, rain gardens, and permeable pavements.",
    "publisher": {
        "@type": "Organization",
        "name": "Metro Daily News",
        "url": "https://metrodaily.example.com",
        "logo": "https://metrodaily.example.com/logo.png"
    },
    "speakable": {
        "@type": "SpeakableSpecification",
        "cssSelector": [
            ".article-headline",
            ".article-summary"
        ],
        "xpath": [
            "/html/head/title",
            "//meta[@name=\"description\"]/@content"
        ]
    },
    "isAccessibleForFree": false,
    "hasPart": [
        {
            "@type": "WebPageElement",
            "isAccessibleForFree": true,
            "cssSelector": ".article-lead"
        },
        {
            "@type": "WebPageElement",
            "isAccessibleForFree": false,
            "cssSelector": ".article-body"
        }
    ]
}

Source: generate-newsarticle.php

Schema: https://schema.org/NewsArticle