Skip to content

Example: Combine text fields and publish semi-structured data #1177

@duncandewhurst

Description

@duncandewhurst

Sometimes multiple text fields in a publisher's data source map to a single text field in OCDS.

There are several options for handling this, depending on the nature of the data and whether there is a reason users would need to separate the values or identify which field they were mapped from:

  1. Simply concatenate the values
  2. Concatenate the values with a separator which does not otherwise appear in the fields, e.g. ';'
  3. Use a newline and a prefix to separate the values, e.g.
<value 1>

<prefix>: <value 2>

In all cases the approach used should be documented in the publication policy.

We can document this in a worked example, with reference to the guidance shared in CRM-6884.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Focus - ExamplesRelating to examples in the guidance

    Type

    No type

    Projects

    Status

    Backlog: Examples

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions