{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instana/json-schema/instana-api-create-role-schema.json",
  "title": "ApiCreateRole",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instana-roles-api-openapi.yml#/components/schemas/ApiCreateRole",
  "type": "object",
  "properties": {
    "members": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ApiMember"
      },
      "uniqueItems": true
    },
    "name": {
      "type": "string"
    },
    "permissions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 1024,
      "minItems": 0,
      "uniqueItems": true
    }
  },
  "required": [
    "name"
  ],
  "$defs": {
    "ApiMember": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "userId": {
          "type": "string"
        }
      },
      "required": [
        "userId"
      ]
    }
  }
}