For transformations (which you would use in the State Description metadata) see Transformations | openHAB and pay attention to and follow the link to Item and Sitemap labels.
Beyond that no docs exist. The UI stuff is based on the F7 framework so a lot of stuff can be found documented there.