Last active
June 29, 2023 13:56
-
-
Save jirutka/233fd1361aa24e7afc385f2851e0650f to your computer and use it in GitHub Desktop.
JSON Schema for Keycloak 21.0.0 extracted from https://github.com/dahag-ag/keycloak-openapi/blob/main/OpenApiDefinitions/keycloak-21.0.0.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"realm": { | |
"type": "string" | |
}, | |
"displayName": { | |
"type": "string" | |
}, | |
"displayNameHtml": { | |
"type": "string" | |
}, | |
"users": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/UserRepresentation" | |
} | |
}, | |
"applications": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ApplicationRepresentation" | |
} | |
}, | |
"clients": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ClientRepresentation" | |
} | |
}, | |
"enabled": { | |
"type": "boolean" | |
}, | |
"sslRequired": { | |
"type": "string" | |
}, | |
"defaultSignatureAlgorithm": { | |
"type": "string" | |
}, | |
"revokeRefreshToken": { | |
"type": "boolean" | |
}, | |
"refreshTokenMaxReuse": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"accessTokenLifespan": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"accessTokenLifespanForImplicitFlow": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"ssoSessionIdleTimeout": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"ssoSessionMaxLifespan": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"ssoSessionMaxLifespanRememberMe": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"ssoSessionIdleTimeoutRememberMe": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"offlineSessionIdleTimeout": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"offlineSessionMaxLifespanEnabled": { | |
"type": "boolean" | |
}, | |
"offlineSessionMaxLifespan": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"clientSessionIdleTimeout": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"clientSessionMaxLifespan": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"clientOfflineSessionIdleTimeout": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"clientOfflineSessionMaxLifespan": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"scopeMappings": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ScopeMappingRepresentation" | |
} | |
}, | |
"requiredCredentials": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"passwordPolicy": { | |
"type": "string" | |
}, | |
"accessCodeLifespan": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"accessCodeLifespanUserAction": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"accessCodeLifespanLogin": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"actionTokenGeneratedByAdminLifespan": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"oAuth2DeviceCodeLifespan": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"oAuth2DevicePollingInterval": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"actionTokenGeneratedByUserLifespan": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"defaultRoles": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"defaultRole": { | |
"$ref": "#/$defs/RoleRepresentation" | |
}, | |
"defaultGroups": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"privateKey": { | |
"type": "string" | |
}, | |
"publicKey": { | |
"type": "string" | |
}, | |
"certificate": { | |
"type": "string" | |
}, | |
"codeSecret": { | |
"type": "string" | |
}, | |
"passwordCredentialGrantAllowed": { | |
"type": "boolean" | |
}, | |
"registrationAllowed": { | |
"type": "boolean" | |
}, | |
"registrationEmailAsUsername": { | |
"type": "boolean" | |
}, | |
"rememberMe": { | |
"type": "boolean" | |
}, | |
"verifyEmail": { | |
"type": "boolean" | |
}, | |
"loginWithEmailAllowed": { | |
"type": "boolean" | |
}, | |
"duplicateEmailsAllowed": { | |
"type": "boolean" | |
}, | |
"resetPasswordAllowed": { | |
"type": "boolean" | |
}, | |
"editUsernameAllowed": { | |
"type": "boolean" | |
}, | |
"social": { | |
"type": "boolean" | |
}, | |
"updateProfileOnInitialSocialLogin": { | |
"type": "boolean" | |
}, | |
"browserSecurityHeaders": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
}, | |
"socialProviders": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
}, | |
"smtpServer": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
}, | |
"oauthClients": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/OAuthClientRepresentation" | |
} | |
}, | |
"clientScopeMappings": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ScopeMappingRepresentation" | |
} | |
} | |
}, | |
"applicationScopeMappings": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ScopeMappingRepresentation" | |
} | |
} | |
}, | |
"roles": { | |
"$ref": "#/$defs/RolesRepresentation" | |
}, | |
"loginTheme": { | |
"type": "string" | |
}, | |
"accountTheme": { | |
"type": "string" | |
}, | |
"adminTheme": { | |
"type": "string" | |
}, | |
"emailTheme": { | |
"type": "string" | |
}, | |
"notBefore": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"bruteForceProtected": { | |
"type": "boolean" | |
}, | |
"permanentLockout": { | |
"type": "boolean" | |
}, | |
"maxFailureWaitSeconds": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"minimumQuickLoginWaitSeconds": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"waitIncrementSeconds": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"quickLoginCheckMilliSeconds": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"maxDeltaTimeSeconds": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"failureFactor": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"eventsEnabled": { | |
"type": "boolean" | |
}, | |
"eventsExpiration": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"eventsListeners": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"enabledEventTypes": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"adminEventsEnabled": { | |
"type": "boolean" | |
}, | |
"adminEventsDetailsEnabled": { | |
"type": "boolean" | |
}, | |
"userFederationProviders": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/UserFederationProviderRepresentation" | |
} | |
}, | |
"userFederationMappers": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/UserFederationMapperRepresentation" | |
} | |
}, | |
"identityProviders": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/IdentityProviderRepresentation" | |
} | |
}, | |
"protocolMappers": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ProtocolMapperRepresentation" | |
} | |
}, | |
"internationalizationEnabled": { | |
"type": "boolean" | |
}, | |
"supportedLocales": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"defaultLocale": { | |
"type": "string" | |
}, | |
"identityProviderMappers": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/IdentityProviderMapperRepresentation" | |
} | |
}, | |
"authenticationFlows": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/AuthenticationFlowRepresentation" | |
} | |
}, | |
"authenticatorConfig": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/AuthenticatorConfigRepresentation" | |
} | |
}, | |
"requiredActions": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/RequiredActionProviderRepresentation" | |
} | |
}, | |
"otpPolicyType": { | |
"type": "string" | |
}, | |
"otpPolicyAlgorithm": { | |
"type": "string" | |
}, | |
"otpPolicyInitialCounter": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"otpPolicyDigits": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"otpPolicyLookAheadWindow": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"otpPolicyPeriod": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"otpSupportedApplications": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"otpPolicyCodeReusable": { | |
"type": "boolean" | |
}, | |
"webAuthnPolicyRpEntityName": { | |
"type": "string" | |
}, | |
"webAuthnPolicySignatureAlgorithms": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"webAuthnPolicyRpId": { | |
"type": "string" | |
}, | |
"webAuthnPolicyAttestationConveyancePreference": { | |
"type": "string" | |
}, | |
"webAuthnPolicyAuthenticatorAttachment": { | |
"type": "string" | |
}, | |
"webAuthnPolicyRequireResidentKey": { | |
"type": "string" | |
}, | |
"webAuthnPolicyUserVerificationRequirement": { | |
"type": "string" | |
}, | |
"webAuthnPolicyCreateTimeout": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"webAuthnPolicyAvoidSameAuthenticatorRegister": { | |
"type": "boolean" | |
}, | |
"webAuthnPolicyAcceptableAaguids": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"webAuthnPolicyPasswordlessRpEntityName": { | |
"type": "string" | |
}, | |
"webAuthnPolicyPasswordlessSignatureAlgorithms": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"webAuthnPolicyPasswordlessRpId": { | |
"type": "string" | |
}, | |
"webAuthnPolicyPasswordlessAttestationConveyancePreference": { | |
"type": "string" | |
}, | |
"webAuthnPolicyPasswordlessAuthenticatorAttachment": { | |
"type": "string" | |
}, | |
"webAuthnPolicyPasswordlessRequireResidentKey": { | |
"type": "string" | |
}, | |
"webAuthnPolicyPasswordlessUserVerificationRequirement": { | |
"type": "string" | |
}, | |
"webAuthnPolicyPasswordlessCreateTimeout": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister": { | |
"type": "boolean" | |
}, | |
"webAuthnPolicyPasswordlessAcceptableAaguids": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"browserFlow": { | |
"type": "string" | |
}, | |
"registrationFlow": { | |
"type": "string" | |
}, | |
"directGrantFlow": { | |
"type": "string" | |
}, | |
"resetCredentialsFlow": { | |
"type": "string" | |
}, | |
"clientAuthenticationFlow": { | |
"type": "string" | |
}, | |
"dockerAuthenticationFlow": { | |
"type": "string" | |
}, | |
"keycloakVersion": { | |
"type": "string" | |
}, | |
"groups": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/GroupRepresentation" | |
} | |
}, | |
"clientTemplates": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ClientTemplateRepresentation" | |
} | |
}, | |
"clientScopes": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ClientScopeRepresentation" | |
} | |
}, | |
"defaultDefaultClientScopes": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"defaultOptionalClientScopes": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"components": { | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/$defs/ComponentExportRepresentation" | |
} | |
}, | |
"attributes": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
}, | |
"federatedUsers": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/UserRepresentation" | |
} | |
}, | |
"userManagedAccessAllowed": { | |
"type": "boolean" | |
} | |
}, | |
"$defs": { | |
"AbstractAuthenticationExecutionRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"authenticatorConfig": { | |
"type": "string" | |
}, | |
"authenticator": { | |
"type": "string" | |
}, | |
"requirement": { | |
"type": "string" | |
}, | |
"priority": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"autheticatorFlow": { | |
"type": "boolean" | |
}, | |
"authenticatorFlow": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"AuthDetailsRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"realmId": { | |
"type": "string" | |
}, | |
"clientId": { | |
"type": "string" | |
}, | |
"userId": { | |
"type": "string" | |
}, | |
"ipAddress": { | |
"type": "string" | |
} | |
} | |
}, | |
"AuthenticationExecutionExportRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"userSetupAllowed": { | |
"type": "boolean" | |
}, | |
"flowAlias": { | |
"type": "string" | |
} | |
} | |
}, | |
"AuthenticationExecutionInfoRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"displayName": { | |
"type": "string" | |
}, | |
"alias": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"requirement": { | |
"type": "string" | |
}, | |
"requirementChoices": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"configurable": { | |
"type": "boolean" | |
}, | |
"providerId": { | |
"type": "string" | |
}, | |
"authenticationConfig": { | |
"type": "string" | |
}, | |
"authenticationFlow": { | |
"type": "boolean" | |
}, | |
"level": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"index": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"flowId": { | |
"type": "string" | |
} | |
} | |
}, | |
"AuthenticationExecutionRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"flowId": { | |
"type": "string" | |
}, | |
"parentFlow": { | |
"type": "string" | |
} | |
} | |
}, | |
"AuthenticationFlowRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"alias": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"providerId": { | |
"type": "string" | |
}, | |
"topLevel": { | |
"type": "boolean" | |
}, | |
"builtIn": { | |
"type": "boolean" | |
}, | |
"authenticationExecutions": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/AuthenticationExecutionExportRepresentation" | |
} | |
} | |
} | |
}, | |
"AuthenticatorConfigRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"alias": { | |
"type": "string" | |
}, | |
"config": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"CertificateRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"privateKey": { | |
"type": "string" | |
}, | |
"publicKey": { | |
"type": "string" | |
}, | |
"certificate": { | |
"type": "string" | |
}, | |
"kid": { | |
"type": "string" | |
} | |
} | |
}, | |
"ClaimRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "boolean" | |
}, | |
"username": { | |
"type": "boolean" | |
}, | |
"profile": { | |
"type": "boolean" | |
}, | |
"picture": { | |
"type": "boolean" | |
}, | |
"website": { | |
"type": "boolean" | |
}, | |
"email": { | |
"type": "boolean" | |
}, | |
"gender": { | |
"type": "boolean" | |
}, | |
"locale": { | |
"type": "boolean" | |
}, | |
"address": { | |
"type": "boolean" | |
}, | |
"phone": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"ClientInitialAccessCreatePresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"expiration": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
} | |
} | |
}, | |
"ClientInitialAccessPresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"token": { | |
"type": "string" | |
}, | |
"timestamp": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"expiration": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"remainingCount": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
} | |
} | |
}, | |
"ClientPoliciesRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"policies": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"description": "ClientPolicyRepresentation" | |
} | |
} | |
} | |
}, | |
"ClientPolicyConditionConfigurationRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"negativeLogic": { | |
"type": "boolean" | |
}, | |
"configAsMap": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "object" | |
} | |
} | |
} | |
}, | |
"ClientPolicyConditionRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"conditionProviderId": { | |
"type": "string" | |
}, | |
"configuration": { | |
"type": "object" | |
} | |
} | |
}, | |
"ClientPolicyExecutorConfigurationRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"configAsMap": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "object" | |
} | |
} | |
} | |
}, | |
"ClientPolicyExecutorRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"executorProviderId": { | |
"type": "string" | |
}, | |
"configuration": { | |
"type": "object" | |
} | |
} | |
}, | |
"ClientProfileRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"executors": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ClientPolicyExecutorRepresentation" | |
} | |
} | |
} | |
}, | |
"ClientProfilesRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"profiles": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ClientProfileRepresentation" | |
} | |
}, | |
"globalProfiles": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ClientProfileRepresentation" | |
} | |
} | |
} | |
}, | |
"ComponentExportRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"providerId": { | |
"type": "string" | |
}, | |
"subType": { | |
"type": "string" | |
}, | |
"config": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
}, | |
"subComponents": { | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/$defs/ComponentExportRepresentation" | |
} | |
} | |
} | |
}, | |
"ComponentRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"providerId": { | |
"type": "string" | |
}, | |
"providerType": { | |
"type": "string" | |
}, | |
"parentId": { | |
"type": "string" | |
}, | |
"subType": { | |
"type": "string" | |
}, | |
"config": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"ConfigPropertyRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string" | |
}, | |
"label": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"defaultValue": { | |
"type": "object" | |
}, | |
"helpText": { | |
"type": "string" | |
}, | |
"options": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"secret": { | |
"type": "boolean" | |
}, | |
"readOnly": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"CredentialRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"userLabel": { | |
"type": "string" | |
}, | |
"secretData": { | |
"type": "string" | |
}, | |
"credentialData": { | |
"type": "string" | |
}, | |
"priority": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"createdDate": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"value": { | |
"type": "string" | |
}, | |
"temporary": { | |
"type": "boolean" | |
}, | |
"device": { | |
"type": "string" | |
}, | |
"hashedSaltedValue": { | |
"type": "string" | |
}, | |
"salt": { | |
"type": "string" | |
}, | |
"hashIterations": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"counter": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"algorithm": { | |
"type": "string" | |
}, | |
"digits": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"period": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"config": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"EventRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"time": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"realmId": { | |
"type": "string" | |
}, | |
"clientId": { | |
"type": "string" | |
}, | |
"userId": { | |
"type": "string" | |
}, | |
"sessionId": { | |
"type": "string" | |
}, | |
"ipAddress": { | |
"type": "string" | |
}, | |
"error": { | |
"type": "string" | |
}, | |
"details": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"FederatedIdentityRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"identityProvider": { | |
"type": "string" | |
}, | |
"userId": { | |
"type": "string" | |
}, | |
"userName": { | |
"type": "string" | |
} | |
} | |
}, | |
"GroupRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"path": { | |
"type": "string" | |
}, | |
"realmRoles": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"clientRoles": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
}, | |
"attributes": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
}, | |
"subGroups": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/GroupRepresentation" | |
} | |
}, | |
"access": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "boolean" | |
} | |
} | |
} | |
}, | |
"IdentityProviderMapperRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"identityProviderAlias": { | |
"type": "string" | |
}, | |
"identityProviderMapper": { | |
"type": "string" | |
}, | |
"config": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"IdentityProviderMapperTypeRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"category": { | |
"type": "string" | |
}, | |
"helpText": { | |
"type": "string" | |
}, | |
"properties": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ConfigPropertyRepresentation" | |
} | |
} | |
} | |
}, | |
"IdentityProviderRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"internalId": { | |
"type": "string" | |
}, | |
"alias": { | |
"type": "string" | |
}, | |
"providerId": { | |
"type": "string" | |
}, | |
"config": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
}, | |
"enabled": { | |
"type": "boolean" | |
}, | |
"linkOnly": { | |
"type": "boolean" | |
}, | |
"updateProfileFirstLoginMode": { | |
"type": "string" | |
}, | |
"authenticateByDefault": { | |
"type": "boolean" | |
}, | |
"firstBrokerLoginFlowAlias": { | |
"type": "string" | |
}, | |
"postBrokerLoginFlowAlias": { | |
"type": "string" | |
}, | |
"storeToken": { | |
"type": "boolean" | |
}, | |
"addReadTokenRoleOnCreate": { | |
"type": "boolean" | |
}, | |
"trustEmail": { | |
"type": "boolean" | |
}, | |
"displayName": { | |
"type": "string" | |
} | |
} | |
}, | |
"KeyMetadataRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"providerId": { | |
"type": "string" | |
}, | |
"providerPriority": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"kid": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"algorithm": { | |
"type": "string" | |
}, | |
"publicKey": { | |
"type": "string" | |
}, | |
"certificate": { | |
"type": "string" | |
}, | |
"use": { | |
"type": "object", | |
"description": "KeyUse" | |
} | |
} | |
}, | |
"LDAPCapabilityRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"oid": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "object", | |
"description": "CapabilityType" | |
} | |
} | |
}, | |
"ManagementPermissionReference": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"enabled": { | |
"type": "boolean" | |
}, | |
"resource": { | |
"type": "string" | |
}, | |
"scopePermissions": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"ManagementPermissionRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"enabled": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"OAuth2ErrorRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"error": { | |
"type": "string" | |
}, | |
"errorDescription": { | |
"type": "string" | |
} | |
} | |
}, | |
"OAuthClientRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object" | |
}, | |
"PasswordPolicyTypeRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"displayName": { | |
"type": "string" | |
}, | |
"configType": { | |
"type": "string" | |
}, | |
"defaultValue": { | |
"type": "string" | |
}, | |
"multipleSupported": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"ProtocolMapperRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"protocol": { | |
"type": "string" | |
}, | |
"protocolMapper": { | |
"type": "string" | |
}, | |
"config": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
}, | |
"consentRequired": { | |
"type": "boolean" | |
}, | |
"consentText": { | |
"type": "string" | |
} | |
} | |
}, | |
"ProtocolMapperTypeRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"category": { | |
"type": "string" | |
}, | |
"helpText": { | |
"type": "string" | |
}, | |
"priority": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"properties": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ConfigPropertyRepresentation" | |
} | |
} | |
} | |
}, | |
"PublishedRealmRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"publicKeyPem": { | |
"type": "string" | |
}, | |
"tokenServiceUrl": { | |
"type": "string" | |
}, | |
"accountServiceUrl": { | |
"type": "string" | |
}, | |
"notBefore": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
} | |
} | |
}, | |
"RealmEventsConfigRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"eventsEnabled": { | |
"type": "boolean" | |
}, | |
"eventsExpiration": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"eventsListeners": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"enabledEventTypes": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"adminEventsEnabled": { | |
"type": "boolean" | |
}, | |
"adminEventsDetailsEnabled": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"RequiredActionProviderRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"alias": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"enabled": { | |
"type": "boolean" | |
}, | |
"defaultAction": { | |
"type": "boolean" | |
}, | |
"providerId": { | |
"type": "string" | |
}, | |
"priority": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"config": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"RequiredActionProviderSimpleRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"providerId": { | |
"type": "string" | |
} | |
} | |
}, | |
"Composites": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"realm": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"client": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
}, | |
"application": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
}, | |
"ScopeMappingRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"self": { | |
"type": "string" | |
}, | |
"client": { | |
"type": "string" | |
}, | |
"clientTemplate": { | |
"type": "string" | |
}, | |
"clientScope": { | |
"type": "string" | |
}, | |
"roles": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"SocialLinkRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"socialProvider": { | |
"type": "string" | |
}, | |
"socialUserId": { | |
"type": "string" | |
}, | |
"socialUsername": { | |
"type": "string" | |
} | |
} | |
}, | |
"SynchronizationResultRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"ignored": { | |
"type": "boolean" | |
}, | |
"added": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"updated": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"removed": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"failed": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"status": { | |
"type": "string" | |
} | |
} | |
}, | |
"TestLdapConnectionRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"action": { | |
"type": "string" | |
}, | |
"connectionUrl": { | |
"type": "string" | |
}, | |
"authType": { | |
"type": "string" | |
}, | |
"bindDn": { | |
"type": "string" | |
}, | |
"bindCredential": { | |
"type": "string" | |
}, | |
"useTruststoreSpi": { | |
"type": "string" | |
}, | |
"connectionTimeout": { | |
"type": "string" | |
}, | |
"componentId": { | |
"type": "string" | |
}, | |
"startTls": { | |
"type": "string" | |
} | |
} | |
}, | |
"UserConsentRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"clientId": { | |
"type": "string" | |
}, | |
"grantedClientScopes": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"createdDate": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"lastUpdatedDate": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"grantedRealmRoles": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"UserFederationMapperRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"federationProviderDisplayName": { | |
"type": "string" | |
}, | |
"federationMapperType": { | |
"type": "string" | |
}, | |
"config": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"UserFederationMapperSyncConfigRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"fedToKeycloakSyncSupported": { | |
"type": "boolean" | |
}, | |
"fedToKeycloakSyncMessage": { | |
"type": "string" | |
}, | |
"keycloakToFedSyncSupported": { | |
"type": "boolean" | |
}, | |
"keycloakToFedSyncMessage": { | |
"type": "string" | |
} | |
} | |
}, | |
"UserFederationMapperTypeRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"category": { | |
"type": "string" | |
}, | |
"helpText": { | |
"type": "string" | |
}, | |
"syncConfig": { | |
"$ref": "#/$defs/UserFederationMapperSyncConfigRepresentation" | |
}, | |
"properties": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ConfigPropertyRepresentation" | |
} | |
}, | |
"defaultConfig": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"UserFederationProviderFactoryRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"options": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"helpText": { | |
"type": "string" | |
}, | |
"properties": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ConfigPropertyRepresentation" | |
} | |
} | |
} | |
}, | |
"UserFederationProviderRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"displayName": { | |
"type": "string" | |
}, | |
"providerName": { | |
"type": "string" | |
}, | |
"config": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
}, | |
"priority": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"fullSyncPeriod": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"changedSyncPeriod": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"lastSync": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
} | |
} | |
}, | |
"UserRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"self": { | |
"type": "string" | |
}, | |
"id": { | |
"type": "string" | |
}, | |
"createdTimestamp": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"firstName": { | |
"type": "string" | |
}, | |
"lastName": { | |
"type": "string" | |
}, | |
"email": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
}, | |
"enabled": { | |
"type": "boolean" | |
}, | |
"totp": { | |
"type": "boolean" | |
}, | |
"emailVerified": { | |
"type": "boolean" | |
}, | |
"attributes": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
}, | |
"credentials": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/CredentialRepresentation" | |
} | |
}, | |
"requiredActions": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"federatedIdentities": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/FederatedIdentityRepresentation" | |
} | |
}, | |
"socialLinks": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/SocialLinkRepresentation" | |
} | |
}, | |
"realmRoles": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"clientRoles": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
}, | |
"clientConsents": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/UserConsentRepresentation" | |
} | |
}, | |
"notBefore": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"applicationRoles": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
}, | |
"federationLink": { | |
"type": "string" | |
}, | |
"serviceAccountClientId": { | |
"type": "string" | |
}, | |
"groups": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"origin": { | |
"type": "string" | |
}, | |
"disableableCredentialTypes": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"access": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "boolean" | |
} | |
} | |
} | |
}, | |
"UserSessionRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
}, | |
"userId": { | |
"type": "string" | |
}, | |
"ipAddress": { | |
"type": "string" | |
}, | |
"start": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"lastAccess": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"rememberMe": { | |
"type": "boolean" | |
}, | |
"clients": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"Access": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"roles": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"verifyCaller": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"CertConf": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"certThumbprint": { | |
"type": "string" | |
} | |
} | |
}, | |
"AccessTokenResponse": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"scope": { | |
"type": "string" | |
}, | |
"token": { | |
"type": "string" | |
}, | |
"expiresIn": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"refreshExpiresIn": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"refreshToken": { | |
"type": "string" | |
}, | |
"tokenType": { | |
"type": "string" | |
}, | |
"idToken": { | |
"type": "string" | |
}, | |
"notBeforePolicy": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"sessionState": { | |
"type": "string" | |
}, | |
"otherClaims": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "object" | |
} | |
}, | |
"error": { | |
"type": "string" | |
}, | |
"errorDescription": { | |
"type": "string" | |
}, | |
"errorUri": { | |
"type": "string" | |
} | |
} | |
}, | |
"AddressClaimSet": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"formattedAddress": { | |
"type": "string" | |
}, | |
"streetAddress": { | |
"type": "string" | |
}, | |
"locality": { | |
"type": "string" | |
}, | |
"region": { | |
"type": "string" | |
}, | |
"postalCode": { | |
"type": "string" | |
}, | |
"country": { | |
"type": "string" | |
} | |
} | |
}, | |
"AuthorizationDetailsJSONRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"type": { | |
"type": "string" | |
}, | |
"locations": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"actions": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"datatypes": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"identifier": { | |
"type": "string" | |
}, | |
"privileges": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"customData": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "object" | |
} | |
}, | |
"scopeNameFromCustomData": { | |
"type": "string" | |
}, | |
"dynamicScopeParamFromCustomData": { | |
"type": "string" | |
} | |
} | |
}, | |
"AuthorizationResponseToken": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"category": { | |
"enum": [ | |
"INTERNAL", | |
"ACCESS", | |
"ID", | |
"ADMIN", | |
"USERINFO", | |
"LOGOUT", | |
"AUTHORIZATION_RESPONSE" | |
], | |
"type": "string", | |
"description": "TokenCategory" | |
} | |
} | |
}, | |
"ClaimsRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"idTokenClaims": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "object", | |
"description": "ClaimValue" | |
} | |
}, | |
"userinfoClaims": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "object", | |
"description": "ClaimValue" | |
} | |
}, | |
"present": { | |
"type": "boolean" | |
}, | |
"presentAsNullClaim": { | |
"type": "boolean" | |
}, | |
"claimValue": { | |
"type": "object", | |
"description": "ClaimValue<CLAIM_TYPE>" | |
} | |
} | |
}, | |
"IDToken": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"nonce": { | |
"type": "string" | |
}, | |
"auth_time": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"sessionId": { | |
"type": "string" | |
}, | |
"sessionState": { | |
"type": "string" | |
}, | |
"accessTokenHash": { | |
"type": "string" | |
}, | |
"codeHash": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"givenName": { | |
"type": "string" | |
}, | |
"familyName": { | |
"type": "string" | |
}, | |
"middleName": { | |
"type": "string" | |
}, | |
"nickName": { | |
"type": "string" | |
}, | |
"preferredUsername": { | |
"type": "string" | |
}, | |
"profile": { | |
"type": "string" | |
}, | |
"picture": { | |
"type": "string" | |
}, | |
"website": { | |
"type": "string" | |
}, | |
"email": { | |
"type": "string" | |
}, | |
"emailVerified": { | |
"type": "boolean" | |
}, | |
"gender": { | |
"type": "string" | |
}, | |
"birthdate": { | |
"type": "string" | |
}, | |
"zoneinfo": { | |
"type": "string" | |
}, | |
"locale": { | |
"type": "string" | |
}, | |
"phoneNumber": { | |
"type": "string" | |
}, | |
"phoneNumberVerified": { | |
"type": "boolean" | |
}, | |
"address": { | |
"$ref": "#/$defs/AddressClaimSet" | |
}, | |
"updatedAt": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"claimsLocales": { | |
"type": "string" | |
}, | |
"acr": { | |
"type": "string" | |
}, | |
"stateHash": { | |
"type": "string" | |
}, | |
"category": { | |
"enum": [ | |
"INTERNAL", | |
"ACCESS", | |
"ID", | |
"ADMIN", | |
"USERINFO", | |
"LOGOUT", | |
"AUTHORIZATION_RESPONSE" | |
], | |
"type": "string", | |
"description": "TokenCategory" | |
} | |
} | |
}, | |
"JsonWebToken": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"exp": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"nbf": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"iat": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"issuer": { | |
"type": "string" | |
}, | |
"suer": { | |
"$ref": "#/$defs/JsonWebToken" | |
}, | |
"subject": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"issuedFor": { | |
"type": "string" | |
}, | |
"suedFor": { | |
"$ref": "#/$defs/JsonWebToken" | |
}, | |
"otherClaims": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "object" | |
} | |
}, | |
"category": { | |
"enum": [ | |
"INTERNAL", | |
"ACCESS", | |
"ID", | |
"ADMIN", | |
"USERINFO", | |
"LOGOUT", | |
"AUTHORIZATION_RESPONSE" | |
], | |
"type": "string", | |
"description": "TokenCategory" | |
} | |
} | |
}, | |
"KeyStoreConfig": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"realmCertificate": { | |
"type": "boolean" | |
}, | |
"storePassword": { | |
"type": "string" | |
}, | |
"keyPassword": { | |
"type": "string" | |
}, | |
"keyAlias": { | |
"type": "string" | |
}, | |
"realmAlias": { | |
"type": "string" | |
}, | |
"format": { | |
"type": "string" | |
} | |
} | |
}, | |
"LogoutToken": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"events": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "object" | |
} | |
}, | |
"sid": { | |
"type": "string" | |
}, | |
"category": { | |
"enum": [ | |
"INTERNAL", | |
"ACCESS", | |
"ID", | |
"ADMIN", | |
"USERINFO", | |
"LOGOUT", | |
"AUTHORIZATION_RESPONSE" | |
], | |
"type": "string", | |
"description": "TokenCategory" | |
} | |
} | |
}, | |
"OAuth2DeviceAuthorizationResponse": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"deviceCode": { | |
"type": "string" | |
}, | |
"userCode": { | |
"type": "string" | |
}, | |
"verificationUri": { | |
"type": "string" | |
}, | |
"verificationUriComplete": { | |
"type": "string" | |
}, | |
"expiresIn": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"interval": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
} | |
} | |
}, | |
"RefreshToken": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"category": { | |
"enum": [ | |
"INTERNAL", | |
"ACCESS", | |
"ID", | |
"ADMIN", | |
"USERINFO", | |
"LOGOUT", | |
"AUTHORIZATION_RESPONSE" | |
], | |
"type": "string", | |
"description": "TokenCategory" | |
} | |
} | |
}, | |
"UserInfo": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"issuer": { | |
"type": "string" | |
}, | |
"subject": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"givenName": { | |
"type": "string" | |
}, | |
"familyName": { | |
"type": "string" | |
}, | |
"middleName": { | |
"type": "string" | |
}, | |
"nickName": { | |
"type": "string" | |
}, | |
"preferredUsername": { | |
"type": "string" | |
}, | |
"profile": { | |
"type": "string" | |
}, | |
"picture": { | |
"type": "string" | |
}, | |
"website": { | |
"type": "string" | |
}, | |
"email": { | |
"type": "string" | |
}, | |
"emailVerified": { | |
"type": "boolean" | |
}, | |
"gender": { | |
"type": "string" | |
}, | |
"birthdate": { | |
"type": "string" | |
}, | |
"zoneinfo": { | |
"type": "string" | |
}, | |
"locale": { | |
"type": "string" | |
}, | |
"phoneNumber": { | |
"type": "string" | |
}, | |
"phoneNumberVerified": { | |
"type": "boolean" | |
}, | |
"address": { | |
"$ref": "#/$defs/AddressClaimSet" | |
}, | |
"updatedAt": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"sub": { | |
"type": "string" | |
}, | |
"claimsLocales": { | |
"type": "string" | |
}, | |
"otherClaims": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "object" | |
} | |
} | |
} | |
}, | |
"VersionRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"version": { | |
"type": "string" | |
}, | |
"buildTime": { | |
"type": "string" | |
} | |
} | |
}, | |
"SynchronizationResult": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"ignored": { | |
"type": "boolean" | |
}, | |
"added": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"updated": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"removed": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"failed": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"status": { | |
"type": "string" | |
} | |
} | |
}, | |
"ProtocolMapperEvaluationRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"mapperId": { | |
"type": "string" | |
}, | |
"mapperName": { | |
"type": "string" | |
}, | |
"containerId": { | |
"type": "string" | |
}, | |
"containerName": { | |
"type": "string" | |
}, | |
"containerType": { | |
"type": "string" | |
}, | |
"protocolMapper": { | |
"type": "string" | |
} | |
} | |
}, | |
"Permission": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"resourceId": { | |
"type": "string" | |
}, | |
"resourceName": { | |
"type": "string" | |
}, | |
"scopes": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"claims": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
}, | |
"AggregatePolicyRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"type": { | |
"type": "string" | |
} | |
} | |
}, | |
"ClientScopeDefinition": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"required": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"GroupDefinition": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"path": { | |
"type": "string" | |
}, | |
"extendChildren": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"JSPolicyRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"type": { | |
"type": "string" | |
}, | |
"code": { | |
"type": "string" | |
} | |
} | |
}, | |
"PermissionTicketRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"owner": { | |
"type": "string" | |
}, | |
"resource": { | |
"type": "string" | |
}, | |
"scope": { | |
"type": "string" | |
}, | |
"granted": { | |
"type": "boolean" | |
}, | |
"scopeName": { | |
"type": "string" | |
}, | |
"resourceName": { | |
"type": "string" | |
}, | |
"requesterName": { | |
"type": "string" | |
}, | |
"requester": { | |
"type": "string" | |
}, | |
"ownerName": { | |
"type": "string" | |
} | |
} | |
}, | |
"PolicyProviderRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"type": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"group": { | |
"type": "string" | |
} | |
} | |
}, | |
"PolicyRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"config": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"RegexPolicyRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"type": { | |
"type": "string" | |
}, | |
"targetClaim": { | |
"type": "string" | |
}, | |
"pattern": { | |
"type": "string" | |
} | |
} | |
}, | |
"ResourceOwnerRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
} | |
} | |
}, | |
"ResourcePermissionRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"type": { | |
"type": "string" | |
}, | |
"resourceType": { | |
"type": "string" | |
} | |
} | |
}, | |
"RoleDefinition": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"required": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"ScopePermissionRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"type": { | |
"type": "string" | |
}, | |
"resourceType": { | |
"type": "string" | |
} | |
} | |
}, | |
"TimePolicyRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"type": { | |
"type": "string" | |
}, | |
"notBefore": { | |
"type": "string" | |
}, | |
"notOnOrAfter": { | |
"type": "string" | |
}, | |
"dayMonth": { | |
"type": "string" | |
}, | |
"dayMonthEnd": { | |
"type": "string" | |
}, | |
"month": { | |
"type": "string" | |
}, | |
"monthEnd": { | |
"type": "string" | |
}, | |
"year": { | |
"type": "string" | |
}, | |
"yearEnd": { | |
"type": "string" | |
}, | |
"hour": { | |
"type": "string" | |
}, | |
"hourEnd": { | |
"type": "string" | |
}, | |
"minute": { | |
"type": "string" | |
}, | |
"minuteEnd": { | |
"type": "string" | |
} | |
} | |
}, | |
"UmaPermissionRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"type": { | |
"type": "string" | |
}, | |
"roles": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"groups": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"clients": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"users": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"condition": { | |
"type": "string" | |
} | |
} | |
}, | |
"UserPolicyRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"type": { | |
"type": "string" | |
}, | |
"users": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"AdminEventRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"time": { | |
"type": "integer", | |
"format": "int64", | |
"minimum": -9223372036854776000, | |
"maximum": 9223372036854776000 | |
}, | |
"realmId": { | |
"type": "string" | |
}, | |
"authDetails": { | |
"$ref": "#/$defs/AuthDetailsRepresentation" | |
}, | |
"operationType": { | |
"type": "string" | |
}, | |
"resourceType": { | |
"type": "string" | |
}, | |
"resourcePath": { | |
"type": "string" | |
}, | |
"representation": { | |
"type": "string" | |
}, | |
"error": { | |
"type": "string" | |
} | |
} | |
}, | |
"ApplicationRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string" | |
}, | |
"claims": { | |
"$ref": "#/$defs/ClaimRepresentation" | |
} | |
} | |
}, | |
"AuthenticatorConfigInfoRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string" | |
}, | |
"helpText": { | |
"type": "string" | |
}, | |
"providerId": { | |
"type": "string" | |
}, | |
"properties": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ConfigPropertyRepresentation" | |
} | |
} | |
} | |
}, | |
"ClientScopeRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"protocolMappers": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ProtocolMapperRepresentation" | |
} | |
}, | |
"protocol": { | |
"type": "string" | |
}, | |
"attributes": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"ClientTemplateRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"protocolMappers": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ProtocolMapperRepresentation" | |
} | |
}, | |
"protocol": { | |
"type": "string" | |
}, | |
"fullScopeAllowed": { | |
"type": "boolean" | |
}, | |
"bearerOnly": { | |
"type": "boolean" | |
}, | |
"consentRequired": { | |
"type": "boolean" | |
}, | |
"standardFlowEnabled": { | |
"type": "boolean" | |
}, | |
"implicitFlowEnabled": { | |
"type": "boolean" | |
}, | |
"directAccessGrantsEnabled": { | |
"type": "boolean" | |
}, | |
"serviceAccountsEnabled": { | |
"type": "boolean" | |
}, | |
"publicClient": { | |
"type": "boolean" | |
}, | |
"frontchannelLogout": { | |
"type": "boolean" | |
}, | |
"attributes": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"ComponentTypeRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"helpText": { | |
"type": "string" | |
}, | |
"properties": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ConfigPropertyRepresentation" | |
} | |
}, | |
"metadata": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "object" | |
} | |
} | |
} | |
}, | |
"KeysMetadataRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"active": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
}, | |
"keys": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/KeyMetadataRepresentation" | |
} | |
} | |
} | |
}, | |
"RoleRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"scopeParamRequired": { | |
"type": "boolean" | |
}, | |
"composites": { | |
"$ref": "#/$defs/Composites" | |
}, | |
"composite": { | |
"type": "boolean" | |
}, | |
"clientRole": { | |
"type": "boolean" | |
}, | |
"containerId": { | |
"type": "string" | |
}, | |
"attributes": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
}, | |
"RolesRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"realm": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/RoleRepresentation" | |
} | |
}, | |
"client": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/RoleRepresentation" | |
} | |
} | |
}, | |
"application": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/RoleRepresentation" | |
} | |
} | |
} | |
} | |
}, | |
"Authorization": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"permissions": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/Permission" | |
} | |
} | |
} | |
}, | |
"ClientScopePolicyRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"type": { | |
"type": "string" | |
}, | |
"clientScopes": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ClientScopeDefinition" | |
} | |
} | |
} | |
}, | |
"GroupPolicyRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"type": { | |
"type": "string" | |
}, | |
"groupsClaim": { | |
"type": "string" | |
}, | |
"groups": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/GroupDefinition" | |
} | |
} | |
} | |
}, | |
"RolePolicyRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"type": { | |
"type": "string" | |
}, | |
"roles": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/RoleDefinition" | |
} | |
} | |
} | |
}, | |
"ClientMappingsRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"client": { | |
"type": "string" | |
}, | |
"mappings": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/RoleRepresentation" | |
} | |
} | |
} | |
}, | |
"MappingsRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"realmMappings": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/RoleRepresentation" | |
} | |
}, | |
"clientMappings": { | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/$defs/ClientMappingsRepresentation" | |
} | |
} | |
} | |
}, | |
"AccessToken": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"suedAt": { | |
"$ref": "#/$defs/AccessToken" | |
}, | |
"suer": { | |
"$ref": "#/$defs/AccessToken" | |
}, | |
"allowedOrigins": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"realmAccess": { | |
"$ref": "#/$defs/Access" | |
}, | |
"trustedCertificates": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"suedFor": { | |
"$ref": "#/$defs/AccessToken" | |
}, | |
"authorization": { | |
"$ref": "#/$defs/Authorization" | |
}, | |
"certConf": { | |
"$ref": "#/$defs/CertConf" | |
}, | |
"scope": { | |
"type": "string" | |
}, | |
"category": { | |
"enum": [ | |
"INTERNAL", | |
"ACCESS", | |
"ID", | |
"ADMIN", | |
"USERINFO", | |
"LOGOUT", | |
"AUTHORIZATION_RESPONSE" | |
], | |
"type": "string", | |
"description": "TokenCategory" | |
} | |
} | |
}, | |
"ClientRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"clientId": { | |
"type": "string" | |
}, | |
"enabled": { | |
"type": "boolean" | |
}, | |
"alwaysDisplayInConsole": { | |
"type": "boolean" | |
}, | |
"surrogateAuthRequired": { | |
"type": "boolean" | |
}, | |
"rootUrl": { | |
"type": "string" | |
}, | |
"adminUrl": { | |
"type": "string" | |
}, | |
"baseUrl": { | |
"type": "string" | |
}, | |
"clientAuthenticatorType": { | |
"type": "string" | |
}, | |
"secret": { | |
"type": "string" | |
}, | |
"registrationAccessToken": { | |
"type": "string" | |
}, | |
"redirectUris": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"webOrigins": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"defaultRoles": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"notBefore": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"bearerOnly": { | |
"type": "boolean" | |
}, | |
"consentRequired": { | |
"type": "boolean" | |
}, | |
"standardFlowEnabled": { | |
"type": "boolean" | |
}, | |
"implicitFlowEnabled": { | |
"type": "boolean" | |
}, | |
"directAccessGrantsEnabled": { | |
"type": "boolean" | |
}, | |
"serviceAccountsEnabled": { | |
"type": "boolean" | |
}, | |
"authorizationServicesEnabled": { | |
"type": "boolean" | |
}, | |
"directGrantsOnly": { | |
"type": "boolean" | |
}, | |
"publicClient": { | |
"type": "boolean" | |
}, | |
"fullScopeAllowed": { | |
"type": "boolean" | |
}, | |
"protocol": { | |
"type": "string" | |
}, | |
"attributes": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
}, | |
"authenticationFlowBindingOverrides": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
}, | |
"nodeReRegistrationTimeout": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
}, | |
"registeredNodes": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "integer", | |
"format": "int32", | |
"minimum": -2147483648, | |
"maximum": 2147483647 | |
} | |
}, | |
"frontchannelLogout": { | |
"type": "boolean" | |
}, | |
"protocolMappers": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ProtocolMapperRepresentation" | |
} | |
}, | |
"clientTemplate": { | |
"type": "string" | |
}, | |
"useTemplateConfig": { | |
"type": "boolean" | |
}, | |
"useTemplateScope": { | |
"type": "boolean" | |
}, | |
"useTemplateMappers": { | |
"type": "boolean" | |
}, | |
"defaultClientScopes": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"optionalClientScopes": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"authorizationSettings": { | |
"$ref": "#/$defs/ResourceServerRepresentation" | |
}, | |
"access": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "boolean" | |
} | |
}, | |
"origin": { | |
"type": "string" | |
} | |
} | |
}, | |
"PartialImportRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"ifResourceExists": { | |
"type": "string" | |
}, | |
"policy": { | |
"type": "object", | |
"description": "Policy" | |
}, | |
"users": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/UserRepresentation" | |
} | |
}, | |
"clients": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ClientRepresentation" | |
} | |
}, | |
"groups": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/GroupRepresentation" | |
} | |
}, | |
"identityProviders": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/IdentityProviderRepresentation" | |
} | |
}, | |
"identityProviderMappers": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/IdentityProviderMapperRepresentation" | |
} | |
}, | |
"roles": { | |
"$ref": "#/$defs/RolesRepresentation" | |
} | |
} | |
}, | |
"AbstractPolicyRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"decisionStrategy": { | |
"enum": [ | |
"AFFIRMATIVE(0)", | |
"UNANIMOUS(1)", | |
"CONSENSUS(2)" | |
], | |
"type": "string", | |
"description": "DecisionStrategy" | |
}, | |
"logic": { | |
"enum": [ | |
"POSITIVE(0)", | |
"NEGATIVE(1)" | |
], | |
"type": "string", | |
"description": "Logic" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"policies": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"resources": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"scopes": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"owner": { | |
"type": "string" | |
}, | |
"resourcesData": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ResourceRepresentation" | |
} | |
}, | |
"scopesData": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ScopeRepresentation" | |
} | |
} | |
} | |
}, | |
"ResourceRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"displayName": { | |
"type": "string" | |
}, | |
"uris": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"scopes": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ScopeRepresentation" | |
} | |
}, | |
"iconUri": { | |
"type": "string" | |
}, | |
"owner": { | |
"$ref": "#/$defs/ResourceOwnerRepresentation" | |
}, | |
"ownerManagedAccess": { | |
"type": "boolean" | |
}, | |
"attributes": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
}, | |
"ResourceServerRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"clientId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"allowRemoteResourceManagement": { | |
"type": "boolean" | |
}, | |
"policyEnforcementMode": { | |
"enum": [ | |
"ENFORCING(0)", | |
"PERMISSIVE(1)", | |
"DISABLED(2)" | |
], | |
"type": "string", | |
"description": "PolicyEnforcementMode" | |
}, | |
"resources": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ResourceRepresentation" | |
} | |
}, | |
"policies": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/PolicyRepresentation" | |
} | |
}, | |
"scopes": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ScopeRepresentation" | |
} | |
}, | |
"decisionStrategy": { | |
"enum": [ | |
"AFFIRMATIVE(0)", | |
"UNANIMOUS(1)", | |
"CONSENSUS(2)" | |
], | |
"type": "string", | |
"description": "DecisionStrategy" | |
} | |
} | |
}, | |
"ScopeRepresentation": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string" | |
}, | |
"displayName": { | |
"type": "string" | |
}, | |
"iconUri": { | |
"type": "string" | |
}, | |
"id": { | |
"type": "string" | |
}, | |
"policies": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/PolicyRepresentation" | |
} | |
}, | |
"resources": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ResourceRepresentation" | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment