{
  "name": "DescribeRule",
  "plane": "control",
  "terraformEligible": true,
  "protocol": {
    "kind": "cloudJson",
    "target": "CloudEvents.DescribeRule",
    "service": "events"
  },
  "requestBody": "typed",
  "responseBody": "typed",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "eventBusName": {
        "default": null,
        "type": [
          "string",
          "null"
        ]
      },
      "name": {
        "type": "string"
      }
    },
    "required": [
      "name"
    ],
    "title": "DescribeRuleRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
      "arn": {
        "type": "string"
      },
      "eventBusName": {
        "type": "string"
      },
      "eventPattern": true,
      "name": {
        "type": "string"
      },
      "state": {
        "type": "string"
      }
    },
    "required": [
      "arn",
      "eventBusName",
      "eventPattern",
      "name",
      "state"
    ],
    "title": "RuleDescription",
    "type": "object"
  }
}
