question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Site] Schema needs to be updated on the site

See original GitHub issue

Although we’ve updated the current schema to the 1.3.0 version of the schema with #4884, this issue tracks whether we wish to revisit how we handle schema versioning.

Looks like this will require a bit more planning – specifically, the currently published schema is our 1.3.0 schema. Should newer schemas are published at versioned URLs (e.g. https://adaptivecards.io/schemas/1.4.0/adaptive-card.json). We need to square our structure with our card author guidance. Should the unversioned URL be considered “latest”, or should it be the 1.3 schema encased in amber?

Some points:

  • cards generated by the designer are all emitted with the unversioned schema url
  • our samples all use the unversioned schema url
  • due to this, loading any of our samples in the designer has some suboptimal behaviors (note that these aren’t deficiencies in the designer):
    • properties introduced after the latest version aren’t validated (e.g. "isRequired": "steve" weren’t flagged for an invalid type when we we on the 1.1 schema)
  • our docs don’t have any guidance around the value of $schema
  • I’m not sure if we’ve ever publicly communicated the versioned schema URLs
  • we should turn on schema validation for our samples if we’re not already covering it

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
RebeccaAnnecommented, Oct 26, 2020

@shalinijoshi19 This tracks the larger conversation around how we want to handle versioning our schema. #4884 is the immediate issue of updating our current schema to the latest version. I’ve moved that one back into 20.10, but this one represents a longer term conversation.

0reactions
shalinijoshi19commented, Oct 26, 2020

@RebeccaAnne ? I dont think we got traction on this from Paul’s end before he left on leave. Can you pick it up to determine when/how this will need to be fixed - time for 20.10?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Add Schema Markup to Your Site - Website Help
Click or scroll to Header HTML, and paste your schema markup in the box provided. Republish the site to make sure the updated...
Read more >
What Website Components Should Have Schema? | SEJ
Every website has multiple opportunities to make the information and content they offer easier for users to read and search engines to index....
Read more >
What Is Schema Markup & How to Implement Structured Data
Schema markup is a structured data vocabulary that allows Google to serve better results. We'll discuss different kinds of schema and how to ......
Read more >
How to Develop a Schema Markup Strategy for Your Website
When adding schema markup to a website, the first step is to figure out what pages to optimize and how. Read our guide...
Read more >
Warning after new update
I am using your plugin and working fine with happy. Yesterday I updated new version and throwing warning in google search console and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found