diff --git a/schema.json b/schema.json index 741bea5..09dcc94 100644 --- a/schema.json +++ b/schema.json @@ -3,24 +3,26 @@ "title": "Markdown Note", "description": "Knowledge Base Markdown note on a topic", "$schema": "http://json-schema.org/draft-07/schema#", - "required": ["obj"], + "required": [ + "obj" + ], "properties": { - "tags": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Note Tags", - "description": "List of tags asssociated with the note" - }, - "aliases": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Note Aliases", - "description": "List of aliases of the note" - }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "title": "Note Tags", + "description": "List of tags asssociated with the note" + }, + "aliases": { + "type": "array", + "items": { + "type": "string" + }, + "title": "Note Aliases", + "description": "List of aliases of the note" + }, "website": { "title": "Website", "description": "Associated website with the note", @@ -64,6 +66,22 @@ "type": "string", "format": "uri" }, + "mime": { + "title": "MIME Type", + "description": "The MIME Type of the item the note is about", + "type": "string" + }, + "extension": { + "title": "File Extension", + "description": "The file extension of the item the note is about", + "type": [ + "string", + "array" + ], + "items": { + "type": "string" + } + }, "obj": { "title": "Object Type", "description": "Meta information about the notes general classification", @@ -71,7 +89,7 @@ "enum": [ "application", "os", - "codec", + "format", "filesystem", "emulator", "concept", @@ -166,4 +184,4 @@ } } ] -} +} \ No newline at end of file diff --git a/technology/applications/cli/compression/tar.md b/technology/applications/cli/compression/tar.md index 2c86756..90ba5b4 100644 --- a/technology/applications/cli/compression/tar.md +++ b/technology/applications/cli/compression/tar.md @@ -1,9 +1,12 @@ --- obj: application os: linux +mime: "application/tar" +extension: "tar" website: https://savannah.gnu.org/projects/tar repo: https://git.savannah.gnu.org/cgit/tar.git --- + # Tar Tar is the most widely used command in Unix and Linux like operating system for creating archive of multiple files and folders into a single archive file and that archive file can be further compressed using other compression techniques diff --git a/technology/dev/programming/languages/Python.md b/technology/dev/programming/languages/Python.md index 6666f30..55d737e 100644 --- a/technology/dev/programming/languages/Python.md +++ b/technology/dev/programming/languages/Python.md @@ -1,6 +1,8 @@ --- website: https://www.python.org -obj: application +obj: concept +mime: "text/python" +extension: "py" --- # Python diff --git a/technology/dev/programming/languages/Rust.md b/technology/dev/programming/languages/Rust.md index cc7d9f4..7c251a7 100644 --- a/technology/dev/programming/languages/Rust.md +++ b/technology/dev/programming/languages/Rust.md @@ -1,7 +1,9 @@ --- website: https://www.rust-lang.org source: https://doc.rust-lang.org/book -obj: application +mime: "text/rust" +extension: "rs" +obj: concept --- # Rust diff --git a/technology/files/CSV.md b/technology/files/CSV.md index 56a44a4..3c2ea87 100644 --- a/technology/files/CSV.md +++ b/technology/files/CSV.md @@ -1,8 +1,11 @@ --- wiki: https://en.wikipedia.org/wiki/Comma-separated_values rfc: https://datatracker.ietf.org/doc/html/rfc4180 -obj: concept +obj: format +extension: "csv" +mime: "text/csv" --- + # CSV Comma-separated values (CSV) is a text file format that uses commas to separate values. A CSV file stores tabular data (numbers and text) in plain text, where each line of the file typically represents one data record. Each record consists of the same number of fields, and these are separated by commas in the CSV file. If the field delimiter itself may appear within a field, fields can be surrounded with quotation marks. diff --git a/technology/files/Comic Book Archive.md b/technology/files/Comic Book Archive.md index b92ffc9..60f9574 100644 --- a/technology/files/Comic Book Archive.md +++ b/technology/files/Comic Book Archive.md @@ -1,6 +1,8 @@ --- -obj: concept +obj: format wiki: https://en.wikipedia.org/wiki/Comic_book_archive +extension: ["cb7", "cba", "cbz", "cbt", "cbr"] +mime: "application/vnd.comicbook+zip" --- # Comic Book Archive diff --git a/technology/files/Desktop Entry.md b/technology/files/Desktop Entry.md index db5c232..1d85ec8 100644 --- a/technology/files/Desktop Entry.md +++ b/technology/files/Desktop Entry.md @@ -1,7 +1,10 @@ --- arch-wiki: https://wiki.archlinux.org/title/desktop_entries obj: concept +extension: "desktop" +mime: "application/desktop" --- + # Desktop Entry The [XDG Desktop Entry specification](https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html) defines a standard for applications to integrate into application menus of desktop environments implementing the [XDG Desktop Menu](https://specifications.freedesktop.org/menu-spec/menu-spec-latest.html) specification. diff --git a/technology/files/Electronic Mail File.md b/technology/files/Electronic Mail File.md index 4d61fa1..7da2a8e 100644 --- a/technology/files/Electronic Mail File.md +++ b/technology/files/Electronic Mail File.md @@ -1,5 +1,8 @@ --- -obj: concept +obj: format +mime: "message/rfc822" +extension: "eml" +rfc: https://datatracker.ietf.org/doc/html/rfc822 aliases: ["eml"] --- diff --git a/technology/files/JSON.md b/technology/files/JSON.md index 1f022c5..24fd02d 100644 --- a/technology/files/JSON.md +++ b/technology/files/JSON.md @@ -1,6 +1,8 @@ --- website: https://www.json.org -obj: concept +obj: format +extension: "json" +mime: "application/json" --- # JSON diff --git a/technology/files/LRC.md b/technology/files/LRC.md index b4b96c7..17bd75f 100644 --- a/technology/files/LRC.md +++ b/technology/files/LRC.md @@ -1,5 +1,7 @@ --- -obj: concept +obj: format +extesion: "lrc" +mime: "text/plain" wiki: https://en.wikipedia.org/wiki/LRC_(file_format) --- diff --git a/technology/files/MIME.md b/technology/files/MIME.md index 8d96722..00e9b14 100644 --- a/technology/files/MIME.md +++ b/technology/files/MIME.md @@ -48,7 +48,6 @@ Types, subtypes, and parameter names are case-insensitive. Parameter values are | `application/vnd.microsoft.portable-executable` | `.exe` | [Windows](../windows/Windows.md) Executable | | `application/vnd.sqlite3` | `.db`,`.sqlite`, `.sqlite3` | [SQLite](../dev/programming/SQLite.md) Database | | `application/x-iso9660-image` | `.iso`, `.isoimg`, `.cdr` | ISO Images | -| `application/gzip` | `.gz`, `.tgz` | [ZIP](ZIP.md) Files | | `application/http` | - | [HTTP](../internet/HTTP.md) | | `application/javascript` | `.js` | Javascript | | `application/json` | `.json` | [JSON](JSON.md) Data | @@ -87,12 +86,12 @@ Types, subtypes, and parameter names are case-insensitive. Parameter values are | `audio/flac` | `.flac` | [FLAC](media/audio/FLAC.md) | | `audio/matroska` | `.mka` | [Matroska](media/Matroska.md) Audio | | `audio/wav` | `.wav` | [WAV](media/audio/WAV.md) | -| `audio/x-mpegurl` | `.m3u` | [Playlist File](media/m3u.md) | +| `audio/x-mpegurl` | `.m3u`, `.m3u8` | [Playlist File](media/m3u.md) | ### Font | MIME Type | Extensions | Description | | ----------- | ---------- | -------------------- | -| `font/ttf` | `.ttf` | TrueType Fon | +| `font/ttf` | `.ttf` | TrueType Font | | `font/otf` | `.otf` | OpenType Font | | `font/woff` | `.woff` | Web Open Font Format | @@ -138,6 +137,7 @@ Types, subtypes, and parameter names are case-insensitive. Parameter values are | MIME Type | Extensions | Description | | ---------------- | ------------------------------------------------ | --------------------------------------------------------------------------------------- | | `text/calendar` | `.ics` | [Calendar](iCalendar.md) | +| `text/vcard` | `.vcf` | [Contact File](vCard.md) | | `text/css` | `.css` | [CSS](../internet/CSS.md) Stylesheets | | `text/csv` | `.csv` | [CSV](CSV.md) Data | | `text/directory` | `-` | - | @@ -151,7 +151,6 @@ Types, subtypes, and parameter names are case-insensitive. Parameter values are | `text/plain` | `.nfo` | Information File | | `text/plain` | `.srt` | [SubRip Subtitle](media/SubRip.md) | | `text/plain` | `.ass` | [ASS (Advanced SubStation Alpha) Subtitle](media/Advanced%20SubStation%20Alpha.md) | -| `text/xml` | `.xml` | [XML](XML.md) | | `text/c` | `.c`, `.cc`, `.cpp`, `.cxx`, `.dic`, `.h`, `.hh` | C Source File | | `text/rust` | `.rs` | [Rust](../dev/programming/languages/Rust.md) Source File | | `text/python` | `.py` | [Python](../dev/programming/languages/Python.md) File | @@ -163,6 +162,7 @@ Types, subtypes, and parameter names are case-insensitive. Parameter values are | `video/AV1` | - | [AV1](media/video/AV1.md) | | `video/H264` | - | [H.264](media/video/H.264.md) | | `video/H265` | - | [H.265](media/video/H.265.md) | +| `video/webm` | - | [VP9](media/VP9.md) | | `video/mp4` | `.mp4`, `.m4a` | MP4 Video | | `video/quicktime` | `.mov`, `.qt` | Quicktime | | `video/webm` | `.webm` | WebM Video | diff --git a/technology/files/Markdown.md b/technology/files/Markdown.md index 5261044..a9a3406 100644 --- a/technology/files/Markdown.md +++ b/technology/files/Markdown.md @@ -1,5 +1,7 @@ --- -obj: concept +obj: format +mime: "text/markdown" +extension: "md" wiki: https://en.wikipedia.org/wiki/Markdown website: ["https://www.markdownguide.org", "https://commonmark.org"] --- diff --git a/technology/files/MessagePack.md b/technology/files/MessagePack.md index acb076b..9af2614 100644 --- a/technology/files/MessagePack.md +++ b/technology/files/MessagePack.md @@ -1,6 +1,8 @@ --- -obj: concept +obj: format website: https://msgpack.org +mime: "application/msgpack" +extension: ["mpk", "msgpack"] --- # MessagePack diff --git a/technology/files/PDF.md b/technology/files/PDF.md index 6477361..cb5756b 100644 --- a/technology/files/PDF.md +++ b/technology/files/PDF.md @@ -1,5 +1,7 @@ --- -obj: concept +obj: format +extension: "pdf" +mime: "application/pdf" --- # PDF diff --git a/technology/files/TOML.md b/technology/files/TOML.md index ae267db..56d5ce2 100644 --- a/technology/files/TOML.md +++ b/technology/files/TOML.md @@ -1,8 +1,10 @@ --- -obj: concept +obj: format website: https://toml.io repo: https://github.com/toml-lang/toml wiki: https://en.wikipedia.org/wiki/TOML +mime: "application/toml" +extension: "toml" --- # TOML diff --git a/technology/files/XML.md b/technology/files/XML.md index 93ae2cb..0e984c1 100644 --- a/technology/files/XML.md +++ b/technology/files/XML.md @@ -1,5 +1,7 @@ --- -obj: concept +obj: format +extension: "xml" +mime: "application/xml" --- # XML diff --git a/technology/files/XZ Compression.md b/technology/files/XZ Compression.md index fe3d78c..1528601 100644 --- a/technology/files/XZ Compression.md +++ b/technology/files/XZ Compression.md @@ -1,6 +1,8 @@ --- -obj: concept +obj: format aliases: ["xz"] +mime: "application/xz" +extension: "xz" --- # XZ Compression diff --git a/technology/files/YAML.md b/technology/files/YAML.md index b6d5caa..249c7d6 100644 --- a/technology/files/YAML.md +++ b/technology/files/YAML.md @@ -1,7 +1,9 @@ --- -obj: concept +obj: format website: https://yaml.org wiki: https://en.wikipedia.org/wiki/YAML +mime: "application/yaml" +extension: ["yaml", "yml"] --- # YAML diff --git a/technology/files/ZIP.md b/technology/files/ZIP.md index 61b0171..3db9f6c 100644 --- a/technology/files/ZIP.md +++ b/technology/files/ZIP.md @@ -1,5 +1,7 @@ --- -obj: concept +obj: format +mime: "application/zip" +extension: "zip" --- # ZIP diff --git a/technology/files/Zstd Compression.md b/technology/files/Zstd Compression.md index b36aa79..217d5ee 100644 --- a/technology/files/Zstd Compression.md +++ b/technology/files/Zstd Compression.md @@ -1,6 +1,8 @@ --- -obj: concept +obj: format aliases: ["zstd"] +mime: "application/zstd" +extension: "zst" repo: https://github.com/facebook/zstd wiki: https://en.wikipedia.org/wiki/Zstd --- diff --git a/technology/files/media/Matroska.md b/technology/files/media/Matroska.md index b769bc0..172f0ad 100644 --- a/technology/files/media/Matroska.md +++ b/technology/files/media/Matroska.md @@ -1,7 +1,9 @@ --- aliases: ["mkv"] website: https://matroska.org -obj: concept +obj: format +mime: "video/matroska" +extension: ["mkv", "mk3d", "mka", "mks"] --- # Matroska diff --git a/technology/files/media/SubRip.md b/technology/files/media/SubRip.md index bab1e90..e5ad8dc 100644 --- a/technology/files/media/SubRip.md +++ b/technology/files/media/SubRip.md @@ -1,5 +1,7 @@ --- -obj: concept +obj: format +mime: "text/plain" +extension: "srt" wiki: https://en.wikipedia.org/wiki/SubRip --- diff --git a/technology/files/media/audio/FLAC.md b/technology/files/media/audio/FLAC.md index 543eda4..98ef3d4 100644 --- a/technology/files/media/audio/FLAC.md +++ b/technology/files/media/audio/FLAC.md @@ -1,7 +1,9 @@ --- repo: https://gitlab.xiph.org/xiph/flac -website: https://xiph.org/flac/ -obj: codec +website: https://xiph.org/flac +obj: format +mime: "audio/flac" +extension: "flac" --- # FLAC FLAC (Free Lossless Audio Codec) is an audio coding format for lossless compression of digital audio, developed by the Xiph.Org Foundation, and is also the name of the free software project producing the FLAC tools, the reference software package that includes a codec implementation. Digital audio compressed by FLAC's algorithm can typically be reduced to between 50 and 70 percent of its original size and decompresses to an identical copy of the original audio data. diff --git a/technology/files/media/audio/Opus.md b/technology/files/media/audio/Opus.md index 4d20e88..6450778 100644 --- a/technology/files/media/audio/Opus.md +++ b/technology/files/media/audio/Opus.md @@ -1,6 +1,8 @@ --- -website: https://opus-codec.org/ -obj: codec +website: https://opus-codec.org +obj: format +mime: "audio/opus" +extension: "opus" --- # Opus diff --git a/technology/files/media/audio/WAV.md b/technology/files/media/audio/WAV.md index ef150ba..0d43b6e 100644 --- a/technology/files/media/audio/WAV.md +++ b/technology/files/media/audio/WAV.md @@ -1,5 +1,7 @@ --- -obj: codec +obj: format +mime: "audio/wav" +extension: "wav" --- # WAV diff --git a/technology/files/media/image/AVIF.md b/technology/files/media/image/AVIF.md index abecafe..e1c1dff 100644 --- a/technology/files/media/image/AVIF.md +++ b/technology/files/media/image/AVIF.md @@ -1,5 +1,7 @@ --- -obj: codec +obj: format +mime: "image/avif" +extension: "avif" website: https://aomediacodec.github.io/av1-avif --- diff --git a/technology/files/media/image/PNG.md b/technology/files/media/image/PNG.md index c330ecc..4b42a6e 100644 --- a/technology/files/media/image/PNG.md +++ b/technology/files/media/image/PNG.md @@ -1,5 +1,7 @@ --- -obj: codec +obj: format +mime: "image/png" +extension: "png" --- # PNG diff --git a/technology/files/media/image/QOI.md b/technology/files/media/image/QOI.md index 6a4cedf..ab526ca 100644 --- a/technology/files/media/image/QOI.md +++ b/technology/files/media/image/QOI.md @@ -1,5 +1,7 @@ --- -obj: codec +obj: format +mime: "image/qoi" +extension: "qoi" website: https://qoiformat.org wiki: https://en.wikipedia.org/wiki/QOI_(image_format) repo: https://github.com/phoboslab/qoi diff --git a/technology/files/media/image/WebP.md b/technology/files/media/image/WebP.md index ab95dc5..fb32306 100644 --- a/technology/files/media/image/WebP.md +++ b/technology/files/media/image/WebP.md @@ -1,5 +1,7 @@ --- -obj: codec +obj: format +mime: "image/webp" +extension: "webp" wiki: https://en.wikipedia.org/wiki/WebP website: https://developers.google.com/speed/webp --- diff --git a/technology/files/media/video/AV1.md b/technology/files/media/video/AV1.md index 4abe9fe..0e3b395 100644 --- a/technology/files/media/video/AV1.md +++ b/technology/files/media/video/AV1.md @@ -1,5 +1,6 @@ --- -obj: codec +obj: format +mime: "video/av1" --- # AV1 diff --git a/technology/files/media/video/H.264.md b/technology/files/media/video/H.264.md index 47866d8..9a891a8 100644 --- a/technology/files/media/video/H.264.md +++ b/technology/files/media/video/H.264.md @@ -1,5 +1,6 @@ --- -obj: codec +obj: format +mime: "video/h264" wiki: https://en.wikipedia.org/wiki/Advanced_Video_Coding --- diff --git a/technology/files/media/video/H.265.md b/technology/files/media/video/H.265.md index c508d2a..3ef2f1f 100644 --- a/technology/files/media/video/H.265.md +++ b/technology/files/media/video/H.265.md @@ -1,7 +1,9 @@ --- -obj: codec +obj: format +mime: "video/h265" wiki: https://en.wikipedia.org/wiki/High_Efficiency_Video_Coding --- + # H.265 High Efficiency Video Coding (HEVC), also known as H.265 and MPEG-H Part 2, is a video compression standard designed as part of the MPEG-H project as a successor to the widely used Advanced Video Coding (AVC, [H.264](H.264.md), or MPEG-4 Part 10). In comparison to AVC, HEVC offers from 25% to 50% better data compression at the same level of video quality, or substantially improved video quality at the same bit rate. It supports resolutions up to 8192×4320, including 8K UHD, and unlike the primarily 8-bit AVC, HEVC's higher fidelity Main 10 profile has been incorporated into nearly all supporting hardware. diff --git a/technology/files/media/video/VP9.md b/technology/files/media/video/VP9.md index b234233..281456c 100644 --- a/technology/files/media/video/VP9.md +++ b/technology/files/media/video/VP9.md @@ -1,7 +1,8 @@ --- website: https://www.webmproject.org/vp9/ -obj: codec +obj: format --- + # VP9 VP9 is an open and royalty-free video coding format developed by Google. VP9 is the successor to VP8 and competes mainly with MPEG's High Efficiency Video Coding (HEVC/[H.265](H.265.md)). At first, VP9 was mainly used on Google's video platform YouTube. The emergence of the Alliance for Open Media, and its support for the ongoing development of the successor [AV1](AV1.md), of which Google is a part, led to growing interest in the format. \ No newline at end of file diff --git a/technology/internet/BitTorrent.md b/technology/internet/BitTorrent.md index ecf1357..e99e70e 100644 --- a/technology/internet/BitTorrent.md +++ b/technology/internet/BitTorrent.md @@ -1,8 +1,11 @@ --- aliases: ["Torrent"] -website: https://www.bittorrent.org/ +website: https://www.bittorrent.org obj: concept +mime: "application/bittorrent" +extension: "torrent" --- + # BitTorrent [BitTorrent](https://www.bittorrent.org/) is a communication protocol for peer-to-peer file sharing (P2P), which enables users to distribute data and electronic files over the Internet in a decentralized manner. diff --git a/technology/internet/CSS.md b/technology/internet/CSS.md index b92dadc..f1942fb 100644 --- a/technology/internet/CSS.md +++ b/technology/internet/CSS.md @@ -1,7 +1,9 @@ --- source: https://developer.mozilla.org/en-US/docs/Web/CSS wiki: https://en.wikipedia.org/wiki/CSS -obj: concept +obj: format +mime: "text/css" +extension: "css" --- # Cascading Style Sheets (CSS) diff --git a/technology/internet/HTML.md b/technology/internet/HTML.md index 38c64e6..bb596a9 100644 --- a/technology/internet/HTML.md +++ b/technology/internet/HTML.md @@ -1,6 +1,8 @@ --- source: https://developer.mozilla.org/en-US/docs/Web/HTML -obj: concept +obj: format +mime: "text/html" +extension: "html" --- **HTML** (HyperText Markup Language) is the most basic building block of the Web. It defines the meaning and structure of web content. Other technologies besides HTML are generally used to describe a web page's appearance/presentation ([CSS](https://developer.mozilla.org/en-US/docs/Web/CSS)) or functionality/behavior ([JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript)). diff --git a/technology/tools/RSS.md b/technology/tools/RSS.md index d280e1f..c524c20 100644 --- a/technology/tools/RSS.md +++ b/technology/tools/RSS.md @@ -1,5 +1,7 @@ --- obj: concept +extension: "rss" +mime: "application/rss+xml" --- # RSS