Validation and Rules for the Creation of Metadata and Feeds
Data Hub defines metadata using rules and then validates the metadata is sound.
Validation Rules for the Creation of Raw Attributes
Here is the scenario for the creation of raw attributes:
- Validate that the RawItem type is not null and not blank
- Validate that the Name is not null and not blank
- Validate that the RawAttribute does not already exist
- Validate that the type is a subtype of RawItem
- If RawAttribute is defined as secured, enable an Encryption Strategy
Rules for the Creation of Canonical Attributes
- The Name is not blank
- The ItemType is not blank
- The ItemType is defined in the type system
Validation Process for the Creation of Canonical Attributes
Here is a scenario for the creation of canonical attributes:
- Validate that the CanonicalItem type is of canonical item
- Validate that the canonical metadata exists and is active
- Validate that the CanonicalAttribute does not already exist
- Validate that the CanonicalAttributeDefinition does not already exist for this name and type
- If CanonicalAttribute is defined as secured, enable an Encryption Strategy
Rules for the Raw Section (If Specified):
- The CanonicalItem type exists in Data Hub type system
- The CanonicalItem type is a subtype of RawItem
- The RawAttribute must be defined as a data item attribute
- If there is a RawAttribute, there has to be a RawType
Validation Process for the Raw Section (If Specified):
- Validate that a RawAttribute of the same name exists for the RawType specified
Rules for the Foreign Key (If Specified)
- The ItemType is defined
- The canonical metadata item is defined
Validation Rules for the Creation of Target Systems
Here is the scenario for the creation of target systems:
- Validate that the TargetSystemName is not null and not blank
- Validate that the TargetSystemType is defined in the Adapter Service Registry
- If TargetSystem has a password, enable an Encryption Strategy
Validation Rules for the Creation of Target Items
Here is the scenario for the creation of target items:
- Validate the TargetSystem exists in Data Hub type system
- Validate the TargetItem does not already exist in this TargetSystem
- Validate the CanonicalItemSource exists
- Validate the TargetItemType s declared as dependencies exist
Validation Process for the Creation of Target Item Attributes
- If TargetItemAttribute is defined as secured, enable an Encryption Strategy
Validation Rules for the Creation of Feeds
Here is a scenario for the creation of feeds:
- Validate that the Name is not null and not blank
- Validate that the Name does not already exist
- Validate that the Pooling Strategy is not null and not blank
- Validate that the Pooling Strategy is defined in the Pooling Strategy Registry