Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged jsonschema

0 votes
1.1k views
1 answer
    Suppose I have an object with four possible properties: a, b, c, d. a and b can only appear together ( ... 't figure out the proper incantation. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
450 views
1 answer
    I have a JSON file which contains a list of items. The only thing stored in this file is the items as ... is top level array json unsupported? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
641 views
1 answer
    ------------Josn schema----------- { "type": "object", "properties": { "street_address": { " ... to modify above schema to accomplish the goal. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
608 views
1 answer
    I have to build tree like structure of Json data.Each node has an id (an integer, required), a label (a ... } ] } enter image description here See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
617 views
1 answer
    I would like to know if I can define a JSON schema (draft 4) that requires at least one of many properties ... validation for my use case ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
467 views
1 answer
    I would like to know if I can define a JSON schema (draft 4) that requires at least one of many properties ... validation for my use case ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
483 views
1 answer
    The required field in JSON Schema JSON Schema features the properties, required and additionalProperties fields. For ... explicitly naming them? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
394 views
1 answer
    I have an object (from a 3rd party, so I can't change it) that have a property named "key", and another property ... "value": {"seconds":12} } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
451 views
1 answer
    I was looking around the docs and couldn't find any direct or indirect solution. Is there any way to get ... : root.**.grandParent.parent.child See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
318 views
1 answer
    I understand that $ref takes a URI to a json schema to use but where does $ref : "#" point to? Does it ... till it hits that schema? Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
462 views
1 answer
    Wise crowd, I already have a working JSON Schema (v0.7) to validate my data. This is an example of valid ... not know the values in advance. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
388 views
1 answer
    I have the following Schema. I've implemented it as best I can, but it's still not working quite as I want ... should match "then" schema" } ] See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
569 views
1 answer
    I have a JSON Schema { 'description': 'TPNode', 'type': 'object', 'id': 'tp_node', 'properties': { ' ... this the correct way to describe it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
435 views
1 answer
    A relatively new addition to JSON Schema (draft-07) adds the if, then and else keywords. I cannot work ... https://www.jsonschemavalidator.net/ See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
369 views
1 answer
    I am using json-schema and wanting to only allow properties that are declared in this file to pass validation. For ... title", "description" ] } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
286 views
1 answer
    Is it possible to set up a JSON schema that still allows for additionalProperties but does not match if a very particular ... 456, "z": 789 } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
392 views
1 answer
    I am drafting an API documentation with swagger.io and is trying to make it fit to our use case. The ... original input into JSON string). See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
395 views
1 answer
    Does a Schema object in Swagger/OpenAPI 2.0 have to have the type attribute or not? On the one hand, according to ... say that's NOT the case. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
440 views
1 answer
    The rest service response I am working with is similar to following example, I have only included 3 fields here ... how I should handle this. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...