Standard compliance mapping management
You can use natural language instructions to direct code agents, such as Qoder and CodeX, to manage standard application mappings between asset fields and data standards. This includes querying, creating in bulk, invalidating, and deleting mappings.
Features
The standard compliance mapping management feature lets you use natural language instructions to establish mappings between asset fields or metrics and data standards. This process is a prerequisite for compliance monitoring (standard application). Mappings are divided into two types. An effective mapping indicates that a field must adhere to the standard and is subject to compliance monitoring. An invalid mapping explicitly excludes a relationship to prevent subsequent incorrect mappings.
Use cases:
-
Find which data standards a field is mapped to, or which fields a standard is applied to.
-
Create effective mappings in bulk between a set of fields and a data standard.
-
Invalidate an existing mapping to explicitly exclude a field from being associated with a specific standard.
-
Delete effective or invalid mappings to remove existing standard application relationships.
Limitations: You can only create effective mappings for data standards in an Active state. Batch operations support a maximum of 1,000 asset GUIDs per request; larger sets must be submitted in separate batches. Mappings are keyed by asset GUID, so if you only know a table or field name, you must first resolve it to a GUID. If you attempt to create a mapping that conflicts with an existing invalid mapping, the default policy converts it to an effective mapping, which may require your confirmation.
Prerequisites
-
Your account must have the necessary management permissions for data standards and assets.
-
To create an effective mapping, the target data standard must be published and have an
Activestatus. -
You have the field-level asset GUIDs for the assets you want to map. If you only know the table or field names, use the asset query feature to resolve them into GUIDs first.
Usage examples
Here are some example commands:
-
Map the
amountandstatusfields of the orders table to the "Order Amount Standard". -
Find out which data standards are mapped to the
amountfield in the orders table. -
Invalidate the mapping between the
remarkfield of the users table and the "Customer Code Standard", as this mapping is incorrect.
Interaction steps:
-
After you issue an instruction, the agent confirms the target data standard and the asset fields to be mapped.
-
If you only provide table or field names, the agent typically resolves them into asset GUIDs first.
-
Before creating a mapping, the agent checks for existing mappings to avoid duplicates. If a proposed mapping conflicts with an existing invalid mapping, the agent asks you to confirm whether to convert it to an effective mapping or to keep it invalid and skip the operation.
-
Before submitting the operation, the agent summarizes the planned changes for your confirmation, including the target standard, the number of fields, the mapping type, and the conflict policy.
-
After you confirm, the agent submits the operation and then queries the mapping results again to provide details on the successful and failed items.
Execution results
After the operation completes, the agent returns the following results:
-
Return content: A bulk creation task returns the count of successful mappings and a list of GUIDs for any that failed. A query returns the mapping relationships between fields and standards, including snapshot information such as the standard's name and code.
-
Completion status: A successful command response indicates that the request has been accepted. However, in a batch operation, some individual GUIDs may still fail to process.
-
Viewing and verification: You can view the mappings between fields and standards on the asset or standard application pages in Dataphin to verify the results.
The Dataphin UI displays the final, authoritative result.
Appendix: Parameters
The following table lists the information that may be required for managing standard application mappings. This list is for reference only. In practice, the agent automatically identifies the necessary information from your instructions and will prompt you if any details are missing. Information marked as not required is generated automatically by the system.
|
Parameter |
Required |
Description |
Example |
|
Tenant ID |
Yes |
The 19-digit ID of the target Dataphin tenant. |
1234567890123456789 |
|
Data standard ID |
Yes |
The ID of the target data standard. The standard must be in an |
— |
|
Asset GUID list |
Conditionally required |
A list of field-level asset GUIDs for creating mappings. Each request supports a maximum of 1,000 GUIDs. |
— |
|
Mapping type |
No |
The mapping type can be an |
effective mapping |
|
Invalid mapping conflict policy |
No |
The policy to apply when a proposed mapping conflicts with an existing invalid mapping. Options are |
keep and skip |
|
Scope GUID |
Conditionally required |
Specifies the scope for invalidation or deletion, either by asset GUIDs or by the GUID of the parent asset (table). Each request supports a maximum of 1,000 GUIDs. |
— |
|
Asset type |
No |
The type of asset to specify when querying mappings. Options are |
field |