{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instana/json-schema/instana-application-result-schema.json",
  "title": "ApplicationResult",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instana-application-resources-api-openapi.yml#/components/schemas/ApplicationResult",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "Returns a list of Application Perspectives.",
      "items": {
        "$ref": "#/$defs/Application"
      }
    },
    "page": {
      "type": "integer",
      "format": "int32",
      "description": "Page number you want to retrieve in a request / retrieved in a response."
    },
    "pageSize": {
      "type": "integer",
      "format": "int32",
      "description": "number of elements retrieved in a single query."
    },
    "totalHits": {
      "type": "integer",
      "format": "int32",
      "description": "The number of results returned. For eg: If `items` has 5 elements, `totalhits` will be 5"
    }
  },
  "$defs": {
    "Application": {
      "type": "object",
      "description": "Returns a list of Application Perspectives.",
      "properties": {
        "boundaryScope": {
          "type": "string",
          "description": "Here, `ALL` Application Boundary Scope is considered."
        },
        "entityType": {
          "type": "string",
          "description": "Since, this is an Application Perspective, it will be of type `APPLICATION`.",
          "enum": [
            "APPLICATION",
            "SERVICE",
            "ENDPOINT"
          ]
        },
        "id": {
          "type": "string",
          "description": "Unique ID of the Application Perspective. Eg: `Av62RoIKQv-A3n6DbMQh9g`."
        },
        "label": {
          "type": "string",
          "description": "Name of the Application Perspective. Eg: `app1`."
        }
      },
      "required": [
        "boundaryScope",
        "id",
        "label"
      ]
    }
  }
}