Share via


EnumInfo interface

Extends

Properties

entityKind
enumValues
valueSchema

Inherited Properties

childOf
comment
definedIn
description
displayName
dtdlVersion
id
languageVersion
supplementalProperties
supplementalTypeIds
supplementalTypes
undefinedProperties
undefinedTypes

Inherited Methods

validateInstance(string)

Property Details

entityKind

entityKind: "enum"

Property Value

"enum"

enumValues

enumValues?: EnumValueInfo[]

Property Value

valueSchema

valueSchema?: PrimitiveSchemaInfo

Property Value

Inherited Property Details

childOf

childOf: undefined | string

Property Value

undefined | string

Inherited From ComplexSchemaInfo.childOf

comment

comment?: string

Property Value

string

Inherited From ComplexSchemaInfo.comment

definedIn

definedIn: undefined | string

Property Value

undefined | string

Inherited From ComplexSchemaInfo.definedIn

description

description?: LanguageStringType

Property Value

Inherited From ComplexSchemaInfo.description

displayName

displayName?: LanguageStringType

Property Value

Inherited From ComplexSchemaInfo.displayName

dtdlVersion

dtdlVersion: number

Property Value

number

Inherited From ComplexSchemaInfo.dtdlVersion

id

id: string

Property Value

string

Inherited From ComplexSchemaInfo.id

languageVersion

languageVersion?: number

Property Value

number

Inherited From ComplexSchemaInfo.languageVersion

supplementalProperties

supplementalProperties: {[x: string]: any}

Property Value

{[x: string]: any}

Inherited From ComplexSchemaInfo.supplementalProperties

supplementalTypeIds

supplementalTypeIds: string[]

Property Value

string[]

Inherited From ComplexSchemaInfo.supplementalTypeIds

supplementalTypes

supplementalTypes: SupplementalTypeInfo[]

Property Value

Inherited From ComplexSchemaInfo.supplementalTypes

undefinedProperties

undefinedProperties: {[name: string]: any}

Property Value

{[name: string]: any}

Inherited From ComplexSchemaInfo.undefinedProperties

undefinedTypes

undefinedTypes: string[]

Property Value

string[]

Inherited From ComplexSchemaInfo.undefinedTypes

Inherited Method Details

validateInstance(string)

function validateInstance(instanceText: string): boolean

Parameters

instanceText

string

Returns

boolean

Inherited From ComplexSchemaInfo.validateInstance