Estrutura do Arquivo .yaml de App (comando apply)

apiVersion: api-management.sensedia.com/v1
kind: App
metadata:
  # Descrição de texto aberto apenas com valores de exemplo
  type: production
  owner: engineering
spec:
  # Campos de identificação
  name: "Minha App"
  # Outros campos
  description: "string"
  developer: "desenvolvedor@dominio.com"
  status: Approved | Pending | Rejected | Cancelled

Schema de App (comando apply)

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "$id": "https://sensedia.com/cli/api-management/app",
  "comment": "App Schema",
  "type": "object",
  "properties": {
    "apiVersion": {
      "type": "string",
      "enum": [
        "api-management.sensedia.com/v1"
      ]
    },
    "kind": {
      "type": "string",
      "enum": [
        "App"
      ]
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "spec": {
      "additionalProperties": false,
      "type": "object",
      "required": [
        "name",
        "description",
        "developer",
        "status"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "developer": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": ["Approved", "Pending", "Rejected", "Cancelled"]
        }
      }
    }
  },
  "required": [
    "apiVersion",
    "kind",
    "spec"
  ]
}
Thanks for your feedback!
EDIT

Share your suggestions with us!
Click here and then [+ Submit idea]