From 2c9deb7c585a7a6a36ce2274db7461aefa184b87 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Wed, 21 Sep 2022 15:13:52 -0700 Subject: [PATCH] add some more namespaces, and talk about uri for hashes --- ui/NOTES.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/ui/NOTES.md b/ui/NOTES.md index bb4034c..15777c2 100644 --- a/ui/NOTES.md +++ b/ui/NOTES.md @@ -16,6 +16,7 @@ Namespaces: These are shorthand: `dc:xxx` -> Dublin Core `upnp:xxx` -> UPnP Content Directory Service +`ms:xxx` -> medashare defined Copy XML and canonical version is `{url}:xxx`. There will needs to be a fixed and versioned set of aliases that don't need to be spelled out, and @@ -46,6 +47,11 @@ seriesTitle -- title of the TV series e.g. The West Wing programCode programCode@type (matchingID from SRS, use domain_uniq, e.g. funkthat.com_generic when there isn't anything special about the programCode, funkthat.com_generic_tv when it matches the standard TV show, such as S02E05) +Common ms properties: +tag +private -- will be ignored in general searches, unless explicitly added (value does not matter) +rating -- 0 through 10, inclusive, usually 10 is great, 0 is bad/terrible, what this rating specifically means is left to the creator + Automatic creation/mappings of some of the terms should be applicable. Complete list of terms are here: https://www.dublincore.org/specifications/dublin-core/dcmi-terms/ @@ -55,3 +61,18 @@ https://www.dublincore.org/resources/userguide/creating_metadata/ OWL: https://en.wikipedia.org/wiki/Web_Ontology_Language https://www.w3.org/TR/owl-ref/ https://en.wikipedia.org/wiki/Semantic_Web + +How to handle revisions of files? Point them to the previous metadata? Automatically like them +if list and the hash changes? prompt? + + +type: host +hostuuid +hostname + +Currently only useful for UI to make it easier to map hostuuid when mapping... + +URN for hashes: +https://www.nuke24.net/docs/2015/HashURNs.html +https://github.com/hash-uri/hash-uri +https://datatracker.ietf.org/doc/html/draft-thiemann-hash-urn-01