Thank you all for replies
I am further working on Capr for study a thon of the industry WG.
There is related thread here: Phenotype Phebruary - Capr style!
and relevant repo: GitHub - ohdsi-studies/PhenotypePhebruaryCapr: Repo to store Capr implementations of all cohort definitions created during Phenotype Phebruary
I am finding that when I try generate SQL using CirceR and feed it with json from Capr - I am getting an error.
https://rpubs.com/vojtech_huser/1306691
There was also recent discussion in the Technology Advisory Group around JSON role (schema) (ask @Frank for more or wait few weeks)