This YAML:
Gives this result:
~$ pykwalify -d subschema-required-data.yaml -s subschema-required-schema.yaml
INFO - validation.valid
When validated against this schema:
schema;coordinate_value:
type: number
mapping:
point:
mapping:
x:
required: true
include: coordinate_value
y:
required: true
include: coordinate_value
It looks like #85 was work on a similar scenario, but it seems like either the required flag at the include site should be ignored, or a warning/error should be issued signaling that this is not a valid schema definition.