brutusin / brutusin/json-forms

Issue resolving parent properties

Open
#104 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
618
Forks
171
PR merge metrics
No merged PRs in 30d

Description

I have 3 schemas (A, B and C). each has one property each. Where as C is referencing B and B is referencing A. A is Parent, B is child and C is grandchild. Below is the schema.

```
{
"$schema": "http://json-schema.org/draft-06/schema#",
"id": "C",
"type": "object",
"$ref": "#/definitions/B",
"definitions": {
"A": {
"$schema": "http://json-schema.org/draft-06/schema#",
"id": "A",
"type": "object",
"properties": {
"A-Prop": {
"type": "string"
}
}
},
"B": {
"$schema": "http://json-schema.org/draft-06/schema#",
"id": "B",
"type": "object",
"$ref": "#/definitions/A",
"properties": {
"B-Prop": {
"type": "string"
}
}
}
},
"properties": {
"C-Prop": {
"type": "string"
}
}
}
```

When i pass this to the json-form i expect to all the 3 properties . but i see only the property of A as given below

screen shot 2017-09-21 at 7 39 04 pm

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.