Skip to content
Templates for creating a dataset site
HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
datasetsite.mustache
example.json

README.md

dataset-site-template

About

This repository contains a mustache template for creating an OpenActive dataset site, similar to those that can be found at https://status.openactive.io.

It is designed to be embedded in a booking system, and easily customised.

Getting Started

Simply construct the JSON-LD found in example.json based on your organisation (for single database systems) or your customers' own properties (for multiple database systems), then process it with the following steps.

Steps to render the template:

  1. Stringify the input JSON, and place the contents of the string within the "json" property at the root of the JSON itself.
  2. Use the resulting JSON with the mustache template to render the dataset site.

Examples

C# .NET

This repository contains a full example written in C#.

JavaScript

This sample contains a full example written in JavaScript.

You can’t perform that action at this time.