Conditional Fields in Proxy Collection Schemas
A field can be mandatory for one record type and irrelevant for another. A promotional offer may require a valid promotion period, while a normal listing follows a different contract. When collecting approved records with Go2Proxy data collection, validate the condition that activates each rule. A fixed checklist demanding every field on every row can reject valid data and still accept incomplete records in the states that matter.

Identify the condition that selects the rule
Define the trusted record type, state flag or source contract that determines which fields are required. The condition itself needs validation; an unrecognized state should not fall through to the least demanding rule.
Keep source state and normalized state distinct if translation is involved. A collector that guesses a record type from missing values can create a circular rule in which an incomplete record is labelled as the type that requires fewer fields.
Write small explicit field contracts
For each supported state, list the required fields, accepted optional forms and relationships between values. A field being present does not establish that its unit or meaning is correct.
The schema-drift review guide emphasizes field meaning and version context. Use that approach to distinguish a real source-state transition from a changed extraction template. Otherwise, a parser defect can appear to transform every promotional record into a normal listing overnight.
Check cross-field relationships
A complete set of fields can still contradict the selected state. Validate the relationships needed by the business question, such as whether the reported period or eligibility wording belongs to the same accepted offer.
Do not fill a conditional field from a different page state merely to pass validation. Keep uncertain records separate for review. The resulting record should describe one coherent source observation, not a composite assembled from whichever values happen to be available.
Use a state-transition fixture
Build synthetic normal, promotional and unrecognized-state records. Include one valid promotion and one promotion missing a required condition. Verify that each produces the expected acceptance or review outcome.
Then simulate a source changing its state label without changing the underlying offer. The pipeline should flag the unrecognized label until the mapping is reviewed, rather than defaulting to a permissive state and suppressing the newly missing requirements.
Review rule changes before historical reuse
Version the conditional schema and retain the source-state evidence needed to interpret earlier records. Revalidating a historical dataset under a new rule should be a documented operation, not an invisible change to acceptance history.
Report failure reasons by condition as well as overall. A stable total error rate can conceal a problem affecting one important record type. Inspect those groups before concluding that a schema or source-template release left collection quality unchanged.
Frequently asked questions
Should every row require the same fields?
Only when the source and business contract actually make them universal. Conditional records need explicit state-aware requirements.
Can a missing field determine a more permissive record type?
Avoid that circular inference. Establish the state through validated source evidence and classify unresolved conditions separately.
Does field presence prove a conditional record is valid?
No. Check field meaning and the relevant relationships. Present but contradictory values can still describe an invalid or mixed observation.
Before the next run
Retain the supported-state and unknown-state fixtures, and compare validation outcomes by record type whenever the source mapping or schema changes.



