Skip to content

URL for jsonld from schema.org changed? #197

@MEmanuelsson

Description

@MEmanuelsson

I just downloded the source code for Schema.NET with the purpose of trying to see if I can find a way to solve this issue #42, if possible. However running the project Schema.NET.Tool results in the application crashing since calling https://schema.org/version/latest/all-layers.jsonld results in status code 404 Not Found.

Looking at https://schema.org/docs/developers.html it seems like this url has changed, probably to https://schema.org/version/latest/schemaorg-current-https.jsonld?

I tried changing to this url and that way I get information from schema.org but that then results in the following exception:

System.Exception: Check that a new primitive type has not been added.
at Schema.NET.Tool.Services.SchemaService.SetParentAndChildren(List`1 classes) in C:\Source\Schema.NET\Tools\Schema.NET.Tool\Services\SchemaService.cs:line 180
at Schema.NET.Tool.Services.SchemaService.GetObjectsAsync() in C:\Source\Schema.NET\Tools\Schema.NET.Tool\Services\SchemaService.cs:line 53
at Schema.NET.Tool.Program.ExecuteAsync() in C:\Source\Schema.NET\Tools\Schema.NET.Tool\Program.cs:line 65
at Schema.NET.Tool.Program.Main() in C:\Source\Schema.NET\Tools\Schema.NET.Tool\Program.cs:line 45

Any input here would be appreciated.
Best regards
Martin

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues describing a bug or pull requests fixing a bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions