{"openapi":"3.0.3","info":{"title":"Eleva by Accuracy Public API","version":"1.1.0","description":"API pública versionada (OpenAPI 3.0) para integrações parceiras. Live hoje: recursos v1 (`/public` e `/public/{resource}` para courses|users|enrollments|stats|bi_events|dictionary), sink BI mínimo `GET /bi/export` (JSON/CSV para pull em Power BI/Tableau; sem Parquet/S3 nesta versão), e SCIM 2.0 sob `/api/scim/v2/*`. Autenticação: header `x-api-key` **ou** `Authorization: Bearer` com a mesma API key (`acc_…`). SCIM exige escopos `scim` / `scim:read` / `scim:write` (não o legado `read` sozinho). Não há nesta spec catálogo de conectores HRIS nem warehouse BI dedicado — isso é roadmap R1.1. Consumidor interno Accuracy (`npm run ops:openapi-internal-consumer`) não conta como cliente comercial da Onda A. Ver docs/product/eleva-r1-openapi-bi-saml-2026-09.md.","contact":{"name":"Suporte Accuracy","email":"suporte@accuracy.com.br"}},"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api/v1","description":"Produção (paths /public, /bi/export)"}],"tags":[{"name":"Public API","description":"Datasets tenant-scoped via API key (rate limit 60 req/min)."},{"name":"BI","description":"Sink mínimo de eventos de aprendizagem (não é warehouse)."},{"name":"SCIM 2.0","description":"Provisionamento Users/Groups. Base URL efetiva: /api/scim/v2 (servidor sobrescrito por operação)."}],"security":[{"ApiKeyAuth":[]},{"BearerAuth":[]}],"paths":{"/public":{"get":{"tags":["Public API"],"summary":"Endpoint multi-resource","description":"Aponte com `?resource=courses|users|enrollments|stats|bi_events|dictionary`. Retorna paginado (50 default, max 500). Rate limit: 60 req/min por chave. Escopos legados `read`/`all` continuam validos; novas chaves podem usar escopos granulares `public:{resource}:read`. Preferir `/public/{resource}` quando o resource for fixo.","x-eleva-required-scopes":{"courses":["public:courses:read","read","all"],"users":["public:users:read","read","all"],"enrollments":["public:enrollments:read","read","all"],"stats":["public:stats:read","read","all"],"bi_events":["public:bi_events:read","read","all"],"dictionary":["public:dictionary:read","read","all"]},"parameters":[{"name":"resource","in":"query","required":true,"schema":{"type":"string","enum":["courses","users","enrollments","stats","bi_events","dictionary"]},"description":"Tipo de recurso"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1},"description":"Página (1-based)"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"maximum":500},"description":"Itens por página"},{"name":"since","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"description":"Cursor incremental ISO 8601 (resource=bi_events)"},{"name":"courseId","in":"query","required":false,"schema":{"type":"string"},"description":"Filtro (só resource=enrollments)"},{"name":"userId","in":"query","required":false,"schema":{"type":"string"},"description":"Filtro (só resource=enrollments)"},{"name":"status","in":"query","required":false,"schema":{"type":"string"},"description":"Filtro (só resource=enrollments)"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResponse"}}}},"401":{"description":"API key inválida ou expirada"},"403":{"description":"Escopo insuficiente. Use `read`, `all` ou o escopo granular `public:{resource}:read`."},"429":{"description":"Rate limit excedido (60 req/min/key)","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix timestamp ms quando o limite reseta"}}}}}},"/public/{resource}":{"get":{"tags":["Public API"],"summary":"Recurso público v1 por path","description":"Atalho canônico equivalente a `GET /public?resource={resource}`. Resources live: courses, users, enrollments, stats, bi_events, dictionary.","parameters":[{"name":"resource","in":"path","required":true,"schema":{"type":"string","enum":["courses","users","enrollments","stats","bi_events","dictionary"]},"description":"Recurso público v1"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"maximum":500}},{"name":"since","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"description":"Só bi_events"},{"name":"courseId","in":"query","required":false,"schema":{"type":"string"},"description":"Só enrollments"},{"name":"userId","in":"query","required":false,"schema":{"type":"string"},"description":"Só enrollments"},{"name":"status","in":"query","required":false,"schema":{"type":"string"},"description":"Só enrollments"}],"responses":{"200":{"description":"OK — schema depende do resource (Course|User|Enrollment|Stats|BiEvent|Dictionary)","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaginatedResponse"},{"$ref":"#/components/schemas/StatsEnvelope"},{"$ref":"#/components/schemas/DictionaryEnvelope"}]}}}},"400":{"description":"Resource inválido"},"401":{"description":"API key inválida ou expirada"},"403":{"description":"Escopo insuficiente"},"429":{"description":"Rate limit excedido"}}}},"/bi/export":{"get":{"tags":["BI"],"summary":"Export BI mínimo (bi_events)","description":"Sink mínimo R1: export incremental dos mesmos eventos de `resource=bi_events`. `format=json` (default) ou `csv`. Escopo: `public:bi_events:read` ou `all` (legado `read` **não** cobre PII/bi_events). Agendamento/cron de export: **stub** — não há job platform_jobs para este endpoint; o consumidor faz pull com `since`. Webhooks de domínio (`enrollment.*` etc. em /backoffice/.../integrations) são sink de eventos separado, não este export. Power BI/Tableau: pull com format=json ou csv (Web.Contents + x-api-key). Sem Parquet, sem dump S3 e sem gateway dedicado nesta versão.","x-eleva-required-scopes":["public:bi_events:read","all"],"x-eleva-schedule":{"status":"stub","detail":"Pull-only; sem scheduler Eleva para /bi/export nesta versão."},"parameters":[{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","csv"],"default":"json"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"description":"Cursor incremental ISO 8601"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":500,"maximum":5000}}],"responses":{"200":{"description":"JSON envelope ou CSV attachment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiExportJson"}},"text/csv":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"API key inválida ou expirada"},"403":{"description":"Escopo insuficiente (`public:bi_events:read`)"},"429":{"description":"Rate limit excedido"}}}},"/scim/v2/ServiceProviderConfig":{"get":{"tags":["SCIM 2.0"],"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api","description":"Produção"}],"summary":"SCIM 2.0 — Service Provider Config","description":"Overview SCIM: informa capacidades suportadas. Bulk habilitado para Users e Groups (POST/PATCH/DELETE) com limite de 20 operações e 1 MB por requisição. Auth: mesma API key com escopos scim/scim:read.","responses":{"200":{"description":"Configuração SCIM","content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimServiceProviderConfig"}}}},"401":{"description":"API key inválida ou expirada"},"403":{"description":"Escopo insuficiente"}}}},"/scim/v2/Bulk":{"post":{"tags":["SCIM 2.0"],"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api","description":"Produção"}],"summary":"SCIM 2.0 — Bulk","description":"Executa lote SCIM com `POST /Users`, `GET/PATCH/DELETE /Users/{id}`, `POST /Groups`, `PATCH/DELETE /Groups/{id}`. Limites: 20 operacoes e 1 MB de payload. DELETE Group com membros retorna 409.","requestBody":{"required":true,"content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimBulkRequest"}}}},"responses":{"200":{"description":"BulkResponse com status por operacao","content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimBulkResponse"}}}},"400":{"description":"BulkRequest invalido ou operacao nao suportada"},"401":{"description":"API key inválida ou expirada"},"403":{"description":"Escopo insuficiente"},"413":{"description":"Limite de operacoes ou payload excedido"}}}},"/scim/v2/ResourceTypes":{"get":{"tags":["SCIM 2.0"],"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api","description":"Produção"}],"summary":"SCIM 2.0 — Lista ResourceTypes","responses":{"200":{"description":"ResourceTypes SCIM","content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimListResponse"}}}},"401":{"description":"API key inválida ou expirada"}}}},"/scim/v2/ResourceTypes/{id}":{"get":{"tags":["SCIM 2.0"],"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api","description":"Produção"}],"summary":"SCIM 2.0 — Obtém ResourceType","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","enum":["User","Group"]}}],"responses":{"200":{"description":"ResourceType SCIM","content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimResourceType"}}}},"404":{"description":"ResourceType não encontrado"}}}},"/scim/v2/Schemas":{"get":{"tags":["SCIM 2.0"],"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api","description":"Produção"}],"summary":"SCIM 2.0 — Lista Schemas","responses":{"200":{"description":"Schemas SCIM","content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimListResponse"}}}},"401":{"description":"API key inválida ou expirada"}}}},"/scim/v2/Schemas/{id}":{"get":{"tags":["SCIM 2.0"],"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api","description":"Produção"}],"summary":"SCIM 2.0 — Obtém Schema","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Schema SCIM","content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimSchema"}}}},"404":{"description":"Schema não encontrado"}}}},"/scim/v2/Groups":{"get":{"tags":["SCIM 2.0"],"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api","description":"Produção"}],"summary":"SCIM 2.0 — Lista grupos","description":"Lista departamentos do tenant como SCIM Groups. Suporta `filter=displayName eq \"Departamento\"`, `startIndex` e `count`.","parameters":[{"name":"filter","in":"query","required":false,"schema":{"type":"string"},"description":"Filtro SCIM suportado: displayName eq \"Departamento\""},{"name":"startIndex","in":"query","required":false,"schema":{"type":"integer","default":1},"description":"Índice inicial 1-based"},{"name":"count","in":"query","required":false,"schema":{"type":"integer","default":100,"maximum":500},"description":"Itens por página"}],"responses":{"200":{"description":"ListResponse SCIM","content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimListResponse"}}}},"401":{"description":"API key inválida ou expirada"},"403":{"description":"Escopo insuficiente"}}},"post":{"tags":["SCIM 2.0"],"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api","description":"Produção"}],"summary":"SCIM 2.0 — Cria grupo","description":"Cria departamento no tenant (`displayName` único). Membros opcionais via `members[].value`. Duplicata → 409 uniqueness.","requestBody":{"required":true,"content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimCreateGroup"}}}},"responses":{"201":{"description":"Grupo criado","content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimGroup"}}}},"401":{"description":"API key inválida ou expirada"},"403":{"description":"Escopo insuficiente"},"409":{"description":"displayName já existe no tenant"}}}},"/scim/v2/Users":{"get":{"tags":["SCIM 2.0"],"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api","description":"Produção"}],"summary":"SCIM 2.0 — Lista usuários","description":"Lista usuários do tenant da API key. Suporta `filter=userName eq \"email\"`, `startIndex` e `count`.","parameters":[{"name":"filter","in":"query","required":false,"schema":{"type":"string"},"description":"Filtro SCIM suportado: userName eq \"email\""},{"name":"startIndex","in":"query","required":false,"schema":{"type":"integer","default":1},"description":"Índice inicial 1-based"},{"name":"count","in":"query","required":false,"schema":{"type":"integer","default":100,"maximum":500},"description":"Itens por página"}],"responses":{"200":{"description":"ListResponse SCIM","content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimListResponse"}}}},"401":{"description":"API key inválida ou expirada"},"403":{"description":"Escopo insuficiente"}}},"post":{"tags":["SCIM 2.0"],"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api","description":"Produção"}],"summary":"SCIM 2.0 — Cria usuário","description":"Provisiona usuário student no tenant da API key e vincula user_tenants.","requestBody":{"required":true,"content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimCreateUser"}}}},"responses":{"201":{"description":"Usuário criado","content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimUser"}}}},"401":{"description":"API key inválida ou expirada"},"403":{"description":"Escopo insuficiente"},"409":{"description":"Usuário já existe no tenant"}}}},"/scim/v2/Users/{id}":{"get":{"tags":["SCIM 2.0"],"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api","description":"Produção"}],"summary":"SCIM 2.0 — Obtém usuário","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Usuário SCIM","content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimUser"}}}},"404":{"description":"Usuário não encontrado"}}},"patch":{"tags":["SCIM 2.0"],"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api","description":"Produção"}],"summary":"SCIM 2.0 — Atualiza usuário","description":"Suporta Replace de active, displayName e name/formatted.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimPatchRequest"}}}},"responses":{"200":{"description":"Usuário atualizado","content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimUser"}}}},"404":{"description":"Usuário não encontrado"}}},"delete":{"tags":["SCIM 2.0"],"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api","description":"Produção"}],"summary":"SCIM 2.0 — Desativa usuário","description":"Remove o acesso ativo do usuário ao tenant da API key. Se o tenant for o tenant primário, também desativa o usuário.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"Usuário desativado"},"404":{"description":"Usuário não encontrado"}}}},"/scim/v2/Groups/{id}":{"get":{"tags":["SCIM 2.0"],"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api","description":"Produção"}],"summary":"SCIM 2.0 — Obtém grupo","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Grupo SCIM","content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimGroup"}}}},"404":{"description":"Grupo não encontrado"}}},"patch":{"tags":["SCIM 2.0"],"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api","description":"Produção"}],"summary":"SCIM 2.0 — PATCH members do grupo","description":"Operations add/remove/replace em `members` → `users.department_id`.","responses":{"200":{"description":"Grupo atualizado","content":{"application/scim+json":{"schema":{"$ref":"#/components/schemas/ScimGroup"}}}},"400":{"description":"Operação ou path inválido"},"404":{"description":"Grupo ou membro não encontrado"}}},"delete":{"tags":["SCIM 2.0"],"servers":[{"url":"https://hml-eleva-aws.accuracy.com.br/api","description":"Produção"}],"summary":"SCIM 2.0 — Remove grupo","description":"Apaga departamento vazio. Se houver membros, retorna 409 (sem force no contrato).","responses":{"204":{"description":"Grupo removido"},"404":{"description":"Grupo não encontrado"},"409":{"description":"Grupo possui membros; remova via PATCH antes"}}}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key no formato `acc_xxx...`. Gere em /backoffice/[slug]/integrations. Escopos publicos granulares: `public:courses:read`, `public:users:read`, `public:enrollments:read`, `public:stats:read`, `public:bi_events:read`, `public:dictionary:read`. SCIM: `scim`, `scim:read`, `scim:write`. Escopos legados `read` e `all` seguem aceitos por compatibilidade (`read` não cobre PII nem SCIM)."},"BearerAuth":{"type":"http","scheme":"bearer","description":"Mesma API key via `Authorization: Bearer acc_xxx...` (equivalente a x-api-key). Preferido por clientes que só falam Bearer."}},"schemas":{"PaginatedResponse":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object"}},"pagination":{"type":"object","properties":{"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"pages":{"type":"integer"}}}}},"StatsEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Stats"}}},"DictionaryEnvelope":{"type":"object","properties":{"data":{"type":"object"}}},"BiEvent":{"type":"object","properties":{"event_id":{"type":"string","format":"uuid"},"event_type":{"type":"string","enum":["enrollment_created","course_started","course_completed"]},"occurred_at":{"type":"string","format":"date-time"},"tenant_id":{"type":"string","format":"uuid"},"user_id":{"type":"string","format":"uuid"},"user_name":{"type":"string","nullable":true},"user_email":{"type":"string","format":"email","nullable":true},"course_id":{"type":"string","format":"uuid"},"course_title":{"type":"string","nullable":true},"enrollment_status":{"type":"string"},"progress":{"type":"integer"},"score":{"type":"number","nullable":true},"source":{"type":"string","enum":["eleva"]}}},"BiExportJson":{"type":"object","properties":{"dataset":{"type":"string","enum":["bi_events"]},"format":{"type":"string","enum":["json"]},"since":{"type":"string","format":"date-time","nullable":true},"next_cursor":{"type":"string","format":"date-time","nullable":true},"row_count":{"type":"integer"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BiEvent"}},"docs":{"type":"string"}}},"Course":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string"},"description":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"is_published":{"type":"boolean"},"scorm_version":{"type":"string","enum":["1.2","2004"],"nullable":true},"content_type":{"type":"string","enum":["scorm","native","video","live"]},"duration_minutes":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"}}},"User":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"email":{"type":"string","format":"email"},"name":{"type":"string"},"role":{"type":"string","enum":["student","tenant_admin","accuracy_admin"]},"is_active":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"}}},"Enrollment":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"user_id":{"type":"string","format":"uuid"},"user_name":{"type":"string"},"user_email":{"type":"string","format":"email"},"course_id":{"type":"string","format":"uuid"},"course_title":{"type":"string"},"status":{"type":"string","enum":["not_started","in_progress","completed","failed"]},"progress":{"type":"integer","minimum":0,"maximum":100},"score":{"type":"number","nullable":true},"started_at":{"type":"string","format":"date-time","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true}}},"Stats":{"type":"object","properties":{"total_users":{"type":"integer"},"total_courses":{"type":"integer"},"total_enrollments":{"type":"integer"},"completed_enrollments":{"type":"integer"},"completion_rate":{"type":"integer","description":"Percentual 0-100"}}},"ScimCreateUser":{"type":"object","required":["userName"],"properties":{"schemas":{"type":"array","items":{"type":"string"}},"userName":{"type":"string","format":"email"},"active":{"type":"boolean","default":true},"displayName":{"type":"string"},"externalId":{"type":"string"},"name":{"type":"object","properties":{"formatted":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"}}},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","format":"email"},"primary":{"type":"boolean"}}}}}},"ScimCreateGroup":{"type":"object","required":["displayName"],"properties":{"schemas":{"type":"array","items":{"type":"string"}},"displayName":{"type":"string"},"externalId":{"type":"string"},"members":{"type":"array","items":{"oneOf":[{"type":"string","format":"uuid"},{"type":"object","required":["value"],"properties":{"value":{"type":"string","format":"uuid"},"display":{"type":"string"},"$ref":{"type":"string"}}}]}}}},"ScimPatchRequest":{"type":"object","required":["Operations"],"properties":{"schemas":{"type":"array","items":{"type":"string"}},"Operations":{"type":"array","items":{"type":"object","required":["op"],"properties":{"op":{"type":"string","enum":["Replace"]},"path":{"type":"string","enum":["active","displayName","name","name.formatted"]},"value":{}}}}}},"ScimBulkOperation":{"type":"object","required":["method","path"],"properties":{"method":{"type":"string","enum":["POST","GET","PATCH","DELETE"]},"path":{"type":"string","example":"/Users/2819c223-7f76-453a-919d-413861904646"},"bulkId":{"type":"string"},"data":{"oneOf":[{"$ref":"#/components/schemas/ScimCreateUser"},{"$ref":"#/components/schemas/ScimCreateGroup"},{"$ref":"#/components/schemas/ScimPatchRequest"}]}}},"ScimBulkRequest":{"type":"object","required":["Operations"],"properties":{"schemas":{"type":"array","items":{"type":"string"},"example":["urn:ietf:params:scim:api:messages:2.0:BulkRequest"]},"failOnErrors":{"type":"integer","minimum":1},"Operations":{"type":"array","maxItems":20,"items":{"$ref":"#/components/schemas/ScimBulkOperation"}}}},"ScimBulkResponse":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"},"example":["urn:ietf:params:scim:api:messages:2.0:BulkResponse"]},"Operations":{"type":"array","items":{"type":"object","properties":{"method":{"type":"string"},"status":{"type":"string"},"location":{"type":"string"},"bulkId":{"type":"string"},"response":{"type":"object"}}}}}},"ScimUser":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"}},"id":{"type":"string","format":"uuid"},"userName":{"type":"string","format":"email"},"active":{"type":"boolean"},"displayName":{"type":"string"},"name":{"type":"object"},"emails":{"type":"array","items":{"type":"object"}},"roles":{"type":"array","items":{"type":"object"}},"meta":{"type":"object"}}},"ScimGroup":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"}},"id":{"type":"string","format":"uuid"},"displayName":{"type":"string"},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","format":"uuid"},"display":{"type":"string"},"$ref":{"type":"string"}}}},"meta":{"type":"object"}}},"ScimResourceType":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"}},"id":{"type":"string","enum":["User","Group"]},"name":{"type":"string"},"endpoint":{"type":"string"},"description":{"type":"string"},"schema":{"type":"string"},"schemaExtensions":{"type":"array","items":{"type":"object"}},"meta":{"type":"object"}}},"ScimSchema":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"}},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"attributes":{"type":"array","items":{"type":"object"}},"meta":{"type":"object"}}},"ScimServiceProviderConfig":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"}},"documentationUri":{"type":"string"},"patch":{"type":"object"},"bulk":{"type":"object"},"filter":{"type":"object"},"changePassword":{"type":"object"},"sort":{"type":"object"},"etag":{"type":"object"},"authenticationSchemes":{"type":"array","items":{"type":"object"}}}},"ScimListResponse":{"type":"object","properties":{"schemas":{"type":"array","items":{"type":"string"}},"totalResults":{"type":"integer"},"startIndex":{"type":"integer"},"itemsPerPage":{"type":"integer"},"Resources":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ScimUser"},{"$ref":"#/components/schemas/ScimGroup"},{"$ref":"#/components/schemas/ScimResourceType"},{"$ref":"#/components/schemas/ScimSchema"}]}}}}}}}