UNPKG

@asyncapi/specs

Version:
36 lines (35 loc) 1.11 kB
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "http://asyncapi.com/definitions/3.1.0/openIdConnect.json", "type": "object", "required": [ "type", "openIdConnectUrl" ], "properties": { "description": { "description": "A short description for security scheme. CommonMark syntax MAY be used for rich text representation.", "type": "string" }, "type": { "description": "The type of the security scheme.", "type": "string", "enum": [ "openIdConnect" ] }, "openIdConnectUrl": { "description": "OpenId Connect URL to discover OAuth2 configuration values. This MUST be in the form of an absolute URL.", "type": "string", "format": "uri" }, "scopes": { "description": "List of the needed scope names. An empty array means no scopes are needed.", "type": "array", "items": { "type": "string" } } }, "patternProperties": { "^x-[\\w\\d\\.\\x2d_]+$": { "$ref": "http://asyncapi.com/definitions/3.1.0/specificationExtension.json" } }, "additionalProperties": false }