Skip to content

additionalProperties + oneOf = does not work #193

Closed
@orbisvicis

Description

@orbisvicis

additionalProperties does not work (does not inspect extended instances) with any of the combining schemas - allOf, anyOf, oneOf - when used with properties.

This is fine with allOf - write a pre-validation script to manually combine schemas. Not so fine with anyOf or oneOf.

Now the specification is vague (I think, I skimmed it; it might be clarified elsewhere) as to the behaviour of additionalProperties. Is there a problem changing it to support combiners?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions