Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-2 votes
0 answers
51 views

How can I define a Pydantic schema for heterogeneous Node-RED workflows when using OpenAI structured outputs? [closed]

I’m experimenting with generating Node-RED workflows using an LLM. As expected, the unstructured JSON responses are often messy or invalid. To improve reliability, I’m trying to use OpenAI’s ...
0 votes
1 answer
32 views

how to verify Confluent Kafka JsonSchema Serialized message?

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 ...
1 vote
1 answer
51 views

JSON Schema - Have string value supplied to one property be a required property itself

I am creating a JSON schema that validates the "code" a user writes for the Turing Machine Simulator I am building. The "code" object looks like this: { "InitialState": ...
-1 votes
1 answer
65 views

JSON Schema, how do I reference different objects in an array?

I have the following objects: Obj1, Obj2, Obj3 defined in a $defs-Section. How can I 'say' in JSON Schema that an array consists of those objects as references. I surely cant have the same $ref-key ...
1 vote
1 answer
79 views

Python package upgrade with uv behaves as in old version

for an old project I have upgraded jsonschema. For a prototype project I have added jsonschema to check the new functionality with jsonschema Draft7Validators. uv pip show jsonschema shows in both ...
3 votes
0 answers
80 views

JSchemaValidatingReader - OOM when handling large tokens

We have encountered some memory issues when validating JSON. We are using: Newtensoft.Json v 13.0.3 Newtonsoft.Json.Schema 4.0.1 .NET 9.0.304 For validation we have this code: var validationResult = ...
0 votes
2 answers
34 views

JSON Schema if, then conditional statement clarification

my schema rules: Checking html select value make the AJV consider the select field required even I did not set it to be required I need to check the select value without make it required. export const ...
0 votes
0 answers
53 views

fastify ajv validation throw error on anyOf

I have a simple schema for data validation like below, when sending an array for packages with length 1 it throw an error for anyOf, and for more than one. it's ok and work currectly. I've try to ...
1 vote
1 answer
69 views

JsonSchema.net doesnt contain errors when evaluating an invalid document against CycloneDX schema

I'm using nuget package JsonSchema.Net 7.3.4 in a .Net 8 application to validate a json document against the official CycloneDX 1.6 Json schema (https://cyclonedx.org/schema/bom-1.6.schema.json). The ...
1 vote
1 answer
46 views

Optional properties unless an object includes them

I am trying to validate the following (I use YAML for my schema before converting to JSON) using jsonschema - I have an object vlans and it has two required properties: id and subnet, but I have an ...
chrixm's user avatar
  • 1,034
-1 votes
1 answer
61 views

How can I exclude certain properties and keys from a self referential JSON Schema?

I have a schema like: { "$id": "http://example.com/names.json", "type": "object", "required": ["id", "name"], "...
Jarede's user avatar
  • 3,554
0 votes
1 answer
32 views

jsonschema if else statement

I want to validate the 'ValDefault' according to 'DataType' and write like below, but it does not work properly, please help me how to. { "DataType": { "type": "...
0 votes
0 answers
61 views

Spring AI support of enumNames

Apparently Spring AI or rather schema generator itself does not support enumNames as part of enum schema. Please guide me if anyone was able to get it done. Example of generated schema: "...
0 votes
1 answer
102 views

How to define custom "required" error message for nested property in JSONForm with ajv-errors

I'm using a nested JSON schema with JSONForm and trying to define a custom "required" error message for the field "personal/name" with ajv-errors. Custom error messages for "...
0 votes
1 answer
41 views

Maximum # of scopes in manifest 1.21

I am looking at the 1.21 version of the schema and I see the definition below for the scopes properties. It only allows a maximum of 3 items (see maxItems in the definition set to 3), which means that ...

15 30 50 per page
1
2 3 4 5
...
238

AltStyle によって変換されたページ (->オリジナル) /