Schema:
{
"title": "Field definitions schema!",
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"field": {
"type": "object",
"additionalProperties": false,
"required": ["label"],
"properties": {
"label": { "type": "string" }
}
},
"model": {
"type": "object",
"additionalProperties": false,
"properties": {
"props": {
"type": "object",
"additionalProperties": { "$ref": "#/definitions/field" }
}
}
}
},
"type": "object",
"additionalProperties": { "$ref": "#/definitions/model" }
}
Document:
Named:
props: &NamedProps
name:
label: Name
Timestamped:
props: &TimestampedProps
<<: *NamedProps
ts:
label: Timestamp
Record:
props:
<<: *TimestampedProps # commenting out this line removes the errors
id:
label: ID
Looks like it's incorrectly adding a layer of nesting or something?

Schema:
{ "title": "Field definitions schema!", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "field": { "type": "object", "additionalProperties": false, "required": ["label"], "properties": { "label": { "type": "string" } } }, "model": { "type": "object", "additionalProperties": false, "properties": { "props": { "type": "object", "additionalProperties": { "$ref": "#/definitions/field" } } } } }, "type": "object", "additionalProperties": { "$ref": "#/definitions/model" } }Document:
Looks like it's incorrectly adding a layer of nesting or something?