Files
Alessandro ScandoneandGitHub e58c2c09e8 fix: properly version json schemas (#171)
* fix: update schemas

* fix: update the schema of new specs file generator

* fix: update specs $schema field to the new one
2026-07-10 10:49:32 +02:00

25 lines
652 B
JSON

{
"$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json",
"featureFlags": [
"experimental-scoped-function",
"experimental-mid-script-function-call"
],
"metadata": [
{ "account": "acc", "key": "amt", "value": "EUR 1" },
{ "account": "acc", "scope": "myscope", "key": "amt", "value": "EUR 2" }
],
"testCases": [
{
"it": "reads metadata from the scoped account (amt=2), not the unscoped one (amt=1)",
"expect.postings": [
{
"source": "world",
"destination": "dest",
"asset": "EUR",
"amount": 2
}
]
}
]
}