← All types

DiscussionForumPosting

JSON-LD Output

{
    "@context": "https://schema.org/",
    "@type": "DiscussionForumPosting",
    "author": {
        "@type": "Person",
        "name": "Alex Thompson"
    },
    "datePublished": "2025-03-10T14:30:00Z",
    "text": "Has anyone managed to get the new schema.org VacationRental type working with Google Rich Results? I keep getting validation warnings about missing fields.",
    "headline": "VacationRental schema validation issues",
    "url": "https://example.com/forum/posts/vacationrental-schema",
    "dateModified": "2025-03-10T16:30:00Z",
    "image": {
        "@type": "ImageObject",
        "contentUrl": "https://example.com/forum/posts/vacationrental-schema/screenshot.png",
        "width": "800",
        "height": "600"
    },
    "video": {
        "@type": "VideoObject",
        "name": "VacationRental Schema Tutorial",
        "thumbnailUrl": [
            "https://example.com/videos/schema-tutorial-thumb.jpg"
        ],
        "uploadDate": "2025-03-09T10:00:00Z",
        "description": "Step-by-step guide to implementing VacationRental schema",
        "contentUrl": "https://example.com/videos/schema-tutorial.mp4"
    },
    "comment": [
        {
            "@type": "Comment",
            "text": "Yes! Make sure you include the address and aggregateRating fields. Those are recommended by Google.",
            "author": {
                "@type": "Person",
                "name": "Sarah Dev"
            },
            "datePublished": "2025-03-10T15:45:00Z"
        },
        {
            "@type": "Comment",
            "text": "I found that the bestRating and worstRating fields on nested ratings also trigger warnings if omitted.",
            "author": {
                "@type": "Person",
                "name": "Mike Builder"
            },
            "datePublished": "2025-03-10T16:20:00Z"
        }
    ],
    "interactionStatistic": [
        {
            "@type": "InteractionCounter",
            "interactionType": "https://schema.org/LikeAction",
            "userInteractionCount": 42
        },
        {
            "@type": "InteractionCounter",
            "interactionType": "https://schema.org/CommentAction",
            "userInteractionCount": 2
        }
    ],
    "isPartOf": "https://example.com/forum/schema-org-discussion",
    "sharedContent": "https://developers.google.com/search/docs/appearance/structured-data/vacation-rental",
    "creativeWorkStatus": "Published",
    "mainEntityOfPage": "https://example.com/forum/posts/vacationrental-schema"
}

Source: generate-discussionforumposting.php

Schema: https://schema.org/DiscussionForumPosting