{
  "schemaVersion": 1,
  "id": "dev.renzu.example.argocd",
  "version": "0.1.0",
  "title": {
    "de": "Argo-CD-Einstieg",
    "en": "Argo CD entry point"
  },
  "description": {
    "de": "Eigene GitOps-Menüeinträge mit direkten Links zu freigegebenen Argo-CD-Ressourcen.",
    "en": "Custom GitOps menu entries and links to approved Argo CD resources."
  },
  "permissions": [
    {
      "capability": "resources.metadata.read",
      "resources": [
        "crd:argoproj.io:v1alpha1:Application:applications:ns",
        "crd:argoproj.io:v1alpha1:ApplicationSet:applicationsets:ns",
        "crd:argoproj.io:v1alpha1:AppProject:appprojects:ns"
      ]
    }
  ],
  "queries": [
    {
      "id": "applications",
      "resource": "crd:argoproj.io:v1alpha1:Application:applications:ns"
    },
    {
      "id": "applicationsets",
      "resource": "crd:argoproj.io:v1alpha1:ApplicationSet:applicationsets:ns"
    },
    {
      "id": "appprojects",
      "resource": "crd:argoproj.io:v1alpha1:AppProject:appprojects:ns"
    }
  ],
  "views": [
    {
      "id": "applications",
      "title": {
        "de": "Applications",
        "en": "Applications"
      },
      "icon": "layers",
      "navigation": {
        "label": {
          "de": "GitOps · Applications",
          "en": "GitOps · Applications"
        },
        "order": 40
      },
      "widgets": [
        {
          "type": "metric",
          "title": {
            "de": "Applications",
            "en": "Applications"
          },
          "query": "applications"
        },
        {
          "type": "resource-grid",
          "title": {
            "de": "Im Explorer öffnen",
            "en": "Open in explorer"
          },
          "query": "applications"
        }
      ]
    },
    {
      "id": "applicationsets",
      "title": {
        "de": "ApplicationSets",
        "en": "ApplicationSets"
      },
      "icon": "layers",
      "navigation": {
        "label": {
          "de": "GitOps · ApplicationSets",
          "en": "GitOps · ApplicationSets"
        },
        "order": 41
      },
      "widgets": [
        {
          "type": "metric",
          "title": {
            "de": "ApplicationSets",
            "en": "ApplicationSets"
          },
          "query": "applicationsets"
        },
        {
          "type": "resource-grid",
          "title": {
            "de": "Im Explorer öffnen",
            "en": "Open in explorer"
          },
          "query": "applicationsets"
        }
      ]
    },
    {
      "id": "appprojects",
      "title": {
        "de": "Projects",
        "en": "Projects"
      },
      "icon": "layers",
      "navigation": {
        "label": {
          "de": "GitOps · Projects",
          "en": "GitOps · Projects"
        },
        "order": 42
      },
      "widgets": [
        {
          "type": "metric",
          "title": {
            "de": "Projects",
            "en": "Projects"
          },
          "query": "appprojects"
        },
        {
          "type": "resource-grid",
          "title": {
            "de": "Im Explorer öffnen",
            "en": "Open in explorer"
          },
          "query": "appprojects"
        }
      ]
    }
  ]
}
