update schemas and create a validateHandler function

This commit is contained in:
AshwiniK-protean
2025-03-02 18:44:16 +05:30
parent 4b940d9e51
commit 4559ac3e5f
28 changed files with 3053 additions and 3552 deletions

View File

@@ -1,16 +1,13 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://ondc.org/trv10/2.0.0/on_update",
"$id": "on_update",
"type": "object",
"allOf": [
{
"$ref": "../core/v1.1.0/confirm.json#"
"$ref": "../../core/v1.1.0/confirm.json#"
},
{
"$ref": "https://beckn.org/schema/confirm#"
},
{
"$ref": "./init.json#/allOf/2"
"$ref": "./init.json#/allOf/1"
}
]
}