{
  "id": "00000000-0000-0000-0000-000000000000",
  "name": "API Architecture",
  "schemaVersion": "designs.meshery.io/v1beta3",
  "version": "0.0.1",
  "components": [
    {
      "id": "ba080be9-f965-43e3-85ae-762309968693",
      "schemaVersion": "components.meshery.io/v1beta2",
      "version": "v1.0.0",
      "displayName": "deployment-og",
      "description": "",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.37.0-rc.1"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-image": "none",
        "background-opacity": 0.5,
        "body-text": "",
        "body-text-color": "#808080",
        "body-text-font-family": "Qanelas Soft",
        "body-text-font-size": 12,
        "body-text-font-weight": "400",
        "body-text-horizontal-align": "center",
        "body-text-text-decoration": "none",
        "body-text-vertical-align": "center",
        "border-width": 2,
        "height": 24,
        "opacity": 1,
        "padding": 6,
        "position": {
          "x": 482.7219633383094,
          "y": -1568.8247416164086
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/deployment-color.svg",
        "svgComplete": "ui/public/static/img/meshmodels/kubernetes/complete/deployment-complete.svg",
        "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/deployment-white.svg",
        "width": 24,
        "z-index": 3
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false,
        "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3"
      },
      "configuration": {
        "metadata": {},
        "spec": {}
      },
      "component": {
        "version": "apps/v1",
        "kind": "Deployment",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "02bd3447-7f32-4396-af19-ac446d5fde67",
      "schemaVersion": "",
      "version": "",
      "displayName": "default",
      "description": "",
      "format": "",
      "model": null,
      "modelReference": {
        "displayName": "",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": ""
        },
        "name": "kubernetes",
        "registrant": {
          "kind": ""
        },
        "version": ""
      },
      "styles": {
        "background-image": "none",
        "background-opacity": 0.5,
        "border-style": "dashed",
        "border-width": 2,
        "position": {
          "x": 373.18122039455784,
          "y": -1582.814022590346
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "rectangle",
        "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/namespace-color.svg",
        "svgComplete": "ui/public/static/img/meshmodels/kubernetes/complete/namespace-complete.svg",
        "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/namespace-white.svg"
      },
      "capabilities": null,
      "status": null,
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": false,
        "published": false
      },
      "configuration": {},
      "component": {
        "version": "",
        "kind": "Namespace",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "2bfeddbe-7b06-4fb5-aed9-455d06cad2e7",
      "schemaVersion": "components.meshery.io/v1beta2",
      "version": "v1.0.0",
      "displayName": "api-service-ka",
      "description": "",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.37.0-rc.1"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 1,
        "body-text": "",
        "body-text-color": "#808080",
        "body-text-font-family": "Qanelas Soft",
        "body-text-font-size": 12,
        "body-text-font-weight": "400",
        "body-text-horizontal-align": "center",
        "body-text-text-decoration": "none",
        "body-text-vertical-align": "center",
        "border-width": 0,
        "height": 23,
        "opacity": 1,
        "padding": 6,
        "position": {
          "x": 410.5602325711572,
          "y": -1742.3001439538589
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "triangle",
        "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/apiservice-color.svg",
        "svgComplete": "",
        "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/apiservice-white.svg",
        "width": 23,
        "x": 7,
        "y": 14,
        "z-index": 4
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": false,
        "published": false,
        "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3"
      },
      "configuration": {},
      "component": {
        "version": "apiregistration.k8s.io/v1",
        "kind": "APIService",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    }
  ],
  "relationships": [
    {
      "id": "38b51406-0ad6-5694-a779-2412ebd0bb8b",
      "evaluationQuery": "",
      "kind": "edge",
      "metadata": {
        "description": "",
        "isAnnotation": false,
        "styles": {
          "primaryColor": "",
          "svgColor": "",
          "svgWhite": ""
        }
      },
      "model": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.37.0-rc.1"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "schemaVersion": "relationships.meshery.io/v1beta2",
      "selectors": [
        {
          "allow": {
            "from": [
              {
                "id": "2bfeddbe-7b06-4fb5-aed9-455d06cad2e7",
                "kind": "Service",
                "match": {},
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "kubernetes",
                  "registrant": {
                    "kind": "github"
                  },
                  "version": ""
                },
                "patch": {
                  "mutatorRef": [
                    [
                      "configuration",
                      "spec",
                      "selector"
                    ],
                    [
                      "configuration",
                      "spec",
                      "ports",
                      "0",
                      "targetPort"
                    ],
                    [
                      "configuration",
                      "spec",
                      "ports",
                      "0",
                      "protocol"
                    ]
                  ],
                  "patchStrategy": "replace"
                }
              }
            ],
            "to": [
              {
                "id": "ba080be9-f965-43e3-85ae-762309968693",
                "kind": "Deployment",
                "match": {},
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "kubernetes",
                  "registrant": {
                    "kind": "github"
                  },
                  "version": ""
                },
                "patch": {
                  "mutatedRef": [
                    [
                      "configuration",
                      "spec",
                      "selector",
                      "matchLabels"
                    ],
                    [
                      "configuration",
                      "spec",
                      "template",
                      "spec",
                      "containers",
                      "0",
                      "ports",
                      "0",
                      "containerPort"
                    ],
                    [
                      "configuration",
                      "spec",
                      "template",
                      "spec",
                      "containers",
                      "0",
                      "ports",
                      "0",
                      "protocol"
                    ]
                  ],
                  "patchStrategy": "replace"
                }
              }
            ]
          }
        }
      ],
      "subType": "network",
      "status": "approved",
      "type": "non-binding",
      "version": "v1.0.0"
    },
    {
      "id": "fd693696-2b13-568b-9930-295fd8c5179e",
      "evaluationQuery": "",
      "kind": "edge",
      "metadata": {
        "description": "",
        "isAnnotation": false,
        "styles": {
          "primaryColor": "",
          "svgColor": "",
          "svgWhite": ""
        }
      },
      "model": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.37.0-rc.1"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "schemaVersion": "relationships.meshery.io/v1beta2",
      "selectors": [
        {
          "allow": {
            "from": [
              {
                "id": "2bfeddbe-7b06-4fb5-aed9-455d06cad2e7",
                "kind": "Service",
                "match": {},
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "kubernetes",
                  "registrant": {
                    "kind": "github"
                  },
                  "version": ""
                },
                "patch": {
                  "mutatorRef": [
                    [
                      "configuration",
                      "spec",
                      "selector"
                    ],
                    [
                      "configuration",
                      "spec",
                      "ports",
                      "0",
                      "targetPort"
                    ],
                    [
                      "configuration",
                      "spec",
                      "ports",
                      "0",
                      "protocol"
                    ]
                  ],
                  "patchStrategy": "replace"
                }
              }
            ],
            "to": [
              {
                "id": "ba080be9-f965-43e3-85ae-762309968693",
                "kind": "Deployment",
                "match": {},
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "kubernetes",
                  "registrant": {
                    "kind": "github"
                  },
                  "version": ""
                },
                "patch": {
                  "mutatedRef": [
                    [
                      "configuration",
                      "spec",
                      "selector",
                      "matchLabels"
                    ],
                    [
                      "configuration",
                      "spec",
                      "template",
                      "spec",
                      "containers",
                      "0",
                      "ports",
                      "0",
                      "name"
                    ],
                    [
                      "configuration",
                      "spec",
                      "template",
                      "spec",
                      "containers",
                      "0",
                      "ports",
                      "0",
                      "protocol"
                    ]
                  ],
                  "patchStrategy": "replace"
                }
              }
            ]
          }
        }
      ],
      "subType": "network",
      "status": "approved",
      "type": "non-binding",
      "version": "v1.0.0"
    }
  ]
}