# Type Alias TemplateRefByScenarioNameVersion

Representation of the 'TemplateRefByScenarioNameVersion' schema.

type TemplateRefByScenarioNameVersion = {
name: string;
scenario: string;
scope?: "resource_group" | "tenant";
version: string;
}

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/template-ref-by-scenario-name-version.d.ts:4

##### Index

### Properties

name
scenario
scope?
version

## Properties

### name

name: string

Name of the template

#### Example

    "some-template-name"

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/template-ref-by-scenario-name-version.d.ts:14

### scenario

scenario: string

Scenario name

#### Example

    "some-scenario"

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/template-ref-by-scenario-name-version.d.ts:9

### `Optional` scope

scope?: "resource_group" | "tenant"

Defines the scope that is searched for the referenced template. 'tenant' indicates the template is shared across all resource groups within the tenant, while 'resource_group' indicates the template is only accessible within the specific resource group.

Default: "tenant".

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/template-ref-by-scenario-name-version.d.ts:25

### version

version: string

Version of the template

#### Example

    "some version, can be `latest`"

Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/template-ref-by-scenario-name-version.d.ts:19