Files
onix/config/onix/schemas/core/v1.1.0/Rating.json
MohitKatare-protean ec558558c5 added updated code for core wiring
1. Removed tracing
2. Skipped Registration
2025-03-25 21:06:34 +05:30

42 lines
769 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "rating",
"type": "object",
"properties": {
"context": {
"allOf": [
{
"$ref": "./definitions.json#/$defs/Context"
},
{
"type": "object",
"properties": {
"action": {
"enum": [
"rating"
]
}
},
"required": [
"action"
]
}
]
},
"message": {
"type": "object",
"properties": {
"ratings": {
"type": "array",
"items": {
"$ref": "./definitions.json#/$defs/Rating"
}
}
}
}
},
"required": [
"message",
"context"
]
}