Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema is valid but ui would not be generated #4049

Closed
1 task done
SyntaxTalksToMe opened this issue Jan 18, 2024 · 4 comments
Closed
1 task done

Schema is valid but ui would not be generated #4049

SyntaxTalksToMe opened this issue Jan 18, 2024 · 4 comments
Labels
duplicate issue This issue is a duplicate of another one feature Is a feature request

Comments

@SyntaxTalksToMe
Copy link

SyntaxTalksToMe commented Jan 18, 2024

Prerequisites

What theme are you using?

all

What is your question?

Good day ladies and gentleman,

I have a question: The schema down below is valid. A lot of different sources say that. But the ui would net be generated. Can say me, why is it?

{ "$schema": "http://json-schema.org/draft-06/schema#", "type" : "object", "patternProperties" : { "^[0-9A-Za-z\\.-]*$": { "required" : [ "USE CASE" ], "type" : "object", "properties" : { "USE CASE" : { "type" : "object", "patternProperties" : { "^.* (delivery|service).*$": { "patternProperties" : { "^(EITHER|EITHER IF|IF|OR|OR IF)$": { "type" : "object" }, "^(YOU MUST|YOU MUST NOT)$": { "type" : [ "string", "array", "object" ] } }, "additionalProperties" : false } }, "additionalProperties" : false }, "COMPATIBILITY" : { "type" : [ "string", "array" ] }, "DEPENDING COMPATIBILITY" : { "type" : [ "string", "array" ] }, "INCOMPATIBILITY" : { "type" : [ "string", "array" ] }, "COPYLEFT CLAUSE" : { "type" : "string" }, "PATENT HINTS" : { "type" : "string" } }, "additionalProperties" : false } }, "additionalProperties" : false }

@SyntaxTalksToMe SyntaxTalksToMe added needs triage Initial label given, to be assigned correct labels and assigned question labels Jan 18, 2024
@magaton
Copy link

magaton commented Jan 18, 2024

It doesn't seem complete

@SyntaxTalksToMe
Copy link
Author

the square bracket was missing at the end. But it was there. So the problem still exists. But perhaps you could back up your statement with more information

@magaton
Copy link

magaton commented Jan 19, 2024

I think patternProperties are not supported in this library.
See this issue

@heath-freenome
Copy link
Member

This is a duplicate of #1944. @SyntaxTalksToMe Sorry that capability has never been implemented. Are you willing to try? Also, closing as a duplicate

@heath-freenome heath-freenome added feature Is a feature request duplicate issue This issue is a duplicate of another one and removed question needs triage Initial label given, to be assigned correct labels and assigned labels Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate issue This issue is a duplicate of another one feature Is a feature request
Projects
None yet
Development

No branches or pull requests

3 participants