Skip to main content

Reference

This class represents a reference to another component or schema within a data model. It utilizes a single field to store a reference string, typically used for identifying external or internal definitions via a URI or path.

Attributes

AttributeTypeDescription
refstringThe URI string pointing to the location of the external or internal schema definition, mapped from the '$ref' field.

Constructor

Signature

def Reference(
ref: string
) - > null

Parameters

NameTypeDescription
refstringThe reference string, mapped from the '$ref' alias.

Signature

def Reference(
ref: str
) - > null

Parameters

NameTypeDescription
refstrThe JSON reference string (URI) pointing to the location of the schema definition.