((p "A single metadata (" (@L (@H "“") "metadatum" (@H "”")) ") is represented by a triple: a symbol representing the type, a symbol representing the key, and either a string or a list that represent the value.") (p "The symbol depends on the " (a (@ (href . "00001006030000")) "metadata key type") "." " " "The value also depends somehow on the key type: a set of values is represented as a list, all other values are represented by a string, even if it is a number.") (p "The following table maps key types to symbols and to the type of the value representation.") (table (thead (tr (th (@ (class . "left")) "Key Type") (th (@ (class . "left")) "Symbol") (th (@ (class . "left")) "Value"))) (tbody (tr (td (@ (class . "left")) (a (@ (href . "00001006031000")) "Credential")) (td (@ (class . "left")) (kbd "CREDENTIAL")) (td (@ (class . "left")) "string")) (tr (td (@ (class . "left")) (a (@ (href . "00001006031500")) "EString")) (td (@ (class . "left")) (kbd "EMPTY-STRING")) (td (@ (class . "left")) "string")) (tr (td (@ (class . "left")) (a (@ (href . "00001006032000")) "Identifier")) (td (@ (class . "left")) (kbd "ZID")) (td (@ (class . "left")) "string")) (tr (td (@ (class . "left")) (a (@ (href . "00001006032500")) "IdentifierSet")) (td (@ (class . "left")) (kbd "ZID-SET")) (td (@ (class . "left")) "ListValue")) (tr (td (@ (class . "left")) (a (@ (href . "00001006033000")) "Number")) (td (@ (class . "left")) (kbd "NUMBER")) (td (@ (class . "left")) "string")) (tr (td (@ (class . "left")) (a (@ (href . "00001006033500")) "String")) (td (@ (class . "left")) (kbd "STRING")) (td (@ (class . "left")) "string")) (tr (td (@ (class . "left")) (a (@ (href . "00001006034000")) "TagSet")) (td (@ (class . "left")) (kbd "TAG-SET")) (td (@ (class . "left")) "ListValue")) (tr (td (@ (class . "left")) (a (@ (href . "00001006034500")) "Timestamp")) (td (@ (class . "left")) (kbd "TIMESTAMP")) (td (@ (class . "left")) "string")) (tr (td (@ (class . "left")) (a (@ (href . "00001006035000")) "URL")) (td (@ (class . "left")) (kbd "URL")) (td (@ (class . "left")) "string")) (tr (td (@ (class . "left")) (a (@ (href . "00001006035500")) "Word")) (td (@ (class . "left")) (kbd "WORD")) (td (@ (class . "left")) "string")) (tr (td (@ (class . "left")) (a (@ (href . "00001006036500")) "Zettelmarkup")) (td (@ (class . "left")) (kbd "ZETTELMARKUP")) (td (@ (class . "left")) "string")))) (div (@ (class . "syntax")) (p (em "ListValue") " " (strong "=") " " (kbd "(") " String" (sub "1") " String" (sub "2") " … String" (sub "n") " " (kbd ")") ".")) (p "Examples:") (ul (li "The title of this zettel is represented as: " (kbd "(EMPTY-STRING title \"Encoding of Sz Metadata\")")) (li "The tags of this zettel are represented as: " (kbd "(TAG-SET tags (\"#api\" \"#manual\" \"#reference\" \"#zettelstore\"))"))))