Skip to content

fix: Incorrect page navigation throughout JSON Schema website #1653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
title: Creating your first schema
section: docs
prev:
label: Overview
url: /learn
label: The basics
url: /understanding-json-schema/basics
next:
label: Miscellaneous examples
url: /learn/miscellaneous-examples
label: JSON Schema glossary
url: /learn/glossary
---

JSON Schema is a vocabulary that you can use to annotate and validate JSON documents. This tutorial guides you through the process of creating a JSON Schema.
Expand Down
8 changes: 4 additions & 4 deletions pages/learn/getting-started-step-by-step/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ export default function StyledValidator({
<GettingStarted />
<StyledMarkdown markdown={blocks[1]} />
<NextPrevButton
prevLabel='Overview'
prevURL='/learn'
nextLabel='Miscellaneous examples'
nextURL='/learn/miscellaneous-examples'
prevLabel='The basics'
prevURL='/understanding-json-schema/basics'
nextLabel='JSON Schema glossary'
nextURL='/learn/glossary'
/>
<DocsHelp fileRenderType={fileRenderType} />
</SectionContext.Provider>
Expand Down
8 changes: 4 additions & 4 deletions pages/learn/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
title: JSON Schema Glossary
section: docs
prev:
label: Other Examples
url: /learn/json-schema-examples
label: Create your first schema
url: /learn/getting-started-step-by-step
next:
label: JSON Schema Keywords
url: /understanding-json-schema/keywords
label: Miscellaneous examples
url: /learn/miscellaneous-examples
---

This document collects short explanations of terminology one may encounter within the JSON Schema community.
Expand Down
4 changes: 2 additions & 2 deletions pages/learn/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ export default function Welcome() {
<NextPrevButton
prevLabel='Code of conduct'
prevURL='/overview/code-of-conduct'
nextLabel='Creating your first Schema'
nextURL='/learn/getting-started-step-by-step'
nextLabel='What is a schema'
nextURL='/understanding-json-schema/about'
/>
<DocsHelp fileRenderType={fileRenderType} />
</SectionContext.Provider>
Expand Down
4 changes: 2 additions & 2 deletions pages/learn/json-schema-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ prev:
label: Modeling a file system
url: /learn/file-system
next:
label: JSON Schema Glossary
url: /learn/glossary
label: Guides
url: /learn/guides
---

In this page, you will find examples illustrating different use cases to help you get the most out of your JSON Schemas. These examples cover a wide range of scenarios, and each example comes with accompanying JSON data and explanation, showcasing how JSON Schemas can be applied to various domains. You can modify these examples to suit your specific needs, as this is just one of the many ways you can utilize JSON Schemas.
Expand Down
4 changes: 2 additions & 2 deletions pages/learn/miscellaneous-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
section: docs
title: Miscellaneous Examples
prev :
label: Creating your first Schema
url: /learn/getting-started-step-by-step
label: JSON Schema glossary
url: /learn/glossary
next:
label: Modelling a file system
url: /learn/file-system
Expand Down
4 changes: 2 additions & 2 deletions pages/specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: Specification [#section]
section: docs
prev:
label: JSON Schema reference
url: /understanding-json-schema/reference
label: "Media: string-encoding non-JSON data"
url: /understanding-json-schema/reference/non_json_data
next:
label: Specification Links
url: /specification-links
Expand Down
4 changes: 2 additions & 2 deletions pages/understanding-json-schema/reference/comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ prev:
label: Annotations
url: /understanding-json-schema/reference/annotations
next:
label: Enumerated values
url: /understanding-json-schema/reference/enum
label: Conditional Schema validation
url: /understanding-json-schema/reference/conditionals
---

<Star label="New in draft 7" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Media: string-encoding non-JSON data"
section: docs
prev:
label: Modular JSON Schema combination
label: Modular JSON Schema combination
url: /understanding-json-schema/structuring
next:
label: Specification
Expand Down
2 changes: 1 addition & 1 deletion pages/understanding-json-schema/reference/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ prev:
label: string
url: /understanding-json-schema/reference/string
next:
label: Value restrictions
label: Enumerated and constant values
url: /understanding-json-schema/reference/generic
---

Expand Down