parameters:
  service-dir:
    default: "sdk/contentsafety"
emit:
  - "@azure-tools/typespec-autorest"
linter:
  extends:
    - "@azure-tools/typespec-azure-rulesets/data-plane"
options:
  "@azure-tools/typespec-autorest":
    emitter-output-dir: "{project-root}/../"
    output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/contentsafety.json"
    azure-resource-provider-folder: "data-plane"
    emit-lro-options: "none"
    omit-unreachable-types: true
  "@azure-tools/typespec-python":
    package-dir: "azure-ai-contentsafety"
    package-version: "1.0.0"
    namespace: "azure.ai.contentsafety"
    package-pprint-name: '"Azure AI Content Safety"'
    flavor: azure
    generate-test: true
    generate-sample: true
  "@azure-tools/typespec-csharp":
    package-dir: "Azure.AI.ContentSafety"
    namespace: "{package-dir}"
    clear-output-folder: true
    model-namespace: false
    flavor: azure
  "@azure-tools/typespec-ts":
    package-dir: "ai-content-safety-rest"
    package-details:
      name: "@azure-rest/ai-content-safety"
      version: "1.0.0"
      description: "ContentSafety Service"
    flavor: azure
  "@azure-tools/typespec-java":
    package-dir: "azure-ai-contentsafety"
    namespace: com.azure.ai.contentsafety
    partial-update: true
    flavor: azure
    api-version: "2023-10-01"
