JsonLdBreadcrumbItem
Pennington.StructuredData
A single rung in a JsonLdBreadcrumbList.
Properties
Namestring- requiredDisplay name for this crumb.
Positionint- required1-based position of the item in the crumb trail.
Typestring- schema.org @type literal.
Urlstring- URL the crumb links to. Omitted when null (typically the current page).
Pennington.StructuredData.JsonLdBreadcrumbItem
namespace Pennington.StructuredData;
/// A single rung in a JsonLdBreadcrumbList.
public record JsonLdBreadcrumbItem
{
/// Display name for this crumb.
public string Name { get; set; }
/// 1-based position of the item in the crumb trail.
public int Position { get; set; }
/// schema.org @type literal.
public string Type { get; }
/// URL the crumb links to. Omitted when null (typically the current page).
public string Url { get; set; }
}