From a74a950685fe17519591d2979a639d0f19c3b3b3 Mon Sep 17 00:00:00 2001 From: ascandone Date: Fri, 10 Jul 2026 10:32:00 +0200 Subject: [PATCH 1/3] fix: update schemas --- inputs.schema.json | 70 +++------ specs.schema.json | 234 +++++------------------------ v1.inputs.schema.json | 95 ++++++++++++ v1.specs.schema.json | 335 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 484 insertions(+), 250 deletions(-) create mode 100644 v1.inputs.schema.json create mode 100644 v1.specs.schema.json diff --git a/inputs.schema.json b/inputs.schema.json index 5ac48162..ee73b798 100644 --- a/inputs.schema.json +++ b/inputs.schema.json @@ -21,35 +21,18 @@ }, "definitions": { "Balances": { - "type": "array", - "description": "List of account balances. The (account, asset, color, scope) tuple of each entry must be unique within the list.", - "items": { "$ref": "#/definitions/BalanceRow" } - }, - - "BalanceRow": { "type": "object", - "description": "The balance of a given (account, asset, color, scope)", + "description": "Map of account names to asset balances", "additionalProperties": false, - "required": ["account", "asset", "amount"], - "properties": { - "account": { - "type": "string", - "pattern": "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$" - }, - "asset": { - "type": "string", - "pattern": "^([A-Z]+(/[0-9]+)?)$" - }, - "amount": { - "type": "number" - }, - "color": { - "type": "string", - "pattern": "^[A-Z]*$" - }, - "scope": { - "type": "string", - "pattern": "^[a-z0-9_]*$" + "patternProperties": { + "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^([A-Z]+(/[0-9]+)?)$": { + "type": "number" + } + } } } }, @@ -64,32 +47,21 @@ }, "AccountsMetadata": { - "type": "array", - "description": "List of account metadata entries. The (account, key, scope) tuple of each entry must be unique within the list.", - "items": { "$ref": "#/definitions/AccountMetadataRow" } - }, - - "AccountMetadataRow": { "type": "object", - "description": "A single metadata entry: the value of a given (account, key, scope)", + "description": "Map of an account metadata to the account's metadata", "additionalProperties": false, - "required": ["account", "key", "value"], - "properties": { - "account": { - "type": "string", - "pattern": "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$" - }, - "key": { - "type": "string" - }, - "value": { - "type": "string" - }, - "scope": { - "type": "string", - "pattern": "^[a-z0-9_]*$" + "patternProperties": { + "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$": { + "type": "object", + "additionalProperties": { "type": "string" } } } + }, + + "TxMetadata": { + "type": "object", + "description": "Map from a metadata's key to the transaction's metadata stringied value", + "additionalProperties": { "type": "string" } } } } diff --git a/specs.schema.json b/specs.schema.json index 09298617..a3cd1680 100644 --- a/specs.schema.json +++ b/specs.schema.json @@ -73,7 +73,7 @@ }, "expect.metadata": { - "$ref": "#/definitions/SetAccountsMetadata" + "$ref": "#/definitions/AccountsMetadata" }, "expect.error.missingFunds": { @@ -83,35 +83,18 @@ }, "Balances": { - "type": "array", - "description": "List of account balances. The (account, asset, color, scope) tuple of each entry must be unique within the list.", - "items": { "$ref": "#/definitions/BalanceRow" } - }, - - "BalanceRow": { "type": "object", - "description": "The balance of a given (account, asset, color, scope)", + "description": "Map of account names to asset balances", "additionalProperties": false, - "required": ["account", "asset", "amount"], - "properties": { - "account": { - "type": "string", - "pattern": "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$" - }, - "asset": { - "type": "string", - "pattern": "^([A-Z]+(/[0-9]+)?)$" - }, - "amount": { - "type": "number" - }, - "color": { - "type": "string", - "pattern": "^[A-Z]*$" - }, - "scope": { - "type": "string", - "pattern": "^[a-z0-9_]*$" + "patternProperties": { + "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^([A-Z]+(/[0-9]+)?)$": { + "type": "number" + } + } } } }, @@ -126,180 +109,41 @@ }, "AccountsMetadata": { - "type": "array", - "description": "List of account metadata entries. The (account, key, scope) tuple of each entry must be unique within the list.", - "items": { "$ref": "#/definitions/AccountMetadataRow" } - }, - - "AccountMetadataRow": { - "type": "object", - "description": "A single input metadata entry: the (opaque, string) value of a given (account, key, scope)", - "additionalProperties": false, - "required": ["account", "key", "value"], - "properties": { - "account": { - "type": "string", - "pattern": "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$" - }, - "key": { - "type": "string" - }, - "value": { - "type": "string" - }, - "scope": { - "type": "string", - "pattern": "^[a-z0-9_]*$" - } - } - }, - - "SetAccountsMetadata": { - "type": "array", - "description": "List of account metadata entries set during execution. Each value is a tagged value.", - "items": { "$ref": "#/definitions/SetAccountMetadataRow" } - }, - - "SetAccountMetadataRow": { "type": "object", - "description": "A single set metadata entry: the tagged value of a given (account, key, scope)", + "description": "Map of an account metadata to the account's metadata", "additionalProperties": false, - "required": ["account", "key", "value"], - "properties": { - "account": { - "type": "string", - "pattern": "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$" - }, - "key": { - "type": "string" - }, - "value": { - "$ref": "#/definitions/Value" - }, - "scope": { - "type": "string", - "pattern": "^[a-z0-9_]*$" + "patternProperties": { + "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$": { + "type": "object", + "additionalProperties": { "type": "string" } } } }, "TxMetadata": { - "type": "array", - "description": "List of transaction metadata entries set during execution. The key of each entry must be unique within the list.", - "items": { "$ref": "#/definitions/TxMetadataRow" } - }, - - "TxMetadataRow": { "type": "object", - "description": "A single transaction metadata entry: the tagged value of a given key", - "additionalProperties": false, - "required": ["key", "value"], - "properties": { - "key": { - "type": "string" - }, - "value": { - "$ref": "#/definitions/Value" - } - } - }, - - "Value": { - "type": "object", - "description": "A tagged value, discriminated by its \"type\"", - "oneOf": [ - { - "additionalProperties": false, - "required": ["type", "value"], - "properties": { - "type": { "const": "string" }, - "value": { "type": "string" } - } - }, - { - "additionalProperties": false, - "required": ["type", "value"], - "properties": { - "type": { "const": "number" }, - "value": { "type": "string", "pattern": "^-?[0-9]+$" } - } - }, - { - "additionalProperties": false, - "required": ["type", "name"], - "properties": { - "type": { "const": "asset" }, - "name": { "type": "string", "pattern": "^([A-Z]+(/[0-9]+)?)$" } - } - }, - { - "additionalProperties": false, - "required": ["type", "name"], - "properties": { - "type": { "const": "account" }, - "name": { "type": "string", "pattern": "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$" }, - "scope": { "type": "string", "pattern": "^[a-z0-9_]*$" } - } - }, - { - "additionalProperties": false, - "required": ["type", "asset", "amount"], - "properties": { - "type": { "const": "monetary" }, - "asset": { "type": "string", "pattern": "^([A-Z]+(/[0-9]+)?)$" }, - "amount": { "type": "string", "pattern": "^-?[0-9]+$" } - } - }, - { - "additionalProperties": false, - "required": ["type", "numerator", "denominator"], - "properties": { - "type": { "const": "portion" }, - "numerator": { "type": "string", "pattern": "^-?[0-9]+$" }, - "denominator": { "type": "string", "pattern": "^-?[0-9]+$" } - } - } - ] + "description": "Map from a metadata's key to the transaction's metadata stringied value", + "additionalProperties": { "type": "string" } }, "Movements": { - "type": "array", - "description": "List of funds sent from an account to another. The (source, sourceScope, destination, destinationScope, asset, color) tuple of each entry must be unique within the list.", - "items": { "$ref": "#/definitions/Movement" } - }, - - "Movement": { "type": "object", - "description": "The funds sent from an account to another for a given (asset, color)", + "description": "The funds sent from an account to another", "additionalProperties": false, - "required": ["source", "destination", "asset", "amount"], - "properties": { - "source": { - "type": "string", - "pattern": "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$" - }, - "sourceScope": { - "type": "string", - "pattern": "^[a-z0-9_]*$" - }, - "destination": { - "type": "string", - "pattern": "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$" - }, - "destinationScope": { - "type": "string", - "pattern": "^[a-z0-9_]*$" - }, - "asset": { - "type": "string", - "pattern": "^([A-Z]+(/[0-9]+)?)$" - }, - "amount": { - "type": "number" - }, - "color": { - "type": "string", - "pattern": "^[A-Z]*$" + "patternProperties": { + "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$": { + "type": "object", + "patternProperties": { + "^([A-Z]+(/[0-9]+)?)$": { + "type": "number" + } + } + } + } } } }, @@ -308,25 +152,13 @@ "type": "object", "properties": { "source": { "type": "string" }, - "sourceScope": { - "type": "string", - "pattern": "^[a-z0-9_]*$" - }, "destination": { "type": "string" }, - "destinationScope": { - "type": "string", - "pattern": "^[a-z0-9_]*$" - }, "asset": { "type": "string", "pattern": "^([A-Z]+(/[0-9]+)?)$" }, "amount": { "type": "number" - }, - "color": { - "type": "string", - "pattern": "^[A-Z]*$" } }, "required": ["source", "destination", "asset", "amount"] diff --git a/v1.inputs.schema.json b/v1.inputs.schema.json new file mode 100644 index 00000000..5ac48162 --- /dev/null +++ b/v1.inputs.schema.json @@ -0,0 +1,95 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Specs", + "type": "object", + "additionalProperties": false, + "properties": { + "$schema": { "type": "string" }, + "balances": { + "$ref": "#/definitions/Balances" + }, + "variables": { + "$ref": "#/definitions/VariablesMap" + }, + "metadata": { + "$ref": "#/definitions/AccountsMetadata" + }, + "featureFlags": { + "type": "array", + "items": { "type": "string" } + } + }, + "definitions": { + "Balances": { + "type": "array", + "description": "List of account balances. The (account, asset, color, scope) tuple of each entry must be unique within the list.", + "items": { "$ref": "#/definitions/BalanceRow" } + }, + + "BalanceRow": { + "type": "object", + "description": "The balance of a given (account, asset, color, scope)", + "additionalProperties": false, + "required": ["account", "asset", "amount"], + "properties": { + "account": { + "type": "string", + "pattern": "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$" + }, + "asset": { + "type": "string", + "pattern": "^([A-Z]+(/[0-9]+)?)$" + }, + "amount": { + "type": "number" + }, + "color": { + "type": "string", + "pattern": "^[A-Z]*$" + }, + "scope": { + "type": "string", + "pattern": "^[a-z0-9_]*$" + } + } + }, + + "VariablesMap": { + "type": "object", + "description": "Map of variable name to variable stringified value", + "additionalProperties": false, + "patternProperties": { + "^[a-z_]+$": { "type": "string" } + } + }, + + "AccountsMetadata": { + "type": "array", + "description": "List of account metadata entries. The (account, key, scope) tuple of each entry must be unique within the list.", + "items": { "$ref": "#/definitions/AccountMetadataRow" } + }, + + "AccountMetadataRow": { + "type": "object", + "description": "A single metadata entry: the value of a given (account, key, scope)", + "additionalProperties": false, + "required": ["account", "key", "value"], + "properties": { + "account": { + "type": "string", + "pattern": "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$" + }, + "key": { + "type": "string" + }, + "value": { + "type": "string" + }, + "scope": { + "type": "string", + "pattern": "^[a-z0-9_]*$" + } + } + } + } +} diff --git a/v1.specs.schema.json b/v1.specs.schema.json new file mode 100644 index 00000000..09298617 --- /dev/null +++ b/v1.specs.schema.json @@ -0,0 +1,335 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Specs", + "type": "object", + "additionalProperties": false, + "required": ["testCases"], + "properties": { + "$schema": { "type": "string" }, + "balances": { + "$ref": "#/definitions/Balances" + }, + "variables": { + "$ref": "#/definitions/VariablesMap" + }, + "metadata": { + "$ref": "#/definitions/AccountsMetadata" + }, + "testCases": { + "type": "array", + "items": { "$ref": "#/definitions/TestCase" } + }, + "featureFlags": { + "type": "array", + "items": { "type": "string" } + } + }, + "definitions": { + "TestCase": { + "type": "object", + "required": ["it"], + "additionalProperties": false, + "properties": { + "it": { + "type": "string", + "description": "Test case description" + }, + "focus": { + "type": "boolean", + "description": "Skip all the other tests. Just for debugging: it will result in an error exit code" + }, + "skip": { + "type": "boolean", + "description": "Skip this test. Just for debugging: it will result in an error exit code" + }, + + "balances": { + "$ref": "#/definitions/Balances" + }, + "variables": { + "$ref": "#/definitions/VariablesMap" + }, + "metadata": { + "$ref": "#/definitions/AccountsMetadata" + }, + "expect.postings": { + "type": "array", + "items": { "$ref": "#/definitions/Posting" } + }, + + "expect.endBalances": { + "$ref": "#/definitions/Balances" + }, + "expect.endBalances.include": { + "$ref": "#/definitions/Balances" + }, + + "expect.movements": { + "$ref": "#/definitions/Movements" + }, + + "expect.txMetadata": { + "$ref": "#/definitions/TxMetadata" + }, + + "expect.metadata": { + "$ref": "#/definitions/SetAccountsMetadata" + }, + + "expect.error.missingFunds": { + "type": "boolean" + } + } + }, + + "Balances": { + "type": "array", + "description": "List of account balances. The (account, asset, color, scope) tuple of each entry must be unique within the list.", + "items": { "$ref": "#/definitions/BalanceRow" } + }, + + "BalanceRow": { + "type": "object", + "description": "The balance of a given (account, asset, color, scope)", + "additionalProperties": false, + "required": ["account", "asset", "amount"], + "properties": { + "account": { + "type": "string", + "pattern": "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$" + }, + "asset": { + "type": "string", + "pattern": "^([A-Z]+(/[0-9]+)?)$" + }, + "amount": { + "type": "number" + }, + "color": { + "type": "string", + "pattern": "^[A-Z]*$" + }, + "scope": { + "type": "string", + "pattern": "^[a-z0-9_]*$" + } + } + }, + + "VariablesMap": { + "type": "object", + "description": "Map of variable name to variable stringified value", + "additionalProperties": false, + "patternProperties": { + "^[a-z_]+$": { "type": "string" } + } + }, + + "AccountsMetadata": { + "type": "array", + "description": "List of account metadata entries. The (account, key, scope) tuple of each entry must be unique within the list.", + "items": { "$ref": "#/definitions/AccountMetadataRow" } + }, + + "AccountMetadataRow": { + "type": "object", + "description": "A single input metadata entry: the (opaque, string) value of a given (account, key, scope)", + "additionalProperties": false, + "required": ["account", "key", "value"], + "properties": { + "account": { + "type": "string", + "pattern": "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$" + }, + "key": { + "type": "string" + }, + "value": { + "type": "string" + }, + "scope": { + "type": "string", + "pattern": "^[a-z0-9_]*$" + } + } + }, + + "SetAccountsMetadata": { + "type": "array", + "description": "List of account metadata entries set during execution. Each value is a tagged value.", + "items": { "$ref": "#/definitions/SetAccountMetadataRow" } + }, + + "SetAccountMetadataRow": { + "type": "object", + "description": "A single set metadata entry: the tagged value of a given (account, key, scope)", + "additionalProperties": false, + "required": ["account", "key", "value"], + "properties": { + "account": { + "type": "string", + "pattern": "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$" + }, + "key": { + "type": "string" + }, + "value": { + "$ref": "#/definitions/Value" + }, + "scope": { + "type": "string", + "pattern": "^[a-z0-9_]*$" + } + } + }, + + "TxMetadata": { + "type": "array", + "description": "List of transaction metadata entries set during execution. The key of each entry must be unique within the list.", + "items": { "$ref": "#/definitions/TxMetadataRow" } + }, + + "TxMetadataRow": { + "type": "object", + "description": "A single transaction metadata entry: the tagged value of a given key", + "additionalProperties": false, + "required": ["key", "value"], + "properties": { + "key": { + "type": "string" + }, + "value": { + "$ref": "#/definitions/Value" + } + } + }, + + "Value": { + "type": "object", + "description": "A tagged value, discriminated by its \"type\"", + "oneOf": [ + { + "additionalProperties": false, + "required": ["type", "value"], + "properties": { + "type": { "const": "string" }, + "value": { "type": "string" } + } + }, + { + "additionalProperties": false, + "required": ["type", "value"], + "properties": { + "type": { "const": "number" }, + "value": { "type": "string", "pattern": "^-?[0-9]+$" } + } + }, + { + "additionalProperties": false, + "required": ["type", "name"], + "properties": { + "type": { "const": "asset" }, + "name": { "type": "string", "pattern": "^([A-Z]+(/[0-9]+)?)$" } + } + }, + { + "additionalProperties": false, + "required": ["type", "name"], + "properties": { + "type": { "const": "account" }, + "name": { "type": "string", "pattern": "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$" }, + "scope": { "type": "string", "pattern": "^[a-z0-9_]*$" } + } + }, + { + "additionalProperties": false, + "required": ["type", "asset", "amount"], + "properties": { + "type": { "const": "monetary" }, + "asset": { "type": "string", "pattern": "^([A-Z]+(/[0-9]+)?)$" }, + "amount": { "type": "string", "pattern": "^-?[0-9]+$" } + } + }, + { + "additionalProperties": false, + "required": ["type", "numerator", "denominator"], + "properties": { + "type": { "const": "portion" }, + "numerator": { "type": "string", "pattern": "^-?[0-9]+$" }, + "denominator": { "type": "string", "pattern": "^-?[0-9]+$" } + } + } + ] + }, + + "Movements": { + "type": "array", + "description": "List of funds sent from an account to another. The (source, sourceScope, destination, destinationScope, asset, color) tuple of each entry must be unique within the list.", + "items": { "$ref": "#/definitions/Movement" } + }, + + "Movement": { + "type": "object", + "description": "The funds sent from an account to another for a given (asset, color)", + "additionalProperties": false, + "required": ["source", "destination", "asset", "amount"], + "properties": { + "source": { + "type": "string", + "pattern": "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$" + }, + "sourceScope": { + "type": "string", + "pattern": "^[a-z0-9_]*$" + }, + "destination": { + "type": "string", + "pattern": "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)*)$" + }, + "destinationScope": { + "type": "string", + "pattern": "^[a-z0-9_]*$" + }, + "asset": { + "type": "string", + "pattern": "^([A-Z]+(/[0-9]+)?)$" + }, + "amount": { + "type": "number" + }, + "color": { + "type": "string", + "pattern": "^[A-Z]*$" + } + } + }, + + "Posting": { + "type": "object", + "properties": { + "source": { "type": "string" }, + "sourceScope": { + "type": "string", + "pattern": "^[a-z0-9_]*$" + }, + "destination": { "type": "string" }, + "destinationScope": { + "type": "string", + "pattern": "^[a-z0-9_]*$" + }, + "asset": { + "type": "string", + "pattern": "^([A-Z]+(/[0-9]+)?)$" + }, + "amount": { + "type": "number" + }, + "color": { + "type": "string", + "pattern": "^[A-Z]*$" + } + }, + "required": ["source", "destination", "asset", "amount"] + } + } +} From 1278c5bafcaca436a859104a3e650ac396feadd1 Mon Sep 17 00:00:00 2001 From: ascandone Date: Fri, 10 Jul 2026 10:34:27 +0200 Subject: [PATCH 2/3] fix: update the schema of new specs file generator --- internal/cmd/test_init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/test_init.go b/internal/cmd/test_init.go index 5dc225a3..f66cc806 100644 --- a/internal/cmd/test_init.go +++ b/internal/cmd/test_init.go @@ -161,7 +161,7 @@ func makeSpecsFile( } specs := specs_format.Specs{ - Schema: "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + Schema: "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", Balances: store.StaticStore.Balances, Vars: vars, FeatureFlags: featureFlags_, From 2b58f8f0c0a5f9561b888f8b822d884d86f2bee7 Mon Sep 17 00:00:00 2001 From: ascandone Date: Fri, 10 Jul 2026 10:35:09 +0200 Subject: [PATCH 3/3] fix: update specs $schema field to the new one --- .../numscript-cookbook/experimental/meta-calc.num.specs.json | 2 +- .../mixed-source-prefer-single-source.num.specs.json | 2 +- .../numscript-cookbook/experimental/top-up-many.num.specs.json | 2 +- .../numscript-cookbook/experimental/top-up.num.specs.json | 2 +- .../experimental/transfer-example.num.specs.json | 2 +- .../testdata/numscript-cookbook/max-fee.num.specs.json | 2 +- .../mixed-source-dest-allotment.num.specs.json | 2 +- .../testdata/numscript-cookbook/send-max.num.specs.json | 2 +- .../testdata/numscript-cookbook/top-up-max.num.specs.json | 2 +- .../testdata/script-tests/bigint-literal.num.specs.json | 2 +- .../experimental/asset-scaling/no-solution.num.specs.json | 2 +- .../asset-scaling/scaling-all-allotment.num.specs.json | 2 +- .../experimental/asset-scaling/scaling-allotment.num.specs.json | 2 +- .../experimental/asset-scaling/scaling-kept.num.specs.json | 2 +- .../experimental/asset-scaling/scaling-send-all.num.specs.json | 2 +- .../asset-scaling/scaling-with-oneof.num.specs.json | 2 +- .../experimental/asset-scaling/scaling.num.specs.json | 2 +- .../asset-scaling/update-swap-account-balance.num.specs.json | 2 +- .../experimental/scoped-function/allotment.num.specs.json | 2 +- .../experimental/scoped-function/balance.num.specs.json | 2 +- .../experimental/scoped-function/capped.num.specs.json | 2 +- .../experimental/scoped-function/color-and-scope.num.specs.json | 2 +- .../experimental/scoped-function/overdraft.num.specs.json | 2 +- .../scoped-function/read-account-meta.num.specs.json | 2 +- .../experimental/scoped-function/save.num.specs.json | 2 +- .../scoped-function/set-account-meta.num.specs.json | 2 +- .../experimental/scoped-function/simple.num.specs.json | 2 +- .../testdata/script-tests/feature-flag-syntax.num.specs.json | 2 +- .../testdata/script-tests/floating-perc.num.specs.json | 2 +- .../testdata/script-tests/floating-perc2.num.specs.json | 2 +- .../testdata/script-tests/minus-infix-monetary.num.specs.json | 2 +- .../testdata/script-tests/minus-infix-number.num.specs.json | 2 +- .../testdata/script-tests/minus-prefix-number.num.specs.json | 2 +- 33 files changed, 33 insertions(+), 33 deletions(-) diff --git a/internal/interpreter/testdata/numscript-cookbook/experimental/meta-calc.num.specs.json b/internal/interpreter/testdata/numscript-cookbook/experimental/meta-calc.num.specs.json index a88a80d8..a4eb2851 100644 --- a/internal/interpreter/testdata/numscript-cookbook/experimental/meta-calc.num.specs.json +++ b/internal/interpreter/testdata/numscript-cookbook/experimental/meta-calc.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-overdraft-function", "experimental-mid-script-function-call", diff --git a/internal/interpreter/testdata/numscript-cookbook/experimental/mixed-source-prefer-single-source.num.specs.json b/internal/interpreter/testdata/numscript-cookbook/experimental/mixed-source-prefer-single-source.num.specs.json index 613b179a..895d9be1 100644 --- a/internal/interpreter/testdata/numscript-cookbook/experimental/mixed-source-prefer-single-source.num.specs.json +++ b/internal/interpreter/testdata/numscript-cookbook/experimental/mixed-source-prefer-single-source.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "variables": { "amt": "10" }, diff --git a/internal/interpreter/testdata/numscript-cookbook/experimental/top-up-many.num.specs.json b/internal/interpreter/testdata/numscript-cookbook/experimental/top-up-many.num.specs.json index acbcc074..e06a2aea 100644 --- a/internal/interpreter/testdata/numscript-cookbook/experimental/top-up-many.num.specs.json +++ b/internal/interpreter/testdata/numscript-cookbook/experimental/top-up-many.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-overdraft-function", "experimental-mid-script-function-call", diff --git a/internal/interpreter/testdata/numscript-cookbook/experimental/top-up.num.specs.json b/internal/interpreter/testdata/numscript-cookbook/experimental/top-up.num.specs.json index 66338fa4..c9b54d09 100644 --- a/internal/interpreter/testdata/numscript-cookbook/experimental/top-up.num.specs.json +++ b/internal/interpreter/testdata/numscript-cookbook/experimental/top-up.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-overdraft-function" ], diff --git a/internal/interpreter/testdata/numscript-cookbook/experimental/transfer-example.num.specs.json b/internal/interpreter/testdata/numscript-cookbook/experimental/transfer-example.num.specs.json index f811b40a..59f31ee1 100644 --- a/internal/interpreter/testdata/numscript-cookbook/experimental/transfer-example.num.specs.json +++ b/internal/interpreter/testdata/numscript-cookbook/experimental/transfer-example.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-overdraft-function", "experimental-mid-script-function-call", diff --git a/internal/interpreter/testdata/numscript-cookbook/max-fee.num.specs.json b/internal/interpreter/testdata/numscript-cookbook/max-fee.num.specs.json index 804b3a15..9a27c330 100644 --- a/internal/interpreter/testdata/numscript-cookbook/max-fee.num.specs.json +++ b/internal/interpreter/testdata/numscript-cookbook/max-fee.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "variables": { "cap": "10", "fee": "10%" diff --git a/internal/interpreter/testdata/numscript-cookbook/mixed-source-dest-allotment.num.specs.json b/internal/interpreter/testdata/numscript-cookbook/mixed-source-dest-allotment.num.specs.json index 09ba3cc4..5256fccb 100644 --- a/internal/interpreter/testdata/numscript-cookbook/mixed-source-dest-allotment.num.specs.json +++ b/internal/interpreter/testdata/numscript-cookbook/mixed-source-dest-allotment.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "testCases": [ { "it": "matches sources and destinations allotments", diff --git a/internal/interpreter/testdata/numscript-cookbook/send-max.num.specs.json b/internal/interpreter/testdata/numscript-cookbook/send-max.num.specs.json index fa5c6687..98c21012 100644 --- a/internal/interpreter/testdata/numscript-cookbook/send-max.num.specs.json +++ b/internal/interpreter/testdata/numscript-cookbook/send-max.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "testCases": [ { "it": "is capped to USD100 when balance is higher", diff --git a/internal/interpreter/testdata/numscript-cookbook/top-up-max.num.specs.json b/internal/interpreter/testdata/numscript-cookbook/top-up-max.num.specs.json index d7618fd6..555f24f6 100644 --- a/internal/interpreter/testdata/numscript-cookbook/top-up-max.num.specs.json +++ b/internal/interpreter/testdata/numscript-cookbook/top-up-max.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "variables": { "amt": "EUR/2 100", "limit": "EUR/2 150" diff --git a/internal/interpreter/testdata/script-tests/bigint-literal.num.specs.json b/internal/interpreter/testdata/script-tests/bigint-literal.num.specs.json index 9bfb1cb8..caccdfeb 100644 --- a/internal/interpreter/testdata/script-tests/bigint-literal.num.specs.json +++ b/internal/interpreter/testdata/script-tests/bigint-literal.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "testCases": [ { "it": "example spec", diff --git a/internal/interpreter/testdata/script-tests/experimental/asset-scaling/no-solution.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/asset-scaling/no-solution.num.specs.json index 6d4ba00a..338dea5f 100644 --- a/internal/interpreter/testdata/script-tests/experimental/asset-scaling/no-solution.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/asset-scaling/no-solution.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-asset-scaling" ], diff --git a/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-all-allotment.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-all-allotment.num.specs.json index 55a44199..2a2d970f 100644 --- a/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-all-allotment.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-all-allotment.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-asset-scaling" ], diff --git a/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-allotment.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-allotment.num.specs.json index 5f3aded0..35c8bb4e 100644 --- a/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-allotment.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-allotment.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-asset-scaling" ], diff --git a/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-kept.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-kept.num.specs.json index b9c174f4..6e514337 100644 --- a/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-kept.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-kept.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-asset-scaling" ], diff --git a/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-send-all.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-send-all.num.specs.json index 8789d6db..cf20e7f9 100644 --- a/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-send-all.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-send-all.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-asset-scaling" ], diff --git a/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-with-oneof.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-with-oneof.num.specs.json index 459f6f97..0043735e 100644 --- a/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-with-oneof.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling-with-oneof.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-oneof", "experimental-asset-scaling" diff --git a/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling.num.specs.json index 8d6e68db..7dc6102a 100644 --- a/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/asset-scaling/scaling.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-asset-scaling" ], diff --git a/internal/interpreter/testdata/script-tests/experimental/asset-scaling/update-swap-account-balance.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/asset-scaling/update-swap-account-balance.num.specs.json index 32d6c7fd..cf9ff29c 100644 --- a/internal/interpreter/testdata/script-tests/experimental/asset-scaling/update-swap-account-balance.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/asset-scaling/update-swap-account-balance.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-asset-scaling" ], diff --git a/internal/interpreter/testdata/script-tests/experimental/scoped-function/allotment.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/scoped-function/allotment.num.specs.json index 682d0281..e19ca699 100644 --- a/internal/interpreter/testdata/script-tests/experimental/scoped-function/allotment.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/scoped-function/allotment.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-scoped-function", "experimental-mid-script-function-call" diff --git a/internal/interpreter/testdata/script-tests/experimental/scoped-function/balance.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/scoped-function/balance.num.specs.json index cafae4ae..b0d56a6d 100644 --- a/internal/interpreter/testdata/script-tests/experimental/scoped-function/balance.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/scoped-function/balance.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": ["experimental-scoped-function", "experimental-mid-script-function-call"], "balances": [ { "account": "treasury", "asset": "EUR/2", "amount": 42 }, diff --git a/internal/interpreter/testdata/script-tests/experimental/scoped-function/capped.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/scoped-function/capped.num.specs.json index 8b8e35c8..b1ec6ea6 100644 --- a/internal/interpreter/testdata/script-tests/experimental/scoped-function/capped.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/scoped-function/capped.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-scoped-function", "experimental-mid-script-function-call" diff --git a/internal/interpreter/testdata/script-tests/experimental/scoped-function/color-and-scope.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/scoped-function/color-and-scope.num.specs.json index 6bc25cc6..2f5191aa 100644 --- a/internal/interpreter/testdata/script-tests/experimental/scoped-function/color-and-scope.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/scoped-function/color-and-scope.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-scoped-function", "experimental-mid-script-function-call", diff --git a/internal/interpreter/testdata/script-tests/experimental/scoped-function/overdraft.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/scoped-function/overdraft.num.specs.json index 26b3b289..6c7069aa 100644 --- a/internal/interpreter/testdata/script-tests/experimental/scoped-function/overdraft.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/scoped-function/overdraft.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-scoped-function", "experimental-mid-script-function-call" diff --git a/internal/interpreter/testdata/script-tests/experimental/scoped-function/read-account-meta.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/scoped-function/read-account-meta.num.specs.json index 9f64c2b9..cf322853 100644 --- a/internal/interpreter/testdata/script-tests/experimental/scoped-function/read-account-meta.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/scoped-function/read-account-meta.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-scoped-function", "experimental-mid-script-function-call" diff --git a/internal/interpreter/testdata/script-tests/experimental/scoped-function/save.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/scoped-function/save.num.specs.json index 6468f2a8..d741c84a 100644 --- a/internal/interpreter/testdata/script-tests/experimental/scoped-function/save.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/scoped-function/save.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-scoped-function", "experimental-mid-script-function-call" diff --git a/internal/interpreter/testdata/script-tests/experimental/scoped-function/set-account-meta.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/scoped-function/set-account-meta.num.specs.json index 2aaf4e08..22ac13b7 100644 --- a/internal/interpreter/testdata/script-tests/experimental/scoped-function/set-account-meta.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/scoped-function/set-account-meta.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "featureFlags": [ "experimental-mid-script-function-call", "experimental-scoped-function" diff --git a/internal/interpreter/testdata/script-tests/experimental/scoped-function/simple.num.specs.json b/internal/interpreter/testdata/script-tests/experimental/scoped-function/simple.num.specs.json index 5066eb83..479c3126 100644 --- a/internal/interpreter/testdata/script-tests/experimental/scoped-function/simple.num.specs.json +++ b/internal/interpreter/testdata/script-tests/experimental/scoped-function/simple.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "balances": [ { "account": "src", diff --git a/internal/interpreter/testdata/script-tests/feature-flag-syntax.num.specs.json b/internal/interpreter/testdata/script-tests/feature-flag-syntax.num.specs.json index 4bf40854..fde273e7 100644 --- a/internal/interpreter/testdata/script-tests/feature-flag-syntax.num.specs.json +++ b/internal/interpreter/testdata/script-tests/feature-flag-syntax.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "balances": [ { "account": "acc", diff --git a/internal/interpreter/testdata/script-tests/floating-perc.num.specs.json b/internal/interpreter/testdata/script-tests/floating-perc.num.specs.json index 67eba0dd..987d3767 100644 --- a/internal/interpreter/testdata/script-tests/floating-perc.num.specs.json +++ b/internal/interpreter/testdata/script-tests/floating-perc.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "../../../../specs.schema.json", + "$schema": "../../../../v1.specs.schema.json", "testCases": [ { "it": "should handle the floating syntax", diff --git a/internal/interpreter/testdata/script-tests/floating-perc2.num.specs.json b/internal/interpreter/testdata/script-tests/floating-perc2.num.specs.json index 6aa8f68e..c23fec59 100644 --- a/internal/interpreter/testdata/script-tests/floating-perc2.num.specs.json +++ b/internal/interpreter/testdata/script-tests/floating-perc2.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "testCases": [ { "it": "example spec", diff --git a/internal/interpreter/testdata/script-tests/minus-infix-monetary.num.specs.json b/internal/interpreter/testdata/script-tests/minus-infix-monetary.num.specs.json index 50c15bdb..2f476b2d 100644 --- a/internal/interpreter/testdata/script-tests/minus-infix-monetary.num.specs.json +++ b/internal/interpreter/testdata/script-tests/minus-infix-monetary.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "testCases": [ { "it": "should subtract the monetaries", diff --git a/internal/interpreter/testdata/script-tests/minus-infix-number.num.specs.json b/internal/interpreter/testdata/script-tests/minus-infix-number.num.specs.json index 492863a4..2bc386d3 100644 --- a/internal/interpreter/testdata/script-tests/minus-infix-number.num.specs.json +++ b/internal/interpreter/testdata/script-tests/minus-infix-number.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "testCases": [ { "it": "should subtract the numbers", diff --git a/internal/interpreter/testdata/script-tests/minus-prefix-number.num.specs.json b/internal/interpreter/testdata/script-tests/minus-prefix-number.num.specs.json index 0e3abba8..14d3d32c 100644 --- a/internal/interpreter/testdata/script-tests/minus-prefix-number.num.specs.json +++ b/internal/interpreter/testdata/script-tests/minus-prefix-number.num.specs.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json", + "$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json", "testCases": [ { "it": "should subtract the numbers",