add new schemas

This commit is contained in:
AshwiniK-protean
2025-02-27 10:23:49 +05:30
parent 87d546ea8a
commit 113aadbb0a
65 changed files with 7578 additions and 151 deletions

View File

@@ -0,0 +1,26 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://ondc.org/trv10/2.0.0/search",
"type": "object",
"properties": {
"context": {
"allOf": [
{
"$ref": "../schema/components.json#/$defs/Context"
}
]
},
"message": {
"properties": {
"intent": {
"$ref": "../schema/components.json#/$defs/Intent"
}
},
"type": "object"
}
},
"required": [
"message",
"context"
]
}