Setting the file. One moment.
Schema · Rp Target Wix · wix/skills · Skills Docs
ContentsBack to the top of the page Post
(opens in a new tab)
domains/ schema.json
JSON · 111 lines · 4 KB
"entity"
,
11 "displayName" ,
12 "target" ,
13 "sourceAliases" ,
14 "preferredWrite" ,
15 "reliability" ,
16 "pitfalls" ,
17 "mappingGuidance" ,
18 "evidence"
19 ],
20 "properties" : {
21 "schemaVersion" : { "const" : 1 },
22 "domain" : { "type" : "string" , "minLength" : 1 },
23 "entity" : { "type" : "string" , "minLength" : 1 },
24 "displayName" : { "type" : "string" , "minLength" : 1 },
25 "capability" : {
26 "type" : "string" ,
27 "minLength" : 1 ,
28 "description" : "Business capability this target serves, e.g. \" commerce.catalog-product \" . Source adapters (including WordPress plugin profiles) resolve capabilities to target refs through this field, so one vocabulary serves every source platform."
29 },
30 "target" : {
31 "type" : "object" ,
32 "required" : [ "classification" , "idPolicy" , "crosswalkRequired" ],
33 "properties" : {
34 "classification" : {
35 "enum" : [
36 "native" ,
37 "cms" ,
38 "native-plus-cms" ,
39 "setup-config" ,
40 "skip-by-default" ,
41 "unsupported-native-gap" ,
42 "manual-mapping"
43 ]
44 },
45 "nativeEntity" : { "type" : [ "string" , "null" ] },
46 "verifiedFqdn" : { "type" : [ "string" , "null" ] },
47 "idPolicy" : {
48 "enum" : [ "client-assigned" , "server-assigned" , "natural-key" , "not-applicable" ]
49 },
50 "crosswalkRequired" : { "type" : "boolean" }
51 }
52 },
53 "preferredWrite" : {
54 "type" : "object" ,
55 "required" : [ "surface" , "endpoint" , "writerId" , "verification" , "importSafe" , "bulk" ],
56 "properties" : {
57 "surface" : { "type" : "string" },
58 "endpoint" : { "type" : [ "string" , "null" ] },
59 "writerId" : { "type" : [ "string" , "null" ] },
60 "verification" : {
61 "enum" : [ "verified-live" , "docs" , "source-review" , "internal-only" , "unverified" , "none" ]
62 },
63 "importSafe" : { "type" : "boolean" },
64 "bulk" : { "type" : "boolean" }
65 }
66 },
67 "reliability" : {
68 "type" : "object" ,
69 "required" : [ "status" , "flags" ],
70 "properties" : {
71 "status" : { "enum" : [ "reliable" , "partially-reliable" , "unreliable" , "unknown" ] },
72 "flags" : { "type" : "array" , "items" : { "type" : "string" } }
73 }
74 },
75 "manualSteps" : {
76 "type" : "object" ,
77 "description" : "Required when target.classification is manual-mapping: a runbook to render to the merchant instead of a write." ,
78 "properties" : {
79 "prerequisite" : { "type" : [ "string" , "null" ] },
80 "steps" : {
81 "type" : "array" ,
82 "minItems" : 1 ,
83 "items" : {
84 "type" : "object" ,
85 "required" : [ "actor" , "text" ],
86 "properties" : {
87 "actor" : { "enum" : [ "merchant" , "external" , "wix-automatable" ] },
88 "text" : { "type" : "string" , "minLength" : 1 }
89 }
90 }
91 },
92 "mechanism" : { "type" : "string" },
93 "evidence" : { "type" : "array" }
94 }
95 },
96 "safeModeContactFields" : {
97 "type" : "array" ,
98 "items" : {
99 "type" : "object" ,
100 "required" : [ "kind" , "targetPath" , "source" ],
101 "properties" : {
102 "kind" : { "enum" : [ "email" , "phone" ] },
103 "targetPath" : { "type" : "string" , "minLength" : 1 },
104 "source" : { "type" : "string" , "minLength" : 1 },
105 "notes" : { "type" : "string" }
106 },
107 "additionalProperties" : true
108 }
109 }
110 }
111 }