ref Field
This field serves as reference (alias) to other fields. It can be used to avoid duplication of field definition for multiple messages.
Referencing the Field
Length in Bits
Last updated
Was this helpful?
This field serves as reference (alias) to other fields. It can be used to avoid duplication of field definition for multiple messages.
Last updated
Was this helpful?
The <ref> field has all the properties. It also copies name, displayName and semanticType from the referenced field and allows overriding them with new values. Note, that in the example above <ref> field defined as a member of Msg1 message hasn't provided any name value. It is allowed because it has taken a name of the referenced field (SomeIntField).
The only extra property the <ref> field has is field to specify a to other field.
Since v2 of this specification it is allowed to use <ref> field as member of the field while referencing one of the allowed member types. In such case it is required to use bitLength property to specify length in bits.
Use for future references.