-
Notifications
You must be signed in to change notification settings - Fork 697
Open
Labels
Description
Summary
The Ansible Meta JSON Schema has some issues which means that unintended json are accepted which should be rejected.
Issue Type
- Bug Report
Description
-
On line 485
else
must move in one of the[]
item above, otherwise withoutif
it is simply ignored:} ], "else": { "$comment": "If standalone is false, then we have a collection role and only description is required", "required": ["description"] },
-
On line 1546
additionalProperties
must be moved out ofproperties
, as it is not an intended optional property name for the object:"properties": { "additionalProperties": false, " allow_duplicates": {
-
The semantics of the
not required
on line 470 is very strange. It seems to mean these properties must not appear together, but any subset is fine, which does not seem to make sense. -
if
on line 443 and 461 should probably add arequired
on thestandalone
keyword. As it is written, both conditions matches ifstandalone
is not there.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status