The element name must correspond with the augmented type name, with the "Type"
representation term being replaced by "Augmentation"
.
The Immigration domain augmentation container element for
nc:PersonType
is"im:PersonAugmentation"
.
The element must be declared to be substitutable for an augmentation point element.
im:PersonAugmentation
(augmentation element) is substitutable fornc:PersonAugmentationPoint
(augmentation point).
An augmentation container element must have a corresponding augmentation type.
Augmentation element
im:PersonAugmentation
has augmentation typeim:PersonAugmentationType
.
The type name must correspond with the augmented container element name, with the addition of the "Type"
representation term.
Augmentation element
im:PersonAugmentation
has an augmentation type with the nameim:PersonAugmentationType
.
An augmentation type must extend structures:AugmentationType
.
Augmentation type
im:PersonAugmentationType
extends typestructures:AugmentationType
.
Each augmentation element should replace the augmentation point of the original type. Augmentations of augmentations are not allowed.
im:PersonAugmentationType
should not contain its own augmentation point element like im:PersonAugmentationPoint
.nc:PersonType
- nc:PersonAugmentationPoint
.Rule | Applicability | Title |
---|---|---|
NDR 10-32 | INS | Element within instance of augmentation type modifies base |
NDR 10-33 | REF, EXT | Only an augmentation type name ends in AugmentationType |
NDR 10-34 | REF, EXT | Schema component with name ending in AugmentationType is an augmentation type |
NDR 10-35 | REF, EXT | Type derived from structures:AugmentationType is an augmentation type |
NDR 10-36 | REF, EXT | Augmentation element type is an augmentation type |
NDR 10-37 | REF, SET | Augmentation elements are not used directly |
NDR 11-30 | REF, EXT | Standard opening phrase for augmentation element data definition |
NDR 11-42 | REF, EXT | Standard opening phrase for augmentation type data definition |