mirror of
https://github.com/hanzo-fi/numscript.git
synced 2026-10-30 20:54:52 +00:00
* fix: update schemas * fix: update the schema of new specs file generator * fix: update specs $schema field to the new one
41 lines
853 B
JSON
41 lines
853 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json",
|
|
"balances": [
|
|
{
|
|
"account": "src",
|
|
"asset": "USD",
|
|
"amount": 999,
|
|
"scope": "x"
|
|
}
|
|
],
|
|
"featureFlags": [
|
|
"experimental-mid-script-function-call",
|
|
"experimental-scoped-function"
|
|
],
|
|
"testCases": [
|
|
{
|
|
"it": "scopes the accounts",
|
|
"expect.postings": [
|
|
{
|
|
"source": "src",
|
|
"sourceScope": "x",
|
|
"destination": "dest",
|
|
"destinationScope": "y",
|
|
"amount": 10,
|
|
"asset": "USD"
|
|
}
|
|
],
|
|
"expect.movements": [
|
|
{
|
|
"source": "src",
|
|
"sourceScope": "x",
|
|
"destination": "dest",
|
|
"destinationScope": "y",
|
|
"amount": 10,
|
|
"asset": "USD"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|