Migrate vocabulary definition and canonical URIs to HTTPS#2814
Migrate vocabulary definition and canonical URIs to HTTPS#2814RichardWallis merged 6 commits intomainfrom
Conversation
|
Let me know if any of the Ruby pieces need updating. I've maintained parallel vocabularies (HTTP and HTTPS), and either can be validated with the linter. |
|
@gkellogg It works without change. If you want to take a look at it and see what I should have done, please do. |
|
The release notes say "Download files will continue to support both protocols." wget --header 'Accept: application/ld+json' -S http://schema.org/docs/jsonldcontext.jsonld returns (via a 301 redirect) a document with |
|
The vocabulary definition download files continue to be available containing either http or https based URIs. Whereas the JSON-LD context file only represents the vocabulary URIs as defined in the coding that defines Schema.org in the repository - which as of version 12.0 has moved to be https based. See the previous comment for a little more detail. Also note Content negotiation is not supported on the Schema.org site. See comment for detailed description as to why: #2578 (comment) As per the JSON-LD 1.1 standard machine readable access is indicated via the link value: |
|
The Link is after the 301 redirect has occurred. As shown above: "http://schema.org/docs/jsonldcontext.jsonld" returns the "https" form which is a change (between 14:00 and 18:00 UTC today). |
|
The site-wide 301 redirect of all http requests to their https equivalents has been a standard feature since its introduction in V7.0 in March 2020. One thing that did change with the release of V12.0 (approximately 15:35 GMT 2021-03-08) was the contents of the JSON-LD context file. These represent the vocabulary URIs as defined in the coding that defines Schema.org in the repository. This, as per issue #2814, has now moved from being http based to being https based. |
|
It appears v12.0 was to use What is the intended vocabulary namespace for schema.org moving forward? The difference does impact downstream processing and recommendations for our community of implementors. |
To complete the journey tracked in issues #1325, #2516 and others - converting all aspects of Schema.org URLs and URIs to HTTPS format.
Converted contents of all term definition .ttl files to https format, updating test scripts, updating relevant links in docs files.
Also added script
buildhttpequivs.pythat can be used to build mapping triples files between http & https equivalent terms.Obvious impacts of applying this PR: Canonical URI (in term page more... section) changes to HTTPS and vocabulary definitions need now to use HTTPS