File size: 2,582 Bytes
7d40d00
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
  "schema_version": "2",
  "name": "Accessibility Audit",
  "runtime": { "default": "client" },
  "references": [
    {
      "id": "ref_screenshot",
      "role": "reference",
      "label": "Screenshot",
      "asset_type": "image",
      "inputs": [{ "id": "in", "label": "Image", "type": "image" }],
      "outputs": [{ "id": "out", "label": "Image", "type": "image" }],
      "x": 80, "y": 200, "width": 220, "height": 122,
      "data": {}
    }
  ],
  "operators": [
    {
      "id": "fn_audit",
      "role": "operator",
      "kind": "fn",
      "fn": "audit_screenshot",
      "label": "audit_screenshot",
      "inputs": [{ "id": "in_image", "label": "image", "type": "image" }],
      "outputs": [{ "id": "out_0", "label": "output", "type": "text" }],
      "x": 380, "y": 200, "width": 220, "height": 100,
      "data": {}
    },
    {
      "id": "fn_prioritise",
      "role": "operator",
      "kind": "fn",
      "fn": "prioritise_issues",
      "label": "prioritise_issues",
      "inputs": [{ "id": "in_audit", "label": "audit", "type": "text" }],
      "outputs": [{ "id": "out_0", "label": "output", "type": "text" }],
      "x": 680, "y": 200, "width": 220, "height": 100,
      "data": {}
    },
    {
      "id": "fn_fixes",
      "role": "operator",
      "kind": "fn",
      "fn": "generate_fixes",
      "label": "generate_fixes",
      "inputs": [{ "id": "in_prioritised", "label": "prioritised", "type": "text" }],
      "outputs": [{ "id": "out_0", "label": "output", "type": "text" }],
      "x": 980, "y": 200, "width": 220, "height": 100,
      "data": {}
    }
  ],
  "subjects": [
    {
      "id": "subj_fixes",
      "role": "subject",
      "label": "Fixes",
      "asset_type": "text",
      "inputs": [{ "id": "in", "label": "Text", "type": "text" }],
      "outputs": [{ "id": "out", "label": "Text", "type": "text" }],
      "x": 1280, "y": 200, "width": 220, "height": 105,
      "data": {}
    }
  ],
  "edges": [
    { "id": "e1", "from_node_id": "ref_screenshot", "from_port_id": "out", "to_node_id": "fn_audit", "to_port_id": "in_image", "type": "image" },
    { "id": "e2", "from_node_id": "fn_audit", "from_port_id": "out_0", "to_node_id": "fn_prioritise", "to_port_id": "in_audit", "type": "text" },
    { "id": "e3", "from_node_id": "fn_prioritise", "from_port_id": "out_0", "to_node_id": "fn_fixes", "to_port_id": "in_prioritised", "type": "text" },
    { "id": "e4", "from_node_id": "fn_fixes", "from_port_id": "out_0", "to_node_id": "subj_fixes", "to_port_id": "in", "type": "text" }
  ],
  "view": { "default": "canvas" }
}