{
  "name": "CreateEventBus",
  "plane": "control",
  "terraformEligible": true,
  "protocol": {
    "kind": "cloudJson",
    "target": "CloudEvents.CreateEventBus",
    "service": "events"
  },
  "requestBody": "typed",
  "responseBody": "typed",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "name": {
        "type": "string"
      },
      "tags": {
        "default": null
      }
    },
    "required": [
      "name"
    ],
    "title": "CreateEventBusRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "definitions": {
      "IgnoredField": {
        "properties": {
          "detail": {
            "type": [
              "string",
              "null"
            ]
          },
          "path": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "status": {
            "$ref": "#/definitions/IgnoredStatus"
          }
        },
        "required": [
          "path",
          "reason",
          "status"
        ],
        "type": "object"
      },
      "IgnoredStatus": {
        "enum": [
          "ignored",
          "approximated",
          "coerced"
        ],
        "type": "string"
      }
    },
    "properties": {
      "eventBusArn": {
        "type": "string"
      },
      "ignoredFields": {
        "items": {
          "$ref": "#/definitions/IgnoredField"
        },
        "type": "array"
      }
    },
    "required": [
      "eventBusArn"
    ],
    "title": "CreateEventBusResponse",
    "type": "object"
  }
}
