{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateApplicationRequest",
  "title": "CreateApplicationRequest",
  "type": "object",
  "required": [
    "name",
    "url",
    "appType"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Application name"
    },
    "description": {
      "type": "string",
      "description": "Application description"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Application URL"
    },
    "appType": {
      "type": "string",
      "enum": [
        "SaaS",
        "Web"
      ],
      "description": "Type of application"
    }
  }
}