Allow a constant symbol to be defined (and available for replacement) such that its value depends on the value of another symbol
ex.
"a": {
"type": "conditional",
"when": [
{
"condition": "(foo == \"bar\")",
"value": "baz"
}
],
"default": "quux"
}
The values that are used should also be able to be expressed as references to other documents or document fragments (being able to pick out an element in another JSON file).
Update after discussing this one, it looks like we should pursue the notion of "resources" that are able to fetch and model a document and a new type of symbol that is capable of extracting a value from a resource. Resources would be able to depend on symbols (supporting multistage fetching of information), this may add some complication to resolution ordering.
Allow a constant symbol to be defined (and available for replacement) such that its value depends on the value of another symbol
ex.
The values that are used should also be able to be expressed as references to other documents or document fragments (being able to pick out an element in another JSON file).
Update after discussing this one, it looks like we should pursue the notion of "resources" that are able to fetch and model a document and a new type of symbol that is capable of extracting a value from a resource. Resources would be able to depend on symbols (supporting multistage fetching of information), this may add some complication to resolution ordering.