Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

Error: https://json-schema.org/draft/2020-12/schema is not a schema. Found a document with media type: application/octet-stream #10

Closed
hanoj-budime opened this issue Jan 17, 2022 · 3 comments

Comments

@hanoj-budime
Copy link

image

@jdesrosiers
Copy link
Collaborator

I'm guessing you're looking for a JSON Schema validator that supports 2020-12. You'll find that at https://github.com/hyperjump-io/json-schema-validator. This package is used to create custom dialects and probably not what you are looking for. If I'm wrong, please ask a question and I'll do my best to help.

@hanoj-budime
Copy link
Author

hanoj-budime commented Jan 18, 2022

Hi @jdesrosiers,

Thanks for your response.

But we are using this package in our Node.js Project ( package version is @hyperjump/json-schema@0.11.1 ).

After deployment, this project in AWS lambda shows project size is more then 3.2 MB.

Because of this https://bundlephobia.com/package/@hyperjump/json-schema@0.11.1

Can please help me on this.

@jdesrosiers
Copy link
Collaborator

I think you meant to make that comment on hyperjump-io/json-schema#13

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants