XooCode(){

Hackathon

Hackathon is an Event subtype for hackathons, code jams, coding competitions, and collaborative programming events. It adds no properties of its own. Use offers for registration (often free), maximumAttendeeCapacity for team limits, and about to describe the hackathon challenge or theme.

For a complete property walkthrough, see the Event example. Every property shown there applies to Hackathon. Replace "@type": "Event" with "@type": "Hackathon".

Full example of schema.org/Hackathon json-ld markup

The markup is verified as valid with Rich Results Test from Google.

Highlight legend:Required by GoogleRecommendedOptional
schema.org/Hackathon
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Hackathon",
  "name": "XooCode Schema Hackathon 2026",
  "url": "https://xoocode.com/hackathon/2026",
  "description": "48-hour hackathon: build tools that make structured data easier. Open to teams of 2-5. Prizes for best validator, best generator, and most creative use of schema.org.",
  "image": "https://xoocode.com/hackathon/2026/banner-16x9.jpg",
  "startDate": "2026-11-07T18:00:00-05:00",
  "endDate": "2026-11-09T18:00:00-05:00",
  "eventStatus": "https://schema.org/EventScheduled",
  "eventAttendanceMode": "https://schema.org/MixedEventAttendanceMode",
  "location": {
    "@type": "Place",
    "name": "The Thunderdome",
    "address": { "@type": "PostalAddress", "streetAddress": "500 Main Street", "addressLocality": "Dunmore", "addressRegion": "PA", "postalCode": "18512", "addressCountry": "US" }
  },
  "organizer": { "@id": "https://xoocode.com#organization", "@type": "Organization", "name": "Xoo Code Inc." },
  "offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD", "availability": "https://schema.org/InStock", "url": "https://xoocode.com/hackathon/2026/register" },
  "maximumAttendeeCapacity": 100,
  "isAccessibleForFree": true
}
</script>

Minimal valid version

The smallest markup that still produces a valid Hackathon entity. Use it as the floor. Reach for the advanced example above when you want search engines and AI agents to understand more about your content.

schema.org/Hackathon (minimal)
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Hackathon",
  "name": "XooCode Schema Hackathon 2026",
  "startDate": "2026-11-07T18:00:00-05:00",
  "eventStatus": "https://schema.org/EventScheduled",
  "eventAttendanceMode": "https://schema.org/MixedEventAttendanceMode",
  "location": { "@type": "Place", "name": "The Thunderdome", "address": { "@type": "PostalAddress", "streetAddress": "500 Main Street", "addressLocality": "Dunmore", "addressRegion": "PA", "addressCountry": "US" } },
  "image": "https://xoocode.com/hackathon/2026/banner-16x9.jpg",
  "description": "48-hour hackathon: build tools that make structured data easier."
}
</script>

Google rich results this unlocks

Markup matching this example makes your page eligible for the following Google Search rich results. The primary target drives the required / recommended property classification in the advanced code block above.

Common Hackathon mistakes

Mistakes that pass validation but silently fail to earn rich results or mislead consumers walking the graph. Avoid these and your markup will be ahead of most sites in the wild.

  1. 01

    Using generic Event for a hackathon

    Wrong
    "@type": "Event" for a coding competition or hack day
    Right
    "@type": "Hackathon"

    Hackathon is a recognized schema.org type. Using it helps tech-focused event aggregators and Google classify the event correctly.

Comments

Loading comments...

Leave a comment