{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Application",
  "title": "Application",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Application name",
      "example": "Example Title"
    },
    "status": {
      "type": "string",
      "enum": [
        "started",
        "stopped",
        "unknown"
      ],
      "description": "Current application status",
      "example": "started"
    },
    "contextRoot": {
      "type": "string",
      "description": "Context root for web modules",
      "example": "example_value"
    },
    "targetServer": {
      "type": "string",
      "description": "Target server or cluster",
      "example": "example_value"
    },
    "deployedModules": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "web",
              "ejb",
              "connector"
            ]
          },
          "uri": {
            "type": "string"
          }
        }
      },
      "example": []
    },
    "lastModified": {
      "type": "string",
      "format": "date-time",
      "description": "Last modification timestamp",
      "example": "2026-01-15T10:30:00Z"
    }
  }
}