Type-Link-Model (TLM) is a simple modelling technique inspired by Object Role Modelling that is suitable for working with web APIs and the typical simple tree structures used in web documents. You can see an early version of the spec below, then look at the code on github for what is currently implemented.

This is an unfinished hobby project. Use at your own risk.