Simplified Data Template (SDT) - data types

Not sure I get your meaning. The thing that comes after the ‘|’ in Marand Web Template format is just the name of an RM attribute, except in some cases, Better shortened it (e.g. ‘identifier’ -> ‘id’). E.g.

"_participation": [
    {
       "|function": "requester",
       "|mode": "face-to-face communication",
       "|name": "Dr. Marcus Johnson",
       "|id": "199"
    }
]

or

{
    "|code": "238",
    "|value": "other care",
    "|terminology": "openehr"
}

If we take those ‘|’ characters out, we have normal JSON. It’s only if we want paths rather than just attribute names that the bar tells us something, as far as I can see.

Personally I actually like the bar, it’s a neat idea, and would have been great in JSON. But in the real world, we have to treat it as a custom thing.

Anyway, I still don’t know what you mean by ‘token()’…