You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JSON schema provided contains references that do not load / resolve. This prevents users from writing schemas with help from JSON / YAML language servers to provide inline-hinting for the schema.
Steps to reproduce
Use VSCode or any other JSON schema compatible editor and write a YAML file with an inline schema definition to the JSON schema:
View the VSCode problems section to see the that the schema cannot be loaded from the openslo.com hostname:
Problems loading reference 'https://openslo.com/schemas/v1/parts/slo-spec.schema.json': Unable to load schema from 'https://openslo.com/schemas/v1/parts/slo-spec.schema.json': Request vscode/content failed unexpectedly without providing any details.
What is the current bug behavior?
The OpenSLO schema files are invalid as written and contain refs to subschemas that do not load.
What is the expected correct behavior?
Users should be able to reference the OpenSLO schema and have the references resolve inline such that any valid YAML or JSON Language Server can provide hints on the shape of the OpenSLO schemas.
Relevant logs and/or screenshots
Problems loading reference 'https://openslo.com/schemas/v1/parts/slo-spec.schema.json': Unable to load schema from 'https://openslo.com/schemas/v1/parts/slo-spec.schema.json': Request vscode/content failed unexpectedly without providing any details.
OpenSLO schema references are not loadable:
Possible fixes
Not sure where it is held, but the OpenSLO Github Pages website does not properly resolve the schemas.
The text was updated successfully, but these errors were encountered:
hey @dxh9845, while we've had a contribution for JSON Schema some time ago, which was more of a POC then a lasting solution. It wasn't maintained since then nor was was it properly finished (afaik).
There's an ongoing discussion on how we want to define OpenSLO manifest source of truth.
Currently there's been 3 proposals:
Once we sort this out, we'll definitely want to have some kind of working JSON Schema for sure.
On the upcoming community meeting we'll want to decide on one of these approaches. I'll keep you posted once we've got an exact date If you'd be interested.
Summary
The JSON schema provided contains references that do not load / resolve. This prevents users from writing schemas with help from JSON / YAML language servers to provide inline-hinting for the schema.
Steps to reproduce
openslo.com
hostname:What is the current bug behavior?
The OpenSLO schema files are invalid as written and contain
ref
s to subschemas that do not load.What is the expected correct behavior?
Users should be able to reference the OpenSLO schema and have the references resolve inline such that any valid YAML or JSON Language Server can provide hints on the shape of the OpenSLO schemas.
Relevant logs and/or screenshots
OpenSLO schema references are not loadable:
Possible fixes
Not sure where it is held, but the OpenSLO Github Pages website does not properly resolve the schemas.
The text was updated successfully, but these errors were encountered: