json-schema-spec
json-api
json-schema-spec | json-api | |
---|---|---|
56 | 69 | |
4,483 | 7,624 | |
1.2% | 0.3% | |
8.8 | 6.7 | |
29 days ago | 6 months ago | |
JavaScript | CSS | |
GNU General Public License v3.0 or later | Creative Commons Zero v1.0 Universal |
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.
json-schema-spec
-
JSON Schema to PySpark StructType
Assume that you get the following JSON schema specification:
-
JSON Schema in Haskell using AutoDoCodec
The outcome of my research was that there weren't really any good libraries for dealing with JSON Schema from within Haskell. That was a surprising disappointment, because Haskell often has very good libraries (although they may be hard to use). The reason is that the JSON Schema specification itself isn't very well-made.
-
Using GPT for natural language querying
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://upsidelab.io/recipe.schema.json", "title": "Recipe", "description": "A recipe definition", "type": "object", "properties": { "ingredients": { "description": "The list of ingredients required to prepare the recipe", "type": "array", "items": { "$ref": "#Ingredient" } }, "steps": { "description": "The list of steps required to prepare the recipe", "type": "array", "items": { "$ref": "#Step" } } }, "$defs": { "ingredient": { "$anchor": "Ingredient", "type": "object", "properties": { "id": { "type": "number" }, "name": { "type": "string" }, "quantity": { "type": "string" } } }, "step": { "$anchor": "Step", "type": "object", "properties": { "id": { "type": "number" }, "name": { "type": "string" }, "description": { "type": "string" }, "dependsOnSteps": { "type": "array", "items": { "type": "number" } }, "dependsOnIngredients": { "type": "array", "items": { "type": "number" } } } } } }
-
Tools and Demo Based on Existing .NET JSON Schema Components
While there are variety of JSON schema tools since the introduction of JSON schema, this project is focused on the following:
- JSON Schema
-
How API Schema Validation Boosts Effective Contract Testing
JSON Schema: The industry standard for defining and validating JSON data structures.
-
How to use FastAPI for microservices in Python
The framework's official website mentions a number of pros of FastAPI. In my opinion, the most useful features from a microservice perspective are: the simplicity of code (easy to use and avoid boilerplate), high operational capacity thanks to Starlette and Pydantic and compatibility with industry standards - OpenAPI and JSON Schema.
-
Show HN: ParserPete – Make every website a JSON API
2. schema ⇾ (optional) you can provide it a JSON schema (https://json-schema.org/) in which you define the wanted output.
I needed it myself and thought it might be fun to create a little tool out of it.
Best
-
Mastering API Definitions: A Comprehensive Guide
As of OpenAPI 3.1, you can additionally embed JSON Schema directly into your definition, which tooling takes advantage of to generate documentation and perform contract testing.
-
Show HN: Convert your LinkedIn profile to a resume
For our data model we started with https://jsonresume.org/ but needed to adapt a bit.
Ideally there would be something on https://json-schema.org/ (as there are for industry job posting standards)
json-api
-
Show HN: Aura – Like robots.txt, but for AI actions
Why reinvent the wheel poorly when you have a hundred of solutions like https://jsonapi.org/?
-
Build Real-Time Knowledge Graph for Documents with LLM
For context, the subject-predicate-object pattern is known as a semantic triple or Resource Description Framework (RDF) triple:
https://en.wikipedia.org/wiki/Semantic_triple
They're useful for storing social network graph data, for example, and can be expressed using standards like Open Graph and JSONAPI:
https://ogp.me
https://jsonapi.org
I've stored RDF triples in database tables and experimented with query concepts from neo4j:
https://neo4j.com/docs/getting-started/data-modeling/tutoria...
These are straightforward to translate to SQL but the syntax can get messy due to not always having foreign keys available and hitting limitations with polymorphic relationships. Some object-relational mapping (ORM) frameworks help with this:
https://laravel.com/docs/12.x/eloquent-relationships#polymor...
I feel that document-oriented databases like MongoDB jumped the gun a bit, and would have preferred to have had graph-oriented or key-value-oriented databases providing row/column/document oriented queries and views. Going the other way feels a bit kludgy to me:
https://www.mongodb.com/resources/basics/databases/mongodb-g...
Basically Set Theory internally with multiple query languages externally and indexed by default.
Oh and have all writes generate an event stream like Firebase does so we can easily build reactive apps.
-
OSF API: The Complete Guide
Built on JSON API standards, the OSF API is intuitive for anyone familiar with REST conventions. Once you learn its core patterns, you can quickly expand into project creation, user collaboration, and more—without constantly referencing documentation. The official OSF API docs provide everything needed to get started.
-
Common Mistakes in RESTful API Design
Following established patterns reduces the learning curve for your API. Adopt conventions from JSON:API or Microsoft API Guidelines to provide consistent experiences.
-
Starting the Console front-end for Rainbow Platform
I’ve used both GraphQL and REST in the past. From json:api to Relay, each approach for building APIs has its pros and cons. However, a constant challenge is choosing between code-first and schema-first approaches.
-
One Minute: DatAasee
Features: REST-like CQRS HTTP-API, Faceted Search, Full-text Search Interface: OpenAPI, JSON, JSON API, JSON Schema Query Languages: SQL dialect, Cypher, Gremlin, MQL, GraphQL Ingest Protocols: OAI-PMH, S3 Ingest Encoding: XML Ingest Formats: DataCite, DublinCore, MARC, MODS Deployment: Compose, Docker-Compose, Podman-Compose, K8s (via Kompose) Components: ArcadeDB, Connect, Lowdefy License: MIT
- JSON: API – A Specification for Building APIs in JSON
-
REST API: Best practices and design
There is a group of people who set out to standardize JSON responses into a single response style, either for returning single or multiple resources. You can take their style as a reference when designing their API to ensure uniformity of responses.
-
Path To A Clean(er) React Architecture - Domain Entities & DTOs
The server seems to be using the popular JSON:API standard which is a great way to build APIs. But should we really use these data structures in the frontend?
-
Path To A Clean(er) React Architecture - API Layer & Data Transformations
Note: You think the response data structure with the data field and the included field with mixed data types looks weird? You might not have encountered the popular JSON:API standard yet.
What are some alternatives?
uplaybook - A python-centric IT automation system.
tinybase - A reactive data store & sync engine.
nix-configs - My Nix{OS} configuration files
api-guidelines - Microsoft REST API Guidelines
shodohflo - Pure Python netflow and DNS correlation, with reusable Frame Streams, DnsTap and Protobuf implementations
grpc-swift - The Swift language implementation of gRPC.