TGS namespace

https://typedgraph.org/ns/tgs# (prefix tgs:) names the annotations a Typed Graph Schema SHACL export adds for what SHACL cannot express. SHACL engines ignore them.

TermOnValueMeaning
tgs:notenode shapestringVault-relative path of the schema note that declared the type or edge type. Importers may use it to group types into notes.
tgs:templatenode shapestringThe type's template link: a wikilink, a markdown link or a vault-relative path.
tgs:templateBodynode shapestringThe body of the schema note of a type declared with schema:, which is that type's template.
tgs:visualizationnode shapeJSON stringThe type's or edge type's visualization mapping, serialized as JSON with sorted keys.
tgs:edgesClosednode shapebooleanTrue when the type declares edges: outgoing edges of other types are reported. Unlike sh:closed it leaves frontmatter properties open.
tgs:edgeproperty shapebooleanTrue for an edge entry that allows any target type, which has no sh:class to mark it as an edge.
tgs:kindproperty shapestring"list" for a property of kind list, which SHACL cannot distinguish from a text property with many values.
tgs:defaultproperty shapeJSON stringA non-scalar default value, such as a list, serialized as JSON. Scalar defaults use sh:defaultValue.
tgs:elementsnode shapeJSON stringThe type's elements declarations (TGS 0.4) as a JSON literal.
tgs:sectionsnode shapeJSON stringThe type's sections declarations (TGS 0.4) as a JSON literal.

Machine-readable: namespace.json. Defined in section 13.4 of the specification.

Formerly https://volland.github.io/obsigraph/ns/tgs#, used by TGS 0.1 to 0.5. Importers read terms in a former namespace as the same terms.