add new schema folder

This commit is contained in:
AshwiniK-protean
2025-02-27 15:07:30 +05:30
parent 113aadbb0a
commit 26c97c5774
65 changed files with 389 additions and 571 deletions

View File

@@ -0,0 +1,38 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://ondc.org/trv10/2.0.0/update",
"type": "object",
"allOf": [
{
"$ref": "../core/v1.1.0/update.json#"
},
{
"$ref": "https://beckn.org/schema/update#"
},
{
"$ref": "./init.json#/allOf/2"
},
{
"properties": {
"message": {
"type": "object",
"properties": {
"order": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": ["id"]
},
"update_target": {
"type": "string",
"pattern": "^[^,]+(,[^,]+)*$"
}
}
}
}
}
]
}