Questions tagged [json-schema]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-3
votes
0answers
38 views

What are some good ways to exchange JSON Spec/Schema?

I have a need to exchange JSON contracts with another team. This is NOT HTTP REST API so swagger isn't really useful for me. This is for MQ messages - Need a way to document Headers and JSON Body with ...
0
votes
0answers
82 views

Structure of constants between back end and front end

I have a form that's being submitted from my front end to my back end, and the back end is responding. I'd like to ensure that they both send JSON in a format that the other side will interpret ...
0
votes
0answers
26 views

How to define an array of json reference types in a json-schema?

Given the three schema fragments: "column": { "type": "object", "$id": "#column", "properties": { "name": { "type": "string" }, "ordinal": { ...
-1
votes
1answer
65 views

Which is better for my use case? A hybrid customer data model or a document store customer data model?

I am trying to get some preliminary insight into the pros and cons of using either a hybrid model (jsonb document-relational) or an all jsonb document store model for customer data in PostgreSQL. Both ...
2
votes
1answer
51 views

What is the purpose of adding a schema validation in responses?

Many of the server scripting packages/tools out there have the option to have a schema validation before the response is sent out to the clients. E.g. the fastify package for a Node.js has a pretty ...
2
votes
1answer
51 views

Content Types of JSON in particular schema

My application stores two different types of json data in s3. For example: Schema-Foo and Schema-Bar. Up to now I used the content-type application/json for both. I would like to make a distinction ...
2
votes
2answers
279 views

How to model JSON data so it can be easily de-serialized in to simple Java classes?

Context Currently I'm struggling with correctly modeling a small instruction set I want to send as JSON to an Android application to generate a list of UI parts. Right now it's layered as pretty much ...