((META (EMPTY-STRING title "Encoding of Sz Metadata") (WORD role "manual") (TAG-SET tags ("#api" "#manual" "#reference" "#zettelstore")) (WORD syntax "zmk") (ZID-SET back ("00001012931000")) (ZID-SET backward ("00001012931000")) (NUMBER box-number "1") (STRING copyright "(c) 2020-present by Detlef Stern ") (TIMESTAMP created "20230403161618") (ZID-SET forward ("00001006030000" "00001006031000" "00001006031500" "00001006032000" "00001006032500" "00001006033000" "00001006033500" "00001006034000" "00001006034500" "00001006035000" "00001006035500" "00001006036500")) (WORD lang "en") (EMPTY-STRING license "EUPL-1.2-or-later") (TIMESTAMP modified "20240219161848") (TIMESTAMP published "20240219161848") (WORD visibility "public")) (BLOCK (PARA (TEXT "A single metadata (") (FORMAT-QUOTE () (TEXT "metadatum")) (TEXT ") 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.")) (PARA (TEXT "The symbol depends on the ") (LINK-ZETTEL () "00001006030000" (TEXT "metadata key type")) (TEXT ".") (SOFT) (TEXT "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.")) (PARA (TEXT "The following table maps key types to symbols and to the type of the value representation.")) (TABLE ((CELL-LEFT (TEXT "Key Type")) (CELL-LEFT (TEXT "Symbol")) (CELL-LEFT (TEXT "Value"))) ((CELL-LEFT (LINK-ZETTEL () "00001006031000" (TEXT "Credential"))) (CELL-LEFT (LITERAL-INPUT () "CREDENTIAL")) (CELL-LEFT (TEXT "string"))) ((CELL-LEFT (LINK-ZETTEL () "00001006031500" (TEXT "EString"))) (CELL-LEFT (LITERAL-INPUT () "EMPTY-STRING")) (CELL-LEFT (TEXT "string"))) ((CELL-LEFT (LINK-ZETTEL () "00001006032000" (TEXT "Identifier"))) (CELL-LEFT (LITERAL-INPUT () "ZID")) (CELL-LEFT (TEXT "string"))) ((CELL-LEFT (LINK-ZETTEL () "00001006032500" (TEXT "IdentifierSet"))) (CELL-LEFT (LITERAL-INPUT () "ZID-SET")) (CELL-LEFT (TEXT "ListValue"))) ((CELL-LEFT (LINK-ZETTEL () "00001006033000" (TEXT "Number"))) (CELL-LEFT (LITERAL-INPUT () "NUMBER")) (CELL-LEFT (TEXT "string"))) ((CELL-LEFT (LINK-ZETTEL () "00001006033500" (TEXT "String"))) (CELL-LEFT (LITERAL-INPUT () "STRING")) (CELL-LEFT (TEXT "string"))) ((CELL-LEFT (LINK-ZETTEL () "00001006034000" (TEXT "TagSet"))) (CELL-LEFT (LITERAL-INPUT () "TAG-SET")) (CELL-LEFT (TEXT "ListValue"))) ((CELL-LEFT (LINK-ZETTEL () "00001006034500" (TEXT "Timestamp"))) (CELL-LEFT (LITERAL-INPUT () "TIMESTAMP")) (CELL-LEFT (TEXT "string"))) ((CELL-LEFT (LINK-ZETTEL () "00001006035000" (TEXT "URL"))) (CELL-LEFT (LITERAL-INPUT () "URL")) (CELL-LEFT (TEXT "string"))) ((CELL-LEFT (LINK-ZETTEL () "00001006035500" (TEXT "Word"))) (CELL-LEFT (LITERAL-INPUT () "WORD")) (CELL-LEFT (TEXT "string"))) ((CELL-LEFT (LINK-ZETTEL () "00001006036500" (TEXT "Zettelmarkup"))) (CELL-LEFT (LITERAL-INPUT () "ZETTELMARKUP")) (CELL-LEFT (TEXT "string")))) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "ListValue")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(") (TEXT " String") (FORMAT-SUB () (TEXT "1")) (TEXT " String") (FORMAT-SUB () (TEXT "2")) (TEXT " … String") (FORMAT-SUB () (TEXT "n")) (TEXT " ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "Examples:")) (UNORDERED (INLINE (TEXT "The title of this zettel is represented as: ") (LITERAL-INPUT () "(EMPTY-STRING title \"Encoding of Sz Metadata\")")) (INLINE (TEXT "The tags of this zettel are represented as: ") (LITERAL-INPUT () "(TAG-SET tags (\"#api\" \"#manual\" \"#reference\" \"#zettelstore\"))")))))