schema change

This commit is contained in:
JMARyA 2024-03-06 13:15:41 +01:00
parent 32803e7ed4
commit 312ee9ac7f
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
37 changed files with 147 additions and 57 deletions

View file

@ -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 @@
}
}
]
}
}

View file

@ -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

View file

@ -1,6 +1,8 @@
---
website: https://www.python.org
obj: application
obj: concept
mime: "text/python"
extension: "py"
---
# Python

View file

@ -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

View file

@ -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.

View file

@ -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

View file

@ -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.

View file

@ -1,5 +1,8 @@
---
obj: concept
obj: format
mime: "message/rfc822"
extension: "eml"
rfc: https://datatracker.ietf.org/doc/html/rfc822
aliases: ["eml"]
---

View file

@ -1,6 +1,8 @@
---
website: https://www.json.org
obj: concept
obj: format
extension: "json"
mime: "application/json"
---
# JSON

View file

@ -1,5 +1,7 @@
---
obj: concept
obj: format
extesion: "lrc"
mime: "text/plain"
wiki: https://en.wikipedia.org/wiki/LRC_(file_format)
---

View file

@ -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 |

View file

@ -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"]
---

View file

@ -1,6 +1,8 @@
---
obj: concept
obj: format
website: https://msgpack.org
mime: "application/msgpack"
extension: ["mpk", "msgpack"]
---
# MessagePack

View file

@ -1,5 +1,7 @@
---
obj: concept
obj: format
extension: "pdf"
mime: "application/pdf"
---
# PDF

View file

@ -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

View file

@ -1,5 +1,7 @@
---
obj: concept
obj: format
extension: "xml"
mime: "application/xml"
---
# XML

View file

@ -1,6 +1,8 @@
---
obj: concept
obj: format
aliases: ["xz"]
mime: "application/xz"
extension: "xz"
---
# XZ Compression

View file

@ -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

View file

@ -1,5 +1,7 @@
---
obj: concept
obj: format
mime: "application/zip"
extension: "zip"
---
# ZIP

View file

@ -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
---

View file

@ -1,7 +1,9 @@
---
aliases: ["mkv"]
website: https://matroska.org
obj: concept
obj: format
mime: "video/matroska"
extension: ["mkv", "mk3d", "mka", "mks"]
---
# Matroska

View file

@ -1,5 +1,7 @@
---
obj: concept
obj: format
mime: "text/plain"
extension: "srt"
wiki: https://en.wikipedia.org/wiki/SubRip
---

View file

@ -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.

View file

@ -1,6 +1,8 @@
---
website: https://opus-codec.org/
obj: codec
website: https://opus-codec.org
obj: format
mime: "audio/opus"
extension: "opus"
---
# Opus

View file

@ -1,5 +1,7 @@
---
obj: codec
obj: format
mime: "audio/wav"
extension: "wav"
---
# WAV

View file

@ -1,5 +1,7 @@
---
obj: codec
obj: format
mime: "image/avif"
extension: "avif"
website: https://aomediacodec.github.io/av1-avif
---

View file

@ -1,5 +1,7 @@
---
obj: codec
obj: format
mime: "image/png"
extension: "png"
---
# PNG

View file

@ -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

View file

@ -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
---

View file

@ -1,5 +1,6 @@
---
obj: codec
obj: format
mime: "video/av1"
---
# AV1

View file

@ -1,5 +1,6 @@
---
obj: codec
obj: format
mime: "video/h264"
wiki: https://en.wikipedia.org/wiki/Advanced_Video_Coding
---

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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)

View file

@ -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)).

View file

@ -1,5 +1,7 @@
---
obj: concept
extension: "rss"
mime: "application/rss+xml"
---
# RSS