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.
| Term | On | Value | Meaning |
|---|---|---|---|
tgs:note | node shape | string | Vault-relative path of the schema note that declared the type or edge type. Importers may use it to group types into notes. |
tgs:template | node shape | string | The type's template link: a wikilink, a markdown link or a vault-relative path. |
tgs:templateBody | node shape | string | The body of the schema note of a type declared with schema:, which is that type's template. |
tgs:visualization | node shape | JSON string | The type's or edge type's visualization mapping, serialized as JSON with sorted keys. |
tgs:edgesClosed | node shape | boolean | True when the type declares edges: outgoing edges of other types are reported. Unlike sh:closed it leaves frontmatter properties open. |
tgs:edge | property shape | boolean | True for an edge entry that allows any target type, which has no sh:class to mark it as an edge. |
tgs:kind | property shape | string | "list" for a property of kind list, which SHACL cannot distinguish from a text property with many values. |
tgs:default | property shape | JSON string | A non-scalar default value, such as a list, serialized as JSON. Scalar defaults use sh:defaultValue. |
tgs:elements | node shape | JSON string | The type's elements declarations (TGS 0.4) as a JSON literal. |
tgs:sections | node shape | JSON string | The 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.