Skip to main content
0 votes
1 answer
52 views

I’m trying to verify whether messages produced using Confluent’s KafkaJsonSchemaSerializer are correctly serialized in the expected Confluent wire format (i.e. a “magic byte” followed by a 4-byte ...
Priyanshu Sharma's user avatar
0 votes
2 answers
85 views

I have this json schema: { "$schema": "http://json-schema.org/draft-04/schema#", "description": "The description of OpenAPI v3.0.x documents, as defined by https:...
user51's user avatar
  • 10.6k
0 votes
1 answer
149 views

i need to set default value in enum, if UI passing string is passing empty or null or "" "BankAccount":{ "type": "String", "enum": ["Y", &...
Kiran Babu's user avatar
0 votes
1 answer
159 views

I have a JSON schema like this: { "authentication": { // provider is an enum. Let's say it has A and B as values. // if A is chosen, jwt must have a value. // if B is chosen, ...
S. ten Brinke's user avatar
3 votes
0 answers
376 views

I am using com.networknt:json-schema-validator lib to validate the incoming json request body in my spring boot server against the pre loaded schema and its working fine. Now I also want to validate ...
V John's user avatar
  • 147
0 votes
1 answer
78 views

I have a JSON schema { "type": "object", "required": ["version"], "additionalProperties": false, "properties": { "version": { ...
am1988's user avatar
  • 1
0 votes
1 answer
29 views

Is there any way I can insert a property into this validator for inserting documents into MongoDB that will not impact validation but that I can retrieve via query? To give some context: I use the ...
Brayan Vinicius Jordan's user avatar
2 votes
4 answers
1k views

I've been using the OpenAPI 3.0 schema to validate OpenAPI 3.0 specifications. However, I don't seem to be able to use the OpenAPI 3.1 schema to validate an OpenAPI 3.1 specification. With OpenAPI 3.0 ...
bgh's user avatar
  • 2,200
1 vote
1 answer
63 views

I expect array A to contain at least all the elements of attribute array B. Here are some examples: // valid { "A": [1,2,3], "B": [1,2] } // valid { "A": [1,2], "B&...
clove682's user avatar
0 votes
1 answer
125 views

I'm trying to do json schema validation in spring boot 3.3.3, in resources folder I have put the schemas main.json, sub1.json and sub2.json. I’m using $ref to refer other schema objects from main ...
Arun's user avatar
  • 1
2 votes
0 answers
145 views

In networknt/json-schema-validator, the maximum keyword accepts only number type as argument. In AJV json schema validator, maximum keyword accepts both number type as well as string or json pointer ...
user1630923's user avatar
0 votes
0 answers
69 views

I am trying to validate a JSON schema against the JSON input. I am using org.everit.json.schema-1.12.1.jar My JSON input: { "id": 200, "name": "Green Learner", "cost&...
chandan Kr.'s user avatar
0 votes
1 answer
60 views

I have a YAML schema splitted in two files. Like this: main.yaml type: object properties: a: description: variable a type: string b: description: variable b $ref: support.yaml and ...
Joao Pedro P.P's user avatar
1 vote
2 answers
60 views

I have this problem where I have a json schema similar to { "$schema" : "https://json-schema.org/draft-07/schema", "type" : "object", "title&...
repsick3r's user avatar
0 votes
1 answer
137 views

I have a JSON object where one of the fields contains a JSON string. I need to write a JSON schema that validates this JSON string field. Here's an example of the JSON object I'm working with: { &...
Sai Prasanna S's user avatar

15 30 50 per page
1
2 3 4 5
53