{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/CredentialListItem", "title": "CredentialListItem", "type": "object", "discriminator": { "propertyName": "type" }, "oneOf": [ { "$ref": "#/components/schemas/ApiKeyCredentialListItem" }, { "$ref": "#/components/schemas/ClientSecretCredentialListItem" } ] }