parameters:
  "service-dir":
    default: "sdk/purview"
  "dependencies":
    "additionalDirectories": []
    default: ""
emit:
  - "@azure-tools/typespec-autorest"
options:
  "@azure-tools/typespec-autorest":
    azure-resource-provider-folder: "data-plane"
    emit-lro-options: "none"
    emitter-output-dir: "{project-root}/.."
    output-file: "{azure-resource-provider-folder}/Azure.Analytics.Purview.DataMap/{version-status}/{version}/purviewdatamap.json"
    omit-unreachable-types: true
  "@azure-tools/typespec-python":
    package-dir: "azure-purview-datamap"
    package-name: "{package-dir}"
    package-mode: dataplane
    flavor: azure
    generate-test: true
    generate-sample: true
  "@azure-tools/typespec-csharp":
    package-dir: "Azure.Analytics.Purview.DataMap"
    namespace: "{package-dir}"
    clear-output-folder: true
    model-namespace: false
    flavor: azure
  "@azure-tools/typespec-ts":
    package-dir: "purview-datamap-rest"
    generateMetadata: true
    generateTest: true
    packageDetails:
      name: "@azure-rest/purview-datamap"
      description: Purview DataMap Service"
    flavor: azure
  "@azure-tools/typespec-java":
    package-dir: "azure-analytics-purview-datamap"
    namespace: com.azure.analytics.purview.datamap
    flavor: azure
linter:
  extends:
    - "@azure-tools/typespec-azure-rulesets/data-plane"
