blog.eyas.sh
Schema.org Classes in TypeScript: Properties and Special Cases | Eyas's Blog
In our quest to model Schema.org classes in TypeScript, we’ve so far managed to model the type hierarchy, scalar DataType values, and enums. The big piece that remains, however, is representing what’s actually inside of the class: it’s properties. After all, what it means for a JSON-LD literal to have "@type" equal to "Person" is …