schema-dts & schema-dts-gen v1.1.0
Small, backwards-compatible improvements to schema-dts and schema-dts-gen
Changes in schema-dts
- Improved comment quality by properly including unicode and unescaped characters. (thanks to #174)
- Includes latest Schema.org additions of Healthcare Businesses
Diff from 1.0.0: https://www.diffchecker.com/RtKuuqMG
Changes in schema-dts-gen
- Uses N3.js to parse N-Triple files instead of a custom regex, this has a number of benefits:
--ontology
can now be an.nt
file or a.tt
Turtle file- Improved output comment quality by properly including unicode and unescaped characters
- Can parse string literals of length 0 or 1 (previously the shortest string that could be parsed in input was 2 characters long)
- Can use rdfs:domain and rdfs:range instead of schema:domainIncludes and schema:rangeIncludes -- See #172
- Parser does not choke when seeing OWL properties (though it doesn't explicitly support them) - See #172
- Accept "unnamed" IRIs, such as "https://schema.org" (as opposed to "https://schema.org/Thing"), and handle them properly
- Less special-handling of meta-schema (isPartOf, meta comments, etc.) -- The converter is more comfortable with entities it doesn't know about