parameters:
  "service-dir":
    default: "sdk/eventgrid"
  "service-directory-name":
    default: "eventgrid"
emit:
  - "@azure-tools/typespec-autorest"
linter:
  extends:
    - "@azure-tools/typespec-azure-rulesets/data-plane"
options:
  "@azure-tools/typespec-autorest":
    emitter-output-dir: "{project-root}/.."
    omit-unreachable-types: false
    output-file: "{azure-resource-provider-folder}/Microsoft.EventGrid/{version-status}/{version}/GeneratedSystemEvents.json"
    azure-resource-provider-folder: "data-plane"
    emit-lro-options: "none"
  "@azure-tools/typespec-python":
    package-pprint-name: '"Azure Event Grid System Events"'
    package-version: 4.12.0b1
    package-dir: "azure-eventgrid"
    namespace: "azure.eventgrid"
    flavor: azure
    generate-test: true
    generate-sample: true
  # Uncomment this line and add "@azure-tools/typespec-csharp" to your package.json to generate C# code
  "@azure-tools/typespec-csharp":
    package-dir: Azure.Messaging.EventGrid.SystemEvents
    model-namespace: false
    namespace: Azure.Messaging.EventGrid.SystemEvents
    flavor: azure
    api-version: "2018-01-01"
  "@azure-tools/typespec-ts":
    generate-test: false
    experimental-extensible-enums: true
    package-dir: "eventgrid-systemevents"
    package-details:
      name: "@azure/eventgrid-systemevents"
    flavor: azure
    is-modular-library: true
  "@azure-tools/typespec-go":
    module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}"
    service-dir: "sdk/messaging/eventgrid"
    package-dir: "azsystemevents"
    module-version: "0.0.1"
    emitter-output-dir: "{project-root}"
    slice-elements-byval: true
    flavor: "azure"
  "@azure-tools/typespec-java":
    emitter-output-dir: "{project-root}"
    namespace: com.azure.messaging.eventgrid
    models-subpackage: systemevents
    package-dir: azure-messaging-eventgrid-systemevents
    customization-class: customization/src/main/java/EventGridSystemEventsCustomization.java
    custom-types-subpackage: implementation.models
    custom-types: AcsRouterCommunicationError,AcsMessageChannelEventError
    flavor: azure
    dev-options:
      loglevel: info
