IOpenApiSchemaMissingProperties Interface

Definition

Compatibility interface for schema properties that cannot be added to IOpenApiSchema in the current major version without a breaking change. This interface provides access to those properties in contexts where callers need a typed model surface.

public interface IOpenApiSchemaMissingProperties
type IOpenApiSchemaMissingProperties = interface
Public Interface IOpenApiSchemaMissingProperties
Derived

Remarks

TODO: Remove this interface in the next major version and merge its content into IOpenApiSchema.

Properties

Name Description
Anchor

$anchor - identifies a plain-name location-independent fragment within the schema resource. Follow JSON Schema definition: https://json-schema.org/draft/2020-12/json-schema-core#name-anchor

Contains

Follow JSON Schema definition: https://json-schema.org/draft/2020-12/json-schema-core#name-contains An array instance is valid against "contains" if at least one of its elements is valid against this schema. Inline or referenced schema MUST be of a Schema Object and not a standard JSON Schema.

ContentEncoding

Follow JSON Schema definition: https://json-schema.org/draft/2020-12/json-schema-validation#name-contentencoding contentEncoding - identifies the encoding of string content.

ContentMediaType

Follow JSON Schema definition: https://json-schema.org/draft/2020-12/json-schema-validation#name-contentmediatype contentMediaType - identifies the media type of string content.

ContentSchema

Follow JSON Schema definition: https://json-schema.org/draft/2020-12/json-schema-validation#name-contentschema contentSchema - provides a schema that describes the decoded string content.

DependentSchemas

Follow JSON Schema definition: https://json-schema.org/draft/2020-12/json-schema-core#name-dependentschemas dependentSchemas - maps property names to schemas that are applied when that property is present.

Else

Follow JSON Schema definition: https://json-schema.org/draft/2020-12/json-schema-core#name-else else - applies when If does not evaluate successfully.

If

Follow JSON Schema definition: https://json-schema.org/draft/2020-12/json-schema-core#name-if if - applies a conditional schema that determines whether Then or Else should be evaluated.

MaxContains

Follow JSON Schema definition: https://json-schema.org/draft/2020-12/json-schema-validation The number of elements matching the "contains" schema MUST be less than or equal to this value.

MinContains

Follow JSON Schema definition: https://json-schema.org/draft/2020-12/json-schema-validation The number of elements matching the "contains" schema MUST be greater than or equal to this value.

PropertyNames

Follow JSON Schema definition: https://json-schema.org/draft/2020-12/json-schema-core#name-propertynames propertyNames - provides a schema that validates property names.

Then

Follow JSON Schema definition: https://json-schema.org/draft/2020-12/json-schema-core#name-then then - applies when If evaluates successfully.

UnevaluatedProperties

Indicates whether unevaluated properties are allowed. When false, no unevaluated properties are permitted. Follow JSON Schema definition: https://json-schema.org/draft/2020-12/json-schema-core#name-unevaluatedproperties Only serialized when false and UnevaluatedPropertiesSchema is null.

UnevaluatedPropertiesSchema

Follow JSON Schema definition: https://json-schema.org/draft/2020-12/json-schema-core#name-unevaluatedproperties This is a schema that unevaluated properties must validate against. When serialized, this takes precedence over the UnevaluatedProperties boolean property.

Applies to