1. Home
  2. EIDR Data Fields
  3. Appendix
  4. Data Fields – Relationship Validation

Data Fields – Relationship Validation

Add Relationship API by Creation Type:

FieldCompositeAlternate Content InfoPackaging InfoPromotion InfoSupplement Content Info
IDMust be a non-aliased ID.
Status should not be “in development” when source is “valid”.
Referent TypeFixed: One of TV, Movie, Short, Supplemental, Web.Fixed: One of TV, Movie, Short, Supplemental, Web, Interactive Material Fixed: One of TV, Movie, Short, Supplemental, Web, Interactive Material, Series, SeasonFixed: One of TV, Movie, Short, Web, Supplemental, Interactive Material
Parent:     
ID (target)The Composite Element ID must be a non-aliased ID.Must be a non-aliased ID.Must be a non-aliased ID.Must be a non-aliased ID.Must be a non-aliased ID.
Graph compatibilityThe target must not be the same as ID. The object, if at all, has only these pre-existing relationships: isEpisode, isPromotion, isSupplement, isAlternate, isPackaging.The target must not be the same as ID. The ID must not already have the same relationship with the target of the same relationship Class.  The target must not be the same as ID. The ID must not already have the same relationship with the target of the same relationship Class.  The target must not be the same as ID. The ID must not already have the same relationship with the target of the same relationship Class.  The target must not be the same as ID. The ID must not already have the same relationship with the target of the same relationship Class.  

Remove Relationship API by Creation Type:

FieldCompositeAlternate Content InfoPackaging InfoPromotion InfoSupplement Content Info
ID     
ID (target)Must be absent.Conditional: If specified, must be the target of isAlternate relationship.Conditional: If specified, must be the target of isPackaging relationship.Conditional: If specified, must be the target of isPromotion relationshipConditional: If specified, must be the target of isSupplement relationship.
Graph compatibilityThe ID must already have this relationship with the target.  The ID must already have this relationship with the target.  The ID must already have this relationship with the target.  The ID must already have this relationship with the target.  The ID must already have this relationship with the target.  

For the Replace Relationship API, the rules from both Remove Relationship and Add Relationship apply.

Updated on April 11, 2021

Was this article helpful?

Related Articles