Last active
February 6, 2023 14:08
-
-
Save cdugeai/8fd800ee3d47db107c85c068d07581e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "object", | |
"properties": { | |
"preset": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"nom": { | |
"type": "string" | |
}, | |
"params": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"zone": { | |
"type": "object", | |
"properties": { | |
"show": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"hide": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"recursiveOn": { | |
"type": "array", | |
"items": { | |
"type": "string", | |
"enum": [ | |
"DEPT", | |
"REG", | |
"ACAD" | |
] | |
} | |
} | |
}, | |
"required": [ | |
"show", | |
"hide", | |
"recursiveOn" | |
] | |
}, | |
"chantier": { | |
"type": "object", | |
"properties": { | |
"show": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"hide": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
}, | |
"required": [ | |
"show", | |
"hide" | |
] | |
}, | |
"blocks": { | |
"type": "object", | |
"properties": { | |
"edit": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"hide": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
}, | |
"required": [ | |
"edit", | |
"hide" | |
] | |
} | |
}, | |
"required": [ | |
"nom", | |
"params", | |
"zone", | |
"chantier", | |
"blocks" | |
] | |
} | |
}, | |
"role": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"nom": { | |
"type": "string" | |
}, | |
"preset": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"nom": { | |
"type": "string" | |
}, | |
"params": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"param-name": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
}, | |
"required": [ | |
"nom", | |
"params" | |
] | |
} | |
} | |
}, | |
"required": [ | |
"nom", | |
"preset" | |
] | |
} | |
} | |
}, | |
"required": [ | |
"preset", | |
"role" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment