Estrutura do Arquivo .yaml de ApiEnvironmentLink (comando delete)

apiVersion: api-management.sensedia.com/v1
kind: ApiEnvironmentLink
metadata:
  # Descrição de texto aberto apenas com valores de exemplo
  type: production
  owner: engineering
spec:
  # Campos de identificação
  apiRef:
     name: "Open Banking API"
     version: "1.0.0"
  environmentRef:
     name: "Production"
{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "$id": "https://sensedia.com/cli/api-management/apienvironmentlink/delete",
  "type": "object",
  "properties": {
    "apiVersion": {
      "type": "string",
      "enum": [
        "api-management.sensedia.com/v1"
      ]
    },
    "kind": {
      "type": "string",
      "enum": [
        "ApiEnvironmentLink"
      ]
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "spec": {
      "additionalProperties": true,
      "type": "object",
      "required": [
        "apiRef",
        "environmentRef"
      ],
      "properties": {
        "apiRef": {
          "$ref": "#/$defs/apiRef"
        },
        "environmentRef": {
          "$ref": "#/$defs/namedRef"
        }
      }
    }
  },
  "required": [
    "apiVersion",
    "kind",
    "spec"
  ],
  "$defs": {
    "namedRef": {
      "additionalProperties": true,
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        }
      },
      "required": [
        "name"
      ]
    },
    "apiRef": {
      "additionalProperties": true,
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "version"
      ]
    }
  }
}
Thanks for your feedback!
EDIT
How useful was this article to you?