Skip to content

Commit a1ab3e3

Browse files
Update IDM schema (#3)
## Description This PR updates the IDM JSON schema by removing deprecated fields and legacy identifiers, pruning required link‐mapping properties, and introducing a new additional_mappings section to better organize record‐type mappings. ## Work item https://app.devrev.ai/devrev/works/ISS-188589
1 parent 245b010 commit a1ab3e3

File tree

1 file changed

+15
-39
lines changed

1 file changed

+15
-39
lines changed

initial_mappings_schema.yaml

Lines changed: 15 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ $defs:
3838
mode:
3939
enum:
4040
- create_shard
41-
- set_existing_shard
4241
type: string
4342
title: airdrop-recipe-create-possible-custom-object-mapping-shard
4443
type: object
@@ -83,7 +82,6 @@ $defs:
8382
existing one.
8483
enum:
8584
- create_shard
86-
- set_existing_shard
8785
type: string
8886
airdrop-recipe-create-possible-record-type-mappings:
8987
properties:
@@ -193,10 +191,7 @@ $defs:
193191
Mapping between DevRev link types and external link types.
194192
type: object
195193
required:
196-
- link_type_names
197194
- reverse_stock_types
198-
- source_types
199-
- target_types
200195
title: airdrop-recipe-make-custom-links
201196
type: object
202197
airdrop-recipe-make-custom-stages:
@@ -463,39 +458,20 @@ $defs:
463458
type: object
464459
$schema: https://json-schema.org/draft/2020-12/schema
465460
properties:
466-
external_system_id:
467-
description: |
468-
The unique ID of the external system to which these mappings apply.
469-
format: text
470-
type: string
471-
external_system_type:
472-
description: Type of the SoR to which these initial mappings apply.
473-
format: text
474-
type: string
475-
import_slug:
476-
description: |
477-
Snap-in slug to which the mappings apply, only populated for ADaaS
478-
external system type.
479-
format: text
480-
type: string
481-
record_type_category_mappings:
482-
additionalProperties:
483-
$ref: '#/$defs/airdrop-recipe-create-possible-record-type-mappings'
484-
description: |
485-
Possible mappings of record type categories to devrev object types.
486-
type: object
487-
record_type_mappings:
488-
additionalProperties:
489-
$ref: '#/$defs/airdrop-recipe-create-possible-record-type-mappings'
490-
description: |
491-
Possible mappings of external record types to devrev object types.
461+
additional_mappings:
462+
properties:
463+
record_type_category_mappings:
464+
additionalProperties:
465+
$ref: '#/$defs/airdrop-recipe-create-possible-record-type-mappings'
466+
description: |
467+
Possible mappings of record type categories to devrev object types.
468+
type: object
469+
record_type_mappings:
470+
additionalProperties:
471+
$ref: '#/$defs/airdrop-recipe-create-possible-record-type-mappings'
472+
description: |
473+
Possible mappings of external record types to devrev object types.
474+
type: object
492475
type: object
493-
snap_in_slug:
494-
description: |
495-
Snap-in slug to which the mappings apply, only populated for ADaaS
496-
external system type.
497-
format: text
498-
type: string
499476
title: airdrop-recipe-initial-domain-mappings-install-request
500-
type: object
501-
477+
type: object

0 commit comments

Comments
 (0)