-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve if-then-else data porting between switching
- Loading branch information
Showing
17 changed files
with
282 additions
and
80 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/awesomplete/1.1.7/awesomplete.css"/> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/quill.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/awesomplete/1.1.7/awesomplete.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/es2018/jodit.fat.min.js"></script> <script type="module" crossorigin src="/jedi/assets/index-CB8zX2Yx.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/es2018/jodit.fat.min.js"></script> <script type="module" crossorigin src="/jedi/assets/index-SIDPvT3T.js"></script> | ||
</head> | ||
<script src="https://cdn.jsdelivr.net/npm/flatpickr"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/build/raty.min.js"></script> | ||
|
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
128 changes: 128 additions & 0 deletions
128
src-docs/json/validator/if-then-else-deeply-nested-and-unselected.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
{ | ||
"title": "Red Deer", | ||
"type": "object", | ||
"required": [ | ||
"occurrence" | ||
], | ||
"properties": { | ||
"occurrence": { | ||
"title": "Did the species occur in your hunting area during the hunting year 2020/2021?", | ||
"type": "string", | ||
"enum": [ | ||
"Resident game", | ||
"Transient game", | ||
"Individual occurrence", | ||
"No occurrence", | ||
"No information" | ||
], | ||
"x-options": { | ||
"enforceEnumDefault": false, | ||
"format": "radio" | ||
} | ||
} | ||
}, | ||
"if": { | ||
"properties": { | ||
"occurrence": { | ||
"enum": [ | ||
"Resident game", | ||
"Transient game", | ||
"Individual occurrence" | ||
] | ||
} | ||
} | ||
}, | ||
"then": { | ||
"properties": { | ||
"huntingBag": { | ||
"$ref": "#/$defs/huntingBag", | ||
"required": [ | ||
"harvest", | ||
"accidentGame", | ||
"foundDead", | ||
"unknown" | ||
], | ||
"properties": { | ||
"harvest": { | ||
"$ref": "#/$defs/harvest", | ||
"minimum": 0 | ||
}, | ||
"accidentGame": { | ||
"$ref": "#/$defs/accidentGame", | ||
"minimum": 0 | ||
}, | ||
"foundDead": { | ||
"$ref": "#/$defs/foundDead", | ||
"minimum": 0 | ||
}, | ||
"unknown": { | ||
"$ref": "#/$defs/unknown", | ||
"minimum": 0 | ||
} | ||
} | ||
}, | ||
"total": { | ||
"$ref": "#/$defs/total", | ||
"minimum": 1 | ||
} | ||
} | ||
}, | ||
"else": { | ||
"properties": { | ||
"huntingBag": { | ||
"readOnly": true, | ||
"$ref": "#/$defs/huntingBag", | ||
"properties": { | ||
"harvest": { | ||
"$ref": "#/$defs/harvest", | ||
"default": 0, | ||
"const": 0 | ||
}, | ||
"accidentGame": { | ||
"$ref": "#/$defs/accidentGame", | ||
"default": 0, | ||
"const": 0 | ||
}, | ||
"foundDead": { | ||
"$ref": "#/$defs/foundDead", | ||
"default": 0, | ||
"const": 0 | ||
} | ||
} | ||
}, | ||
"total": { | ||
"$ref": "#/$defs/total", | ||
"default": 0, | ||
"const": 0, | ||
"x-options": {} | ||
} | ||
} | ||
}, | ||
"$defs": { | ||
"huntingBag": { | ||
"title": "Hunting Bag 2020/21", | ||
"type": "object" | ||
}, | ||
"harvest": { | ||
"title": "Harvest Count", | ||
"type": "integer" | ||
}, | ||
"accidentGame": { | ||
"title": "Accident Game Count", | ||
"type": "integer" | ||
}, | ||
"foundDead": { | ||
"title": "Other Found Dead Count", | ||
"type": "integer" | ||
}, | ||
"unknown": { | ||
"title": "Unknown Count", | ||
"type": "integer" | ||
}, | ||
"total": { | ||
"title": "Total Hunting Bag 2020/21:", | ||
"type": "integer", | ||
"readOnly": true | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import Editor from './editor.js' | ||
import { | ||
equal, | ||
hasOwn, isNumber, | ||
hasOwn, | ||
isObject, | ||
isSet, | ||
pathToAttribute | ||
|
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
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
Oops, something went wrong.