Skip to main content

Duplex Sync Rules Documentation Guidelines

Welcome to the Duplex Sync Rules Documentation Guidelines. This guide provides a comprehensive set of best practices for writing clear, consistent, and effective Duplex Sync validation rules.

Official GS1 Foundation

This documentation is based on the official GS1 standard: How to Write GDSN Validation Rules.

All guidelines, best practices, and recommendations in this documentation align with and extend the official GS1 methodology for creating GDSN validation rules. We strongly recommend reviewing the official GS1 document as the authoritative source for GDSN rule writing standards.

Purpose of This Guideโ€‹

The Global Data Synchronization Network (GDSN) relies on well-defined validation rules to ensure data quality and consistency. However, rule definitions are often created by different individuals with varying writing styles, technical knowledge, and familiarity with the domain. This leads to inconsistencies in rule documentation, making them difficult to understand and implement.

This guide aims to:

  1. Establish a standardized format for writing Duplex Sync rules
  2. Improve rule clarity and reduce ambiguity
  3. Ensure technical accuracy in rule definitions
  4. Facilitate easier implementation by developers and data providers
  5. Make rules more comprehensible for both technical and non-technical users

Who Should Use This Guideโ€‹

  • Rule Authors: Individuals responsible for creating new GDSN validation rules
  • Rule Reviewers: Those who review and approve rules before implementation
  • Developers: People implementing the rules in validation systems
  • Data Providers: Organizations who need to understand the rules to ensure their data complies

How to Use This Guideโ€‹

This documentation is organized into several sections:

Benefits of Standardized Rule Documentationโ€‹

By following these guidelines, you will help create a more robust GDSN ecosystem with:

  • Reduced Ambiguity: Clear rules that leave no room for misinterpretation
  • Improved Implementation: Easier translation of rules into validation code
  • Better Compliance: Data providers can more easily understand and comply with requirements
  • Enhanced Maintenance: Rules are easier to update, refine, and extend over time
  • Automated Processing: Well-structured rules can be better processed by automated systems
Continuous Improvement

This guide is a living document. As GDSN standards evolve and we gather feedback on rule implementation, we'll update these guidelines to reflect best practices.

Let's get started by exploring the Core Concepts of Duplex Sync rule documentation.