Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeDocumentReadResultSchema

OfficeIMO.Reader

Namespace
OfficeIMO.Reader
Assembly
OfficeIMO.Reader.Core
Source revision
e163ccb36643 with working tree changes
Modifiers
static

Stable schema discovery and compatibility helpers for document read result transport payloads.

Inheritance

  • object
  • OfficeDocumentReadResultSchema

Methods

public static void EnsureSupported(string? schemaId, int schemaVersion) #

Throws when a schema header cannot be consumed by this package.

Parameters

schemaId string? required
schemaVersion int required
GetJsonSchema 2 overloads
public static string GetJsonSchema() #

Loads the JSON Schema artifact embedded in the assembly and included in the NuGet package.

Returns

string
public static string GetJsonSchema(int schemaVersion) #

Loads one supported versioned JSON Schema artifact embedded in the assembly and included in the NuGet package.

Parameters

schemaVersion int required

Returns

string
public static bool IsSupported(string? schemaId, int schemaVersion) #

Returns true when a schema header can be consumed by this package.

Parameters

schemaId string? required
schemaVersion int required

Returns

bool

Fields

public const string Id #

Stable schema identifier for shared document readback results.

Value: officeimo.document.read-result
public const int MinimumSupportedVersion #

First schema version covered by the stable compatibility contract. Versions 1 through 4 were experimental and are not accepted by the transport reader.

Value: 5
public const int CurrentVersion #

Current schema version emitted and accepted by this package.

Value: 14
public const string JsonSchemaId #

Stable JSON Schema identifier for current version 14 payloads.

Value: urn:officeimo:schema:document-read-result:14
public const string JsonSchemaFileName #

File name used for the packaged current JSON Schema artifact.

Value: officeimo.document.read-result.v14.schema.json