public sealed class Schema : IMessage<Schema>, IEquatable<Schema>, IDeepCloneable<Schema>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class Schema.
The schema details derived from the spec. Currently, this entity is supported
for OpenAPI spec only.
For OpenAPI spec, this maps to the schema defined in
the definitions section for OpenAPI 2.0 version and in
components.schemas section for OpenAPI 3.0 and 3.1 version.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSchema\u003c/code\u003e class in the Google.Cloud.ApiHub.V1 namespace represents a schema derived from an OpenAPI specification, supporting both OpenAPI 2.0 and 3.0/3.1 versions.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSchema\u003c/code\u003e class provides two constructors: a default constructor and a constructor that takes another \u003ccode\u003eSchema\u003c/code\u003e object as a parameter for cloning.\u003c/p\u003e\n"],["\u003cp\u003eIt exposes two properties: \u003ccode\u003eDisplayName\u003c/code\u003e, which is the schema's name from the spec, and \u003ccode\u003eRawValue\u003c/code\u003e, which contains the raw schema definition.\u003c/p\u003e\n"],["\u003cp\u003eThe Schema class is in the \u003ccode\u003eGoogle.Cloud.ApiHub.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]