add new schemas
This commit is contained in:
40
plugins/schema/beckn_base/api/io/OnSupport.json
Normal file
40
plugins/schema/beckn_base/api/io/OnSupport.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://beckn.org/schema/OnSupport",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "../schema/components.json#/$defs/Context"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"action": {
|
||||
"enum": [
|
||||
"on_support"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"action"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"message": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"support": {
|
||||
"$ref": "../schema/components.json#/$defs/Support"
|
||||
}
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
"$ref": "../schema/components.json#/$defs/Error"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user