JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/rule_patch",
"title": "rule_patch",
"oneOf": [
{
"$ref": "#/components/schemas/http_rule_patch"
},
{
"$ref": "#/components/schemas/ifttt_rule_patch"
},
{
"$ref": "#/components/schemas/zapier_rule_patch"
},
{
"$ref": "#/components/schemas/cloudflare_worker_rule_patch"
},
{
"$ref": "#/components/schemas/azure_function_rule_patch"
},
{
"$ref": "#/components/schemas/google_cloud_function_rule_patch"
},
{
"$ref": "#/components/schemas/aws_lambda_rule_patch"
},
{
"$ref": "#/components/schemas/aws_kinesis_rule_patch"
},
{
"$ref": "#/components/schemas/aws_sqs_rule_patch"
},
{
"$ref": "#/components/schemas/amqp_rule_patch"
},
{
"$ref": "#/components/schemas/amqp_external_rule_patch"
},
{
"$ref": "#/components/schemas/kafka_rule_patch"
},
{
"$ref": "#/components/schemas/pulsar_rule_patch"
},
{
"$ref": "#/components/schemas/ingress_postgres_outbox_rule_patch"
}
],
"discriminator": {
"propertyName": "ruleType",
"mapping": {
"http": "#/components/schemas/http_rule_patch",
"http/ifttt": "#/components/schemas/ifttt_rule_patch",
"http/zapier": "#/components/schemas/zapier_rule_patch",
"http/cloudflare-worker": "#/components/schemas/cloudflare_worker_rule_patch",
"http/azure-function": "#/components/schemas/azure_function_rule_patch",
"http/google-cloud-function": "#/components/schemas/google_cloud_function_rule_patch",
"aws/lambda": "#/components/schemas/aws_lambda_rule_patch",
"aws/kinesis": "#/components/schemas/aws_kinesis_rule_patch",
"aws/sqs": "#/components/schemas/aws_sqs_rule_patch",
"amqp": "#/components/schemas/amqp_rule_patch",
"amqp/external": "#/components/schemas/amqp_external_rule_patch",
"kafka": "#/components/schemas/kafka_rule_patch",
"pulsar": "#/components/schemas/pulsar_rule_patch",
"ingress-postgres-outbox": "#/components/schemas/ingress_postgres_outbox_rule_patch"
}
}
}