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

Fix description for optional access rules in json schema #59

Merged
merged 2 commits into from
Nov 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions schema/packs/locations.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
"type": "array",
"anyOf": [
{
"description": "Access rules for the section. Section will be marked reachable (green) if all rules are matched. If rules in [] are matched, the section will be marked as reachable with glitches (yellow). If rules in {} are matched, the section will be marked as checkable (blue). Children will always inherit rules from parents. Each entry will be OR-ed together, comma sperated rules will be AND-ed.",
"description": "Access rules for the section. Section will be marked reachable (green) if all rules are matched. Rules inside [] are optional (i.e. glitches work around this rule; marked as yellow). If rules in {} are matched, the section will be marked as checkable (blue). Children will always inherit rules from parents. Each entry will be OR-ed together, comma sperated rules will be AND-ed.",
"$ref": "#/$defs/rules_string"
},
{
"description": "Access rules for the section. Section will be marked reachable (green) if all rules are matched. If rules in [] are matched, the section will be marked as reachable with glitches (yellow). If rules in {} are matched, the section will be marked as checkable (blue). Children will always inherit rules from parents. 2-Dimensional array of rules, first dimenstion will be OR-ed together, second will be AND-ed.",
"description": "Access rules for the section. Section will be marked reachable (green) if all rules are matched. Rules inside [] are optional (i.e. glitches work around this rule; marked as yellow). If rules in {} are matched, the section will be marked as checkable (blue). Children will always inherit rules from parents. 2-Dimensional array of rules, first dimenstion will be OR-ed together, second will be AND-ed.",
"$ref": "#/$defs/rules_array"
}
]
Expand Down
4 changes: 2 additions & 2 deletions schema/packs/strict/locations.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
"type": "array",
"anyOf": [
{
"description": "Access rules for the section. Section will be marked reachable (green) if all rules are matched. If rules in [] are matched, the section will be marked as reachable with glitches (yellow). If rules in {} are matched, the section will be marked as checkable (blue). Children will always inherit rules from parents. Each entry will be OR-ed together, comma sperated rules will be AND-ed.",
"description": "Access rules for the section. Section will be marked reachable (green) if all rules are matched. Rules inside [] are optional (i.e. glitches work around this rule; marked as yellow). If rules in {} are matched, the section will be marked as checkable (blue). Children will always inherit rules from parents. Each entry will be OR-ed together, comma sperated rules will be AND-ed.",
"$ref": "#/$defs/rules_string"
},
{
"description": "Access rules for the section. Section will be marked reachable (green) if all rules are matched. If rules in [] are matched, the section will be marked as reachable with glitches (yellow). If rules in {} are matched, the section will be marked as checkable (blue). Children will always inherit rules from parents. 2-Dimensional array of rules, first dimenstion will be OR-ed together, second will be AND-ed.",
"description": "Access rules for the section. Section will be marked reachable (green) if all rules are matched. Rules inside [] are optional (i.e. glitches work around this rule; marked as yellow). If rules in {} are matched, the section will be marked as checkable (blue). Children will always inherit rules from parents. 2-Dimensional array of rules, first dimenstion will be OR-ed together, second will be AND-ed.",
"$ref": "#/$defs/rules_array"
}
]
Expand Down