content: {
    "$defs": {
      "port": {
        "properties": {
          "name": {
            "description": "The name of the port.",
            "type": "string"
          },
          "value": {
            "description": "The number of port.",
            "type": "integer"
          }
        },
        "required": [
          "name",
          "value"
        ],
        "type": "object"
      }
    },
    "$schema": "https://json-schema.org/schema#",
    "properties": {
      "app": {
        "description": "Application Settings",
        "properties": {
          "environment": {
            "form": true,
            "title": "The label indicating app environment",
            "type": "string"
          },
          "name": {
            "form": true,
            "title": "The name of Deployment on Kubernetes",
            "type": "string"
          },
          "owner": {
            "form": true,
            "title": "The owner name",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "image": {
        "description": "Container Image",
        "form": true,
        "properties": {
          "repository": {
            "form": true,
            "title": "The full address of repository",
            "type": "string"
          },
          "tag": {
            "form": true,
            "title": "The image tag",
            "type": "string"
          }
        },
        "required": [
          "repository",
          "tag"
        ],
        "title": "Image",
        "type": "object"
      },
      "ports": {
        "description": "Container Ports",
        "form": true,
        "items": {
          "$ref": "#/$defs/port"
        },
        "title": "Ports",
        "type": "array"
      },
      "replicaCount": {
        "form": true,
        "minimum": 1,
        "title": "Number of replicas",
        "type": "integer"
      },
      "resources": {
        "description": "Configure resource requests",
        "form": true,
        "properties": {
          "requests": {
            "properties": {
              "cpu": {
                "form": true,
                "render": "slider",
                "sliderMax": 2000,
                "sliderMin": 10,
                "sliderUnit": "m",
                "title": "CPU Request",
                "type": "string"
              },
              "memory": {
                "form": true,
                "render": "slider",
                "sliderMax": 2048,
                "sliderMin": 10,
                "sliderUnit": "Mi",
                "title": "Memory Request",
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "title": "Required Resources",
        "type": "object"
      },
      "service": {
        "description": "Service",
        "form": true,
        "properties": {
          "type": {
            "enum": [
              "ClusterIP",
              "NodePort",
              "LoadBalancer"
            ],
            "form": true,
            "title": "Service Type",
            "type": "string"
          }
        },
        "title": "Service",
        "type": "object"
      }
    },
    "title": "Spring Boot API App",
    "type": "object"
  }