Skip to content

Commit 6e4ced5

Browse files
fix: Incorrect page navigation throughout JSON Schema website (#1653)
1 parent 9357fbd commit 6e4ced5

File tree

10 files changed

+24
-24
lines changed

10 files changed

+24
-24
lines changed

pages/learn/getting-started-step-by-step/getting-started-step-by-step.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
title: Creating your first schema
33
section: docs
44
prev:
5-
label: Overview
6-
url: /learn
5+
label: The basics
6+
url: /understanding-json-schema/basics
77
next:
8-
label: Miscellaneous examples
9-
url: /learn/miscellaneous-examples
8+
label: JSON Schema glossary
9+
url: /learn/glossary
1010
---
1111

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

pages/learn/getting-started-step-by-step/index.page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ export default function StyledValidator({
4848
<GettingStarted />
4949
<StyledMarkdown markdown={blocks[1]} />
5050
<NextPrevButton
51-
prevLabel='Overview'
52-
prevURL='/learn'
53-
nextLabel='Miscellaneous examples'
54-
nextURL='/learn/miscellaneous-examples'
51+
prevLabel='The basics'
52+
prevURL='/understanding-json-schema/basics'
53+
nextLabel='JSON Schema glossary'
54+
nextURL='/learn/glossary'
5555
/>
5656
<DocsHelp fileRenderType={fileRenderType} />
5757
</SectionContext.Provider>

pages/learn/glossary.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
title: JSON Schema Glossary
33
section: docs
44
prev:
5-
label: Other Examples
6-
url: /learn/json-schema-examples
5+
label: Create your first schema
6+
url: /learn/getting-started-step-by-step
77
next:
8-
label: JSON Schema Keywords
9-
url: /understanding-json-schema/keywords
8+
label: Miscellaneous examples
9+
url: /learn/miscellaneous-examples
1010
---
1111

1212
This document collects short explanations of terminology one may encounter within the JSON Schema community.

pages/learn/index.page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ export default function Welcome() {
7676
<NextPrevButton
7777
prevLabel='Code of conduct'
7878
prevURL='/overview/code-of-conduct'
79-
nextLabel='Creating your first Schema'
80-
nextURL='/learn/getting-started-step-by-step'
79+
nextLabel='What is a schema'
80+
nextURL='/understanding-json-schema/about'
8181
/>
8282
<DocsHelp fileRenderType={fileRenderType} />
8383
</SectionContext.Provider>

pages/learn/json-schema-examples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ prev:
55
label: Modeling a file system
66
url: /learn/file-system
77
next:
8-
label: JSON Schema Glossary
9-
url: /learn/glossary
8+
label: Guides
9+
url: /learn/guides
1010
---
1111

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

pages/learn/miscellaneous-examples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
section: docs
33
title: Miscellaneous Examples
44
prev :
5-
label: Creating your first Schema
6-
url: /learn/getting-started-step-by-step
5+
label: JSON Schema glossary
6+
url: /learn/glossary
77
next:
88
label: Modelling a file system
99
url: /learn/file-system

pages/specification.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: Specification [#section]
33
section: docs
44
prev:
5-
label: JSON Schema reference
6-
url: /understanding-json-schema/reference
5+
label: "Media: string-encoding non-JSON data"
6+
url: /understanding-json-schema/reference/non_json_data
77
next:
88
label: Specification Links
99
url: /specification-links

pages/understanding-json-schema/reference/comments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ prev:
55
label: Annotations
66
url: /understanding-json-schema/reference/annotations
77
next:
8-
label: Enumerated values
9-
url: /understanding-json-schema/reference/enum
8+
label: Conditional Schema validation
9+
url: /understanding-json-schema/reference/conditionals
1010
---
1111

1212
<Star label="New in draft 7" />

pages/understanding-json-schema/reference/non_json_data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Media: string-encoding non-JSON data"
33
section: docs
44
prev:
5-
label: Modular JSON Schema combination
5+
label: Modular JSON Schema combination
66
url: /understanding-json-schema/structuring
77
next:
88
label: Specification

pages/understanding-json-schema/reference/schema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ prev:
55
label: string
66
url: /understanding-json-schema/reference/string
77
next:
8-
label: Value restrictions
8+
label: Enumerated and constant values
99
url: /understanding-json-schema/reference/generic
1010
---
1111

0 commit comments

Comments
 (0)