@pdfa-lab/core / RdfSerialisationOptions
Interface: RdfSerialisationOptions ​
Defined in: xmp/xmp-document.ts:55
Serialisation options.
Properties ​
flags? ​
optionalflags?:string
Defined in: xmp/xmp-document.ts:69
Common flags used internally (you can combine them, e.g. 'o k'):
- s i – used by default for Turtle to suppress =, => notations
- d e i n p r s t u x – used for N-Triples/N-Quads to simplify output
- dr – used with JSON‑LD conversion (no default, no relative prefix) o – new: do not abbreviate to a prefixed name when the local part contains a dot. This keeps IRIs like http://example.org/ns/subject.example in <...> form instead of ns:subject.example.
Notes:
For Turtle and JSON‑LD, user‑provided flags are merged with the defaults so your flags (like o) are honored. By contrast, passing 'p' disables prefix abbreviations entirely (all terms are written as <...> IRIs).