{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grepr/json-schema/grepr-app-key-scope-check-schema.json",
  "title": "AppKeyScopeCheck",
  "description": "Whether a Datadog application key holds one authorization scope",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/grepr-datadog-integration-api-openapi.yml#/components/schemas/AppKeyScopeCheck",
  "properties": {
    "required": {
      "description": "Whether Grepr rejects an application key without this scope",
      "type": "boolean"
    },
    "scope": {
      "description": "The Datadog authorization scope identifier",
      "type": "string"
    },
    "status": {
      "description": "Whether the application key was found to hold a scope, or could not be checked",
      "enum": [
        "GRANTED",
        "DENIED",
        "UNKNOWN"
      ],
      "type": "string"
    }
  },
  "type": "object"
}