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
| Attribute | Type | Description |
|---|---|---|
| ref | string | The 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
| Name | Type | Description |
|---|---|---|
| ref | string | The reference string, mapped from the '$ref' alias. |
Signature
def Reference(
ref: str
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| ref | str | The JSON reference string (URI) pointing to the location of the schema definition. |