schema-dts
dynamic_dns
schema-dts | dynamic_dns | |
---|---|---|
2 | 1 | |
825 | 0 | |
2.5% | - | |
0.0 | 1.1 | |
2 months ago | about 1 year ago | |
TypeScript | Ruby | |
Apache License 2.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
schema-dts
-
Are there any typescript validation libraries for schema.org json-ld metadata?
I'm trying to extract and validate json-ld objects from web pages but after a bunch of searching I cannot find any libraries that validate json-ld schema.org metadata that produces typed typescript objects. I was able to find schema-dts which has the typescript types, but does not appear to have a validator. I also found schemaorg-jsd, which does the validation, but does not seem to add typescript types to the object.
-
Ask HN: Do you use JSON Schema? Help us shape its future stability guarantees
Just last week, I added the ability to export [Umami](https://www.umami.recipes/) recipes as [Recipe JSON Schema](https://schema.org/Recipe). Writing the code for it was quite pleasant thanks to [schema-dts](https://github.com/google/schema-dts).
dynamic_dns
-
Ask HN: Do you use JSON Schema? Help us shape its future stability guarantees
I do use it, and it's a nice additional layer in forcing APIs to a) remain consistent and b) increase security. I think the only public program I'm using it in is my dynamic DNS widget:
https://github.com/chapmajs/dynamic_dns
My main interest in using JSON Schema in the above project was security related: this service sits on the public Internet, by nature I cannot restrict the sources that connect to it (road warrior type systems couldn't send DNS updates!). Having a strict schema is another layer of sanitization on what one nowadays must assume is a malicious source.
What are some alternatives?
openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
laminar - OpenApi backed REST APIs. Automatic validation of request / response based on the api schema.
alt-schema - Flat JSON Schema specification and basic utility methods
alterschema - Convert between JSON Schema specification versions.
cue - The home of the CUE language! Validate and define text-based and dynamic configuration
OpenMetadata - Open Standard for Metadata. A Single place to Discover, Collaborate and Get your data right.
json-editor - JSON Schema Based Editor
library-recommendations - Evaluating Open Source libraries for particular purposes
open-kun - Open source Al-Kun