{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nmi/json-schema/nmi-scope-types-schema.json",
  "title": "scope-types",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nmi-authentication-api-openapi.yml#/components/schemas/scope-types",
  "oneOf": [
    {
      "type": "string",
      "enum": [
        "*"
      ],
      "description": "Accepts \"*\" to represent all scopes"
    },
    {
      "type": "array",
      "minItems": 1,
      "maxItems": 10,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "packages:read",
          "applications:read",
          "applications:write",
          "subscriptions:read",
          "subscriptions:write"
        ]
      },
      "description": "Accepts an array of specific scopes"
    }
  ]
}