{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/CustomContextVariable", "title": "CustomContextVariable", "additionalProperties": false, "discriminator": { "mapping": { "issue": "#/components/schemas/IssueContextVariable", "json": "#/components/schemas/JsonContextVariable", "user": "#/components/schemas/UserContextVariable" }, "propertyName": "type" }, "oneOf": [ { "$ref": "#/components/schemas/UserContextVariable" }, { "$ref": "#/components/schemas/IssueContextVariable" }, { "$ref": "#/components/schemas/JsonContextVariable" } ], "properties": { "type": { "description": "Type of custom context variable.", "type": "string" } }, "required": [ "type" ], "type": "object" }