You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described for JSON Schema, schemas define static types and are inherently mismatched to the dynamically evaluated class inheritance used in object-oriented programming. Nonetheless, inheritance graphs are used extensively in software and data design.
JADN needs two kinds of type option to support inheritance:
Inheritance extensions (extends, restricts, and abstract) that can be processed directly by OOP software or by the JADN unfolding process
Inheritance annotations to record that the core type was generated using inheritance. Annotations do not affect schema processing and can be ignored by core JADN processors.
Unfolding converts extensions to core JADN by generating fully-expanded type definitions and replacing the extension with the annotation.
The text was updated successfully, but these errors were encountered:
As described for JSON Schema, schemas define static types and are inherently mismatched to the dynamically evaluated class inheritance used in object-oriented programming. Nonetheless, inheritance graphs are used extensively in software and data design.
JADN needs two kinds of type option to support inheritance:
extends
,restricts
, andabstract
) that can be processed directly by OOP software or by the JADN unfolding processUnfolding converts extensions to core JADN by generating fully-expanded type definitions and replacing the extension with the annotation.
The text was updated successfully, but these errors were encountered: