extends

The value of this property must be another schema which will provide a base schema which the current schema will inherit from.

The inheritance rules are such that any instance that is valid according to the current schema must be valid according to the referenced schema.

This may also be an array, in which case, the instance must be valid for all the schemas in the array.

A schema that extends another schema may define additional attributes, constrain existing attributes or add other constraints.

Conceptually, the behavior of extends can be seen as validating an instance against all constraints in the extending schema as well as the extended schema(s).

More optimized implementations that merge schemas are possible, but are not required.

An example of using extends:

{
"description":"An adult",
"properties":{"age":{"minimum": 21}},
"extends":"person"
}
{
"description":"Extended schema",
"properties":{"deprecated":{"type": "boolean"}},
"extends":"http://json-schema.org/draft-03/schema"
}