Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Write a JSON Schema case study for the W3C Web of Things #18

Merged
merged 27 commits into from
Nov 1, 2022
Merged

Write a JSON Schema case study for the W3C Web of Things #18

merged 27 commits into from
Nov 1, 2022

Conversation

jviotti
Copy link
Member

@jviotti jviotti commented Aug 17, 2022

Fixes: json-schema-org/community#221
Fixes: w3c/wot-marketing#329
Signed-off-by: Juan Cruz Viotti [email protected]

@jviotti
Copy link
Member Author

jviotti commented Aug 17, 2022

Hi @Relequestual and @egekorkan,

I'm opening this PR with what we have so far so that we can collaborate and get it out soon!

Some action items:

  • We need a cover picture for the case study @egekorkan Do you have anything we could use?
  • We need a round for review to see if there is anything we should change
  • We need sign-off from the W3C WoT that this is fine to publish and no more corrections are needed
  • We need to set the right publication date for the article

Thanks a lot!

@jviotti
Copy link
Member Author

jviotti commented Aug 17, 2022

It doesn't seem like we will get a deployment preview of this branch for some reason. I'm attaching a PDF of how this looks like for me.

You can also locally see the case study by running the following commands:

$ git clone https://github.com/json-schema-org/blog
$ cd blog
$ yarn
$ yarn dev
# Open this post at http://localhost:8080/blog/posts/w3c-wot-case-study

How the W3C Web of Things brings JSON Schema to the Internet of Things | JSON Schema Blog.pdf

@egekorkan
Copy link
Contributor

Hi @jviotti and @Relequestual ! Thanks for taking our input and turning it into a text that can be already read quite well. I can provide feedback, should I do it on the GitHub review or the PDF annotations? I would prefer GitHub option but I am ok for both. Regarding other points:

  • Cover picture: We have the W3C WoT Logos at https://www.w3.org/WoT/IG/wiki/Web_of_Things_Logos but I am not sure if they would be good cover pictures. Otherwise, we have a cover picture at https://twitter.com/W3C_WoT . Another alternative would be that I can make a "WoT ❤️ JSON Schema" image using both logos?
  • Regarding review process: As you have mentioned, we will need to give OK to publish, which is not a problem, the group has agreed that we want to do this. Just regarding the timeline, currently there will be some delays since I (and others too) am going on holidays for 2 weeks and then there are W3C events (W3C TPAC in Vancouver). I think that we can get it done before end of September though.

@jviotti
Copy link
Member Author

jviotti commented Aug 18, 2022

@egekorkan Awesome! Please post any comments on GitHub. The PDF is just a rendering on my local environment to simplify showing it to you :)

Cover picture: We have the W3C WoT Logos at https://www.w3.org/WoT/IG/wiki/Web_of_Things_Logos but I am not sure if they would be good cover pictures. Otherwise, we have a cover picture at https://twitter.com/W3C_WoT . Another alternative would be that I can make a "WoT ❤️ JSON Schema" image using both logos?

The Twitter cover looks pretty neat IMO, as it's more hardware-ish, probably more than what I'd be able to create myself out of the two logos 😅 What do you think @Relequestual ?

- name: Juan Cruz Viotti
photo: /img/avatars/jviotti.webp
link: https://twitter.com/jviottidc
excerpt: "Using JSON Schema at the W3C Web of Things to counter the fragmentation of the Internet of Things"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually "countering the fragmentation" is something we want to avoid since it starts with a negative tone. I would propose (from our input document):

Using JSON Schema at the W3C Web of Things to create an interoperability layer so that different IoT platforms, protocols and standards can operate together.

I hope it is not too late to fit into the small part that is under the title

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense! Done

To solve these problems, the W3C Web of Things works on providing standardized
building blocks that make use of JSON Schema.

JSON Schema is used for validating abstractions of physical entities called
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

abstraction of a physical entity can be understood differently by different people. Not sure of the best replacement but maybe "description of network-facing capabilities of physical entities"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think that reads well. Done

[Thing Descriptions][thing-description], and to model and describe data sent by
Internet of Things consumers and producers in a multi-protocol manner.

We are on-board with JSON Schema since Draft 4, and even the first draft
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we use another subject than "we"? There are other places with it as well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True. Other case studies use "We" only in quotations. I'll fix it everywhere

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Signed-off-by: Juan Cruz Viotti <[email protected]>
@jviotti
Copy link
Member Author

jviotti commented Aug 18, 2022

I have added WoT's Twitter cover to the post. I think it looks pretty good:

Screen Shot 2022-08-18 at 12 49 10

Signed-off-by: Juan Cruz Viotti <[email protected]>
Signed-off-by: Juan Cruz Viotti <[email protected]>
Signed-off-by: Juan Cruz Viotti <[email protected]>
@jviotti
Copy link
Member Author

jviotti commented Aug 18, 2022

I have addressed all your comments @egekorkan . Please give it another round of review! I also added a "thank you" note at the end like for other case studies.

@egekorkan
Copy link
Contributor

Thank you @jviotti ! Can you generate a new PDF so that I can send it for reviews in the WoT group?

@egekorkan
Copy link
Contributor

Also, given that the cover picture was given to us by @Citrullin, @Citrullin is it fine to use it here (copyrights etc.)?

@handrews
Copy link

I just want to say I'm so happy to see this. I enjoyed meeting the WoT folks at their conference in Santa Clara several years ago, when we had just started to revive work on the JSON Schema spec. I'm really glad to see that the work we've done since then is of interest, and particularly excited to see how JSON Schema vocabularies can fit with Semantic Web approaches.

I never had as much time to keep up with the WoT work as I would have liked, but a better way to integrate with JSON LD/Semantic Web has always been something I'd love to see. I prioritized OAS integration in part because they had a major revision timed right for 2020-12, but the Thing Description has always been another major JSON Schema use case I kept in mind.

@egekorkan
Copy link
Contributor

I just want to say I'm so happy to see this. I enjoyed meeting the WoT folks at their conference in Santa Clara several years ago, when we had just started to revive work on the JSON Schema spec. I'm really glad to see that the work we've done since then is of interest, and particularly excited to see how JSON Schema vocabularies can fit with Semantic Web approaches.

I never had as much time to keep up with the WoT work as I would have liked, but a better way to integrate with JSON LD/Semantic Web has always been something I'd love to see. I prioritized OAS integration in part because they had a major revision timed right for 2020-12, but the Thing Description has always been another major JSON Schema use case I kept in mind.

Thank you for all your support over the years! Maybe @sebastiankb can remember more from Santa Clara event but having one the authors of JSON Schema since the beginning was a big support :)

@jviotti
Copy link
Member Author

jviotti commented Aug 18, 2022

@egekorkan Here you go!

How the W3C Web of Things brings JSON Schema to the Internet of Things | JSON Schema Blog.pdf

Copy link
Contributor

@egekorkan egekorkan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have given it another read since forgetting about the text definitely helps ;) I will do another read next week

@jviotti
Copy link
Member Author

jviotti commented Sep 23, 2022

Added!

Signed-off-by: Juan Cruz Viotti <[email protected]>
Copy link

@relu91 relu91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! sorry for being absent. I read the article and I liked a lot. Well done and thanks for your work :)

Copy link
Contributor

@egekorkan egekorkan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is my last feedback after reading for one last time. We did not receive any further feedback from the WG so this can be published once these small changes are done.

@jviotti
Copy link
Member Author

jviotti commented Oct 5, 2022

Revisions accepted!

@egekorkan
Copy link
Contributor

🥳

Let us know when the blog article is published. I have recently subscribed to the RSS feed and follow on Twitter but I can still miss it :)

@jviotti jviotti changed the title [WIP] Write a JSON Schema case study for the W3C Web of Things Write a JSON Schema case study for the W3C Web of Things Oct 10, 2022
@Relequestual Relequestual self-requested a review October 17, 2022 14:19
@Relequestual
Copy link
Member

I'm going to give it a final read through this week! =D

Copy link
Member

@Relequestual Relequestual left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor fixes, but the content is all good by me.
After tose are resolve, I say it's good to publish.

@egekorkan did you want to know when it will be published or just when it's published?
I'll probably merge in UK time, although anyone else is free to merge when my outstanding comments are resolved.

@egekorkan
Copy link
Contributor

Thanks @Relequestual , I think the changes are good, just that there was a missing s for the last one. I cannot suggest changes on a suggested change so I had to create a new one.

@egekorkan did you want to know when it will be published or just when it's published?

Just when it is published :) I am not sure if the merge of this PR means publication, if it does, I will get the notification for sure :)

@jviotti
Copy link
Member Author

jviotti commented Oct 21, 2022

All done! @Relequestual Don't forget to update the post date before publishing though

@Relequestual Relequestual merged commit 0e200ef into json-schema-org:main Nov 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

W3C WoT case study JSON Schema Case Study
9 participants