App .yaml File Structure (apply command)

apiVersion: api-management.sensedia.com/v1
kind: App
metadata:
  # Open text description with only example values
  type: production
  owner: engineering
spec:
  # Identifying fields
  name: "My App"
  # Other fields
  description: "string"
  developer: "developer@domain.com"
  status: Approved | Pending | Rejected | Cancelled

App Schema (apply command)

{
  "$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]