Estructura del Archivo .yaml de App (comando apply)

apiVersion: api-management.sensedia.com/v1
kind: App
metadata:
  # Descripción de texto libre que sólo incluye valores de ejemplo
  type: production
  owner: engineering
spec:
  # Campos de identificación
  name: "Mi App"
  # Otros campos
  description: "string"
  developer: "desarollador@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]