Skip to content

Commit

Permalink
Merge branch 'main' into patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
IyaadDev authored Nov 11, 2024
2 parents 59cefcf + 718dab5 commit 7a64e4f
Show file tree
Hide file tree
Showing 27 changed files with 1,306 additions and 75 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ All types of contributions are encouraged and valued. See the [Table of Contents

If you don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation:
- Star the project on Github
- Post on Twitter or Linkedin about JSON Schema `#jsonschema
- Post on X or Linkedin about JSON Schema `#jsonschema

## Table of Contents

Expand Down
2 changes: 2 additions & 0 deletions INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ git submodule update

### Setting Up Environment Variables

This step is optional. Environment variables are not required to run the website on your local development server.

1. Create a new `.env` file by copying the contents of the `.env.example` into `.env` file. Use this command:
```
cp .env.example .env
Expand Down
5 changes: 2 additions & 3 deletions components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,11 +345,10 @@ const Footer = () => (
</div>
<div className=''>
<a
href='https://twitter.com/jsonschema'
href='https://x.com/jsonschema'
className='flex items-center text-white'
>
<img src='/img/logos/x-twitter.svg' className='w-4 h-4 mr-2' />
Twitter
<img src='/img/logos/x-twitter.svg' className='w-4 h-4 mr-2' />X
</a>
</div>
<div className=''>
Expand Down
50 changes: 50 additions & 0 deletions data/keywords.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,22 @@
title: Range
- url: 'https://json-schema.org/draft/2020-12/json-schema-validation#name-maximum'
title: Draft 2020-12
- name: maxItems
vocabulary: [Validation]
learnjsonschemalink: 'https://www.learnjsonschema.com/2020-12/validation/maxitems/'
links:
- url: 'https://json-schema.org/understanding-json-schema/reference/array#length'
title: Length
- url: 'https://json-schema.org/draft/2020-12/json-schema-validation#name-maxitems'
title: Draft 2020-12
- name: maxLength
vocabulary: [Validation]
learnjsonschemalink: 'https://www.learnjsonschema.com/2020-12/validation/maxlength'
links:
- url: 'https://json-schema.org/understanding-json-schema/reference/string#length'
title: Length
- url: 'https://json-schema.org/draft/2020-12/json-schema-validation#name-maxlength'
title: Draft 2020-12
- name: maxProperties
vocabulary: [Validation]
learnjsonschemalink: 'https://www.learnjsonschema.com/2020-12/validation/maxproperties'
Expand All @@ -290,6 +306,24 @@
title: maxProperties
- url: 'https://json-schema.org/draft/2020-12/json-schema-validation#name-maxproperties'
title: Draft 2020-12
- name: minContains
vocabulary: [Validation]
learnjsonschemalink: 'https://www.learnjsonschema.com/2020-12/validation/mincontains'
links:
- url: 'https://json-schema.org/understanding-json-schema/reference/array#mincontains-maxcontains'
title: Mincontains / Maxcontains
- url: 'https://json-schema.org/draft/2020-12/json-schema-validation#name-mincontains'
title: Draft 2020-12
- name: minimum
vocabulary: [Validation]
learnjsonschemalink: 'https://www.learnjsonschema.com/2020-12/validation/minimum'
links:
- url: 'https://json-schema.org/learn/file-system#modeling-a-file-system-with-json-schema'
title: Modeling a file system with JSON Schema
- url: 'https://json-schema.org/understanding-json-schema/reference/numeric#range'
title: Range
- url: 'https://json-schema.org/draft/2020-12/json-schema-validation#name-minimum'
title: Draft 2020-12
- name: minItems
vocabulary: [Validation]
learnjsonschemalink: 'https://www.learnjsonschema.com/2020-12/validation/minitems'
Expand Down Expand Up @@ -368,6 +402,14 @@
title: Uniqueness
- url: 'https://json-schema.org/draft/2020-12/json-schema-validation#name-uniqueitems'
title: Draft 2020-12
- name: format
vocabulary: [Format Annotation]
learnjsonschemalink: 'https://www.learnjsonschema.com/2020-12/format-annotation/format/'
links:
- url: 'https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-validation-00#rfc.section.7.2.1'
title: Draft 2020-12
- url: 'https://www.learnjsonschema.com/2020-12/format-annotation/'
title: Format Annotation
- name: contentEncoding
vocabulary: [Content]
learnjsonschemalink: 'https://www.learnjsonschema.com/2020-12/content/contentencoding'
Expand Down Expand Up @@ -468,3 +510,11 @@
title: Unevaluated Properties
- url: 'https://json-schema.org/draft/2020-12/json-schema-core#name-unevaluatedproperties'
title: Draft 2020-12
- name: format
vocabulary: [Format Assertion]
learnjsonschemalink: 'https://www.learnjsonschema.com/2020-12/format-assertion/format/'
links:
- url: 'https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-validation-00#rfc.section.7.2.2'
title: Draft 2020-12
- url: 'https://www.learnjsonschema.com/2020-12/format-assertion/'
title: Format Assertion
4 changes: 2 additions & 2 deletions data/tooling-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -625,8 +625,8 @@
source: 'https://github.com/karenetheridge/JSON-Schema-Modern'
homepage: 'https://metacpan.org/dist/JSON-Schema-Modern'
supportedDialects:
draft: ['7', '2019-09', '2020-12']
lastUpdated: '2022-08-31'
draft: ['4', '6', '7', '2019-09', '2020-12']
lastUpdated: '2024-11-08'

- name: JSON::Schema::Tiny
description: 'Validate data against a schema, minimally'
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"@docsearch/react": "3.6.1",
"@types/jsonpath": "^0.2.4",
"axios": "1.7.4",
"axios": "1.7.7",
"babel-loader": "^9.1.3",
"classnames": "^2.5.1",
"feed": "^4.2.2",
Expand All @@ -46,7 +46,7 @@
"node-ical": "0.19.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-syntax-highlighter": "^15.5.0",
"react-syntax-highlighter": "^15.6.1",
"react-text-truncate": "^0.19.0",
"reading-time": "^1.5.0",
"slate": "^0.103.0",
Expand All @@ -58,7 +58,7 @@
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/preset-env": "^7.26.0",
"@cypress/code-coverage": "^3.13.2",
"@next/eslint-plugin-next": "^14.0.1",
"@svgr/webpack": "^8.1.0",
Expand Down Expand Up @@ -88,7 +88,7 @@
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.4.0",
"husky": "^9.1.6",
"nyc": "^17.0.0",
"nyc": "^17.1.0",
"postcss": "^8.4.41",
"prettier": "3.3.3",
"tailwindcss": "^3.3.5",
Expand Down
2 changes: 1 addition & 1 deletion pages/blog/generateRssFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default async function generateRssFeed(blogPosts: any) {
const authors: Author[] = post.frontmatter.authors.map(
(author: any): Author => {
const link = author.twitter
? `https://twitter.com/${author.twitter}`
? `https://x.com/${author.twitter}`
: undefined;
return {
name: author.name,
Expand Down
4 changes: 2 additions & 2 deletions pages/blog/posts/6-river-systems-case-study.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ cover: /img/posts/2023/6-river-systems-case-study/cover.webp
authors:
- name: Melinda Gutermuth
photo: /img/avatars/melinda.webp
link: https://www.twitter.com/shelikeswords
link: https://www.x.com/shelikeswords
- name: Ben Hutton
photo: /img/avatars/benhutton.webp
link: https://www.twitter.com/relequestual
link: https://www.x.com/relequestual
excerpt: "Explore the powerful impact of JSON Schema on 6 River Systems' fulfillment operations. Discover how they enabled enhanced collaboration, time savings, and data quality assurance, propelling their successful scaling journey."
---

Expand Down
2 changes: 1 addition & 1 deletion pages/blog/posts/[slug].page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default function StaticMarkdownPage({
{author.twitter && (
<a
className='block text-sm text-blue-500 font-medium'
href={`https://twitter.com/${author.twitter}`}
href={`https://x.com/${author.twitter}`}
>
@{author.twitter}
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cover: /img/posts/2022/fundamentals-part-1/cover.webp
authors:
- name: Ben Hutton
photo: /img/avatars/benhutton.webp
link: https://www.twitter.com/relequestual
link: https://www.x.com/relequestual
byline: JSON Schema Specification Lead @Postman
excerpt: "We explore the fundamental JSON Schema concepts: Applicability, Subschemas, and Assertion Boolean Logic - Everyone needs good fundamentals."
---
Expand Down Expand Up @@ -394,7 +394,7 @@ When you apply the second subschema in `oneOf` to the instance, there are no con

We can use the same approach as before to make sure our subschemas have sufficient constraints. <a href="https://jsonschema.dev/s/Cbcss" target="_blank">Give it a try</a>, and see if you can manage to make the validation work as expected.

The link is pre-loaded with your starting Schema and instance. Let me know if you get stuck via <a href="/slack" target="_blank">Slack</a> or <a href="https://www.twitter.com/relequestual" target="_blank">Twitter</a>.
The link is pre-loaded with your starting Schema and instance. Let me know if you get stuck via <a href="/slack" target="_blank">Slack</a> or <a href="https://www.x.com/relequestual" target="_blank">X</a>.

# In summary

Expand All @@ -412,7 +412,7 @@ I've really enjoyed being able to share the first of our fundamentals series wit

You can find all of the example instances and schemas in the <a href="https://github.com/Relequestual/json-schema-fundamentals" target="_blank">JSON Schema Fundamentals repo</a>.

All feedback is welcome. If you have questions or comments, you can find me on the <a href="/slack" target="_blank">JSON Schema Slack</a> or reach out to me on Twitter <a href="https://www.twitter.com/relequestual" target="_blank">@relequestual</a>.
All feedback is welcome. If you have questions or comments, you can find me on the <a href="/slack" target="_blank">JSON Schema Slack</a> or reach out to me on X<a href="https://www.x.com/relequestual" target="_blank">@relequestual</a>.

# Useful links and further reading

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ The astute among you might have noticed that Compound Documents may not be corre

If you’d like a more in-depth look at edge case situations, please do let us know.

You can reach out to us [@jsonschema](https://www.twitter.com/jsonschema) or our [Slack server](/slack).
You can reach out to us [@jsonschema](https://www.x.com/jsonschema) or our [Slack server](/slack).

*I hope you’ll agree, Ben has clarified the process for us all here, and we can use this example to fully meet JSON Schema’s bundling expectations when writing tools which bundle multiple resources into compound OpenAPI documents. Thanks, Ben!* - Mike

Expand Down
2 changes: 1 addition & 1 deletion pages/blog/posts/code-of-conduct-for-json-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Second is our [Open Community Working Meetings](https://github.com/json-schema-o

Both sets of calls are open for anyone to join. Both are recorded, but only the Open Community Working Meeting is shared publicly. The Office Hours session is not shared, hopefully allowing people to speak more freely.

Besides Slack, GitHub Discussions, and regular meetings, we do make use of Twitter. You can find me running the [@jsonschema account](https://www.twitter.com/jsonschema). Any mention of "JSON Schema" feeds into a channel on Slack, so we see most of the discussion, and can lend a hand or point people in a direction as appropriate.
Besides Slack, GitHub Discussions, and regular meetings, we do make use of X. You can find me running the [@jsonschema account](https://www.x.com/jsonschema). Any mention of "JSON Schema" feeds into a channel on Slack, so we see most of the discussion, and can lend a hand or point people in a direction as appropriate.

Hopefully, this has been a helpful look at why JSON Schema specifically needs a Code of Conduct. Maybe you're considering if your project needs a Code of Conduct. If you have any questions, thoughts, or comments as a result of this article, please feel free to use any of the above methods to make contact.

Expand Down
4 changes: 2 additions & 2 deletions pages/blog/posts/hello-2023--hello-json-schema-community.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ authors:
excerpt: "I am excited to announce that I am joining as Developer Advocate with a focus on serving the Community"
---

Since Ben Hutton joined Postman to work full-time on JSON Schema [the past year](https://blog.postman.com/ben-hutton-joins-postman-to-lead-json-schema-strategy/), other top contributors like Jason Desrosiers, Julian Berman, and Greg Dennis have joined, and now all are full-time supporting JSON Schema. So today, I am excited to announce that I am joining as Developer Advocate with a focus on serving the Community, nurturing relationships with other organizations, launching programs to support and grow the Community, and increasing awareness through content, public speaking, and discussions in Twitter, Linkedin, Stackoverflow or Reddit.
Since Ben Hutton joined Postman to work full-time on JSON Schema [the past year](https://blog.postman.com/ben-hutton-joins-postman-to-lead-json-schema-strategy/), other top contributors like Jason Desrosiers, Julian Berman, and Greg Dennis have joined, and now all are full-time supporting JSON Schema. So today, I am excited to announce that I am joining as Developer Advocate with a focus on serving the Community, nurturing relationships with other organizations, launching programs to support and grow the Community, and increasing awareness through content, public speaking, and discussions in X, Linkedin, Stackoverflow or Reddit.

## Who is this guy?

Expand All @@ -35,7 +35,7 @@ If you like to know more about me, check out [this intro post](https://www.twili
2023 will be a fantastic year for JSON Schema, and I am excited to be part of this journey with all of you! I can't wait to start connecting with you in the upcoming [working meetings](https://github.com/json-schema-org/community/discussions/35), in [Slack](https://json-schema.org/slack), and [Github](https://github.com/orgs/json-schema-org/discussions).

>* Email: benjamin.granados@postman.com
>* Twitter: [@benjagm](https://www.twitter.com/benjagm)
>* Twitter: [@benjagm](https://www.x.com/benjagm)
>* Linkedin: [benjagranados](https://www.linkedin.com/in/benjagranados/)
>* Github: [benjagm](https://github.com/benjagm)
Expand Down
2 changes: 1 addition & 1 deletion pages/blog/posts/hello-world-hello-postman.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you're a user of JSON Schema, you may know me as the author of [a popular Pyt

I'd love to share some good news with the JSON Schema community.

In short: I've joined [Postman's](https://www.postman.com/) Open Technology team to work on JSON Schema full-time. In doing so I'm joining a growing existing group of folks from the ecosystem, including amongst them [Ben Hutton](https://www.twitter.com/relequestual), JSON Schema's specification lead. This brings the number of people working on JSON Schema full-time up to 2 (and counting!).
In short: I've joined [Postman's](https://www.postman.com/) Open Technology team to work on JSON Schema full-time. In doing so I'm joining a growing existing group of folks from the ecosystem, including amongst them [Ben Hutton](https://www.x.com/relequestual), JSON Schema's specification lead. This brings the number of people working on JSON Schema full-time up to 2 (and counting!).

What does this mean? Primarily, on my part, more mindspace dedicated to JSON Schema, and hopefully thereby some long-needed improvements to the test suite, to my implementation, to new implementations, and beyond. We hope to grow the community even further, and to connect more strongly with it.

Expand Down
2 changes: 1 addition & 1 deletion pages/blog/posts/hyperborea.md
Original file line number Diff line number Diff line change
Expand Up @@ -743,5 +743,5 @@ it's all JSON, and we know darn well how to munge that.
[repo]: https://git.babyl.ca/yanick/hyperborea-character-sheet
[jsonschema]: https://json-schema.org/
[ASSH]: https://www.hyperborea.tv/
[gizmo]: https://www.twitter.com/gizmomathboy
[gizmo]: https://www.x.com/gizmomathboy
[yaml]: https://yaml.org/
2 changes: 1 addition & 1 deletion pages/blog/posts/json-schema-ambassadors.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cover: /img/posts/2024/json-schema-ambassadors/cover.webp
authors:
- name: Ben Hutton
photo: /img/avatars/benhutton.webp
link: https://www.twitter.com/relequestual
link: https://www.x.com/relequestual
byline: JSON Schema Specification Lead @Postman
excerpt: 'Just what is a JSON Schema Ambassador? And how can I help? Keep reading!'
---
Expand Down
8 changes: 4 additions & 4 deletions pages/blog/posts/json-schema-joins-the-openjsf.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cover: /img/posts/2022/json-schema-joins-the-openjsf/cover.webp
authors:
- name: Ben Hutton
photo: /img/avatars/benhutton.webp
link: https://www.twitter.com/relequestual
link: https://www.x.com/relequestual
byline: JSON Schema Specification Lead @Postman
excerpt: "Find out what we've been doing in 2021 and read about our biggest development yet... joining the OpenJS Foundation. Oh, and WE'RE HIRING!"
---
Expand Down Expand Up @@ -60,7 +60,7 @@ On joining Postman, one thing we discussed is the potential to bring on more peo

In the immediate future, we're looking to hire for Software Engineer and for Technical Community Manager / Developer Relations roles.

Feel free to reach out to me directly via [Twitter](https://www.twitter.com/jsonschema) or [Slack](https://json-schema.org/slack) should you have any questions.
Feel free to reach out to me directly via [X](https://www.x.com/jsonschema) or [Slack](https://json-schema.org/slack) should you have any questions.


# Regular calls
Expand Down Expand Up @@ -95,7 +95,7 @@ Currently there are only a handful of articles, but several more case studies ar

The blog has an RSS feed, so if you're still using an RSS reader you can catch every new update.

There were long time plans to rebuild the website as a whole, but our need for a blog escalated after some discussion around referencing on Twitter. Our first article was a joint post between myself and Mike Ralphson on the new JSON Schema bundling process.
There were long time plans to rebuild the website as a whole, but our need for a blog escalated after some discussion around referencing on X. Our first article was a joint post between myself and Mike Ralphson on the new JSON Schema bundling process.

We've published one case study in two languages, English and Japanese.

Expand Down Expand Up @@ -124,7 +124,7 @@ Here's the [Issue which lists all the Key Results as individual tasks](https://g

If you've read this far, you must be interested in what we're doing at JSON Schema and our plans for the future.

The most effective way to keep up to date is to join our Slack server. We're also using Twitter, which is our primary way to reach out to our community when we have questions.
The most effective way to keep up to date is to join our Slack server. We're also using X, which is our primary way to reach out to our community when we have questions.

There are lots more things we want to bring you, including essential tooling to enable a modern JSON Schema ecosystem.

Expand Down
2 changes: 1 addition & 1 deletion pages/blog/posts/new-website.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cover: /img/posts/2023/new-website/cover.webp
authors:
- name: Benjamin Granados
photo: /img/avatars/benjagm.webp
link: https://www.twitter.com/benjagm
link: https://www.x.com/benjagm
excerpt: "We are so pleased to announce the launch of our new website!"
---

Expand Down
2 changes: 1 addition & 1 deletion pages/blog/posts/remote-case-study.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cover: /img/posts/2023/remote-case-study/cover.webp
authors:
- name: Ben Hutton
photo: /img/avatars/benhutton.webp
link: https://www.twitter.com/relequestual
link: https://www.x.com/relequestual
excerpt: "Using JSON Schema at Remote was the first step to solving data validation and form generation problems across all levels at Remote."
---

Expand Down
2 changes: 1 addition & 1 deletion pages/blog/posts/website-analytics-snapshot-2023.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cover: /img/posts/2023/website-analytics-snapshot-2023/cover.webp
authors:
- name: Ben Hutton
photo: /img/avatars/benhutton.webp
link: https://www.twitter.com/relequestual
link: https://www.x.com/relequestual
excerpt: "See what we discovered when looking at over 50 million requests to the JSON Schema org domain from the last 7 days"
---

Expand Down
Loading

0 comments on commit 7a64e4f

Please sign in to comment.