From a474003c9bc8f4d66159ce5970c74e82214715e0 Mon Sep 17 00:00:00 2001 From: Akshay Bagai <100753870+Akshaybagai52@users.noreply.github.com> Date: Fri, 1 Mar 2024 23:19:47 +0530 Subject: [PATCH 1/8] docs: added definition of json hyper-schema --- pages/learn/glossary.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/learn/glossary.md b/pages/learn/glossary.md index decf97dbf..2c92e4b57 100644 --- a/pages/learn/glossary.md +++ b/pages/learn/glossary.md @@ -47,6 +47,14 @@ The two are, however, entirely different pieces of the conceptual puzzle, with J The JSON format is an open format, with its own [homepage](https://www.json.org/), and specifications published in the [ECMA-404](https://www.ecma-international.org/publications-and-standards/standards/ecma-404/) and [RFC-8259](https://datatracker.ietf.org/doc/html/rfc8259) documents from ECMA and the IETF respectively. In particular, it is not managed or developed by the JSON Schema team, who simply make use of the format. +### JSON Hyper-Schema + +JSON Hyper-Schema extends JSON Schema, offering a [vocabulary](#vocabulary) to annotate JSON documents with hypermedia controls. This extension facilitates the description of links and actions that can be executed on JSON data, making it a powerful tool for developing hypermedia-driven APIs. + +The essence of JSON Hyper-Schema lies in its ability to define links and actions that can be executed on JSON data. This is achieved through the use of the `links` keyword, which allows for the creation of dynamic, interactive data representations. For example, a JSON document representing a blog post might include an "author" property. The JSON Hyper-Schema that describes this document could include a template for a hypermedia control that uses the author's identifier in the [instance](#instance) to construct a link to the author's profile. The developer doesn't need to construct the URL manually, which enhances the developer experience by offering a seamless navigation experience. + +In other words, JSON Hyper-Schema extends JSON Schema by introducing features for creating hypermedia controls. This facilitates the creation of interactive APIs and ensures compatibility with existing JSON HTTP APIs, maintaining a seamless integration. It adds a layer of interactivity to JSON documents, making it easier to interact with remote JSON resources. + ### keyword A property appearing within a [schema](#schema) object. From 99f0d2a2084a6fb2c5d2bebc1fc59480db494710 Mon Sep 17 00:00:00 2001 From: Akshay Bagai <100753870+Akshaybagai52@users.noreply.github.com> Date: Sun, 3 Mar 2024 23:04:23 +0530 Subject: [PATCH 2/8] fixed --- pages/learn/glossary.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pages/learn/glossary.md b/pages/learn/glossary.md index 2c92e4b57..decf97dbf 100644 --- a/pages/learn/glossary.md +++ b/pages/learn/glossary.md @@ -47,14 +47,6 @@ The two are, however, entirely different pieces of the conceptual puzzle, with J The JSON format is an open format, with its own [homepage](https://www.json.org/), and specifications published in the [ECMA-404](https://www.ecma-international.org/publications-and-standards/standards/ecma-404/) and [RFC-8259](https://datatracker.ietf.org/doc/html/rfc8259) documents from ECMA and the IETF respectively. In particular, it is not managed or developed by the JSON Schema team, who simply make use of the format. -### JSON Hyper-Schema - -JSON Hyper-Schema extends JSON Schema, offering a [vocabulary](#vocabulary) to annotate JSON documents with hypermedia controls. This extension facilitates the description of links and actions that can be executed on JSON data, making it a powerful tool for developing hypermedia-driven APIs. - -The essence of JSON Hyper-Schema lies in its ability to define links and actions that can be executed on JSON data. This is achieved through the use of the `links` keyword, which allows for the creation of dynamic, interactive data representations. For example, a JSON document representing a blog post might include an "author" property. The JSON Hyper-Schema that describes this document could include a template for a hypermedia control that uses the author's identifier in the [instance](#instance) to construct a link to the author's profile. The developer doesn't need to construct the URL manually, which enhances the developer experience by offering a seamless navigation experience. - -In other words, JSON Hyper-Schema extends JSON Schema by introducing features for creating hypermedia controls. This facilitates the creation of interactive APIs and ensures compatibility with existing JSON HTTP APIs, maintaining a seamless integration. It adds a layer of interactivity to JSON documents, making it easier to interact with remote JSON resources. - ### keyword A property appearing within a [schema](#schema) object. From dddb77eb125df2b4310f97adb61e5a37697eff47 Mon Sep 17 00:00:00 2001 From: Akshay Bagai <100753870+Akshaybagai52@users.noreply.github.com> Date: Thu, 21 Mar 2024 20:21:37 +0530 Subject: [PATCH 3/8] fix: spacing b/w buttons --- components/Layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Layout.tsx b/components/Layout.tsx index cc8d9e133..1581968aa 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -196,7 +196,7 @@ const MainNavigation = () => { isActive={section === 'community'} /> -
+
{ From 1649e7c71da54bd032301f3bd6d8f270fd903a9e Mon Sep 17 00:00:00 2001 From: Akshay Bagai <100753870+Akshaybagai52@users.noreply.github.com> Date: Thu, 21 Mar 2024 20:47:02 +0530 Subject: [PATCH 4/8] fix: added spacing in mobile design --- components/DarkModeToggle.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/DarkModeToggle.tsx b/components/DarkModeToggle.tsx index 16ea1e8f8..95c93fbf2 100644 --- a/components/DarkModeToggle.tsx +++ b/components/DarkModeToggle.tsx @@ -31,7 +31,7 @@ export default function DarkModeToggle() { return (