This site provides a machine-readable index at /llms.txt.

Skip to main content Skip to navigation

JsonLdArticle Pennington.StructuredData

JSON-LD Article schema for content pages.

Properties

AuthorName string?
Default: null
Display name of the author, when known.
DatePublished System.DateTime?
Default: null
Publication date, when known.
Description string?
Default: null
Short description of the article.
Headline string
Article headline.
Url string
Canonical URL of the article.

Constructors

.ctor

#
public record JsonLdArticle(
    string Headline,
    string? Description,
    string Url,
    DateTime? DatePublished,
    string? AuthorName
);

JSON-LD Article schema for content pages.

Parameters

Headline string
Article headline.
Description string?
Short description of the article.
Url string
Canonical URL of the article.
DatePublished DateTime?
Publication date, when known.
AuthorName string?
Display name of the author, when known.

Pennington.StructuredData.JsonLdArticle

namespace Pennington.StructuredData;

/// JSON-LD Article schema for content pages.
public record JsonLdArticle
{
    /// JSON-LD Article schema for content pages.
    
public record JsonLdArticle(
    string Headline,
    string? Description,
    string Url,
    DateTime? DatePublished,
    string? AuthorName
);
/// Display name of the author, when known.
string? AuthorName
; /// Publication date, when known.
DateTime? DatePublished
; /// Short description of the article.
string? Description
; /// Article headline.
string Headline
; /// Canonical URL of the article.
string Url
; }