{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/SubscriptionRequest", "title": "SubscriptionRequest", "type": "object", "properties": { "subscription": { "type": "object", "properties": { "resourceId": { "type": "string" }, "protocol": { "type": "string", "enum": [ "http", "https", "email", "email-json", "aws-sns", "web" ] }, "endpoint": { "type": "string" }, "eventType": { "type": "string" } }, "example": "example_value" } } }