Skip to content

Get Discovered Schema

schemas_get_discovered_schema R Documentation

Get the discovered schema that was generated based on sampled events

Description

Get the discovered schema that was generated based on sampled events.

Usage

schemas_get_discovered_schema(Events, Type)

Arguments

Events

[required] An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.

Type

[required] The type of event.

Value

A list with the following syntax:

list(
  Content = "string"
)

Request syntax

svc$get_discovered_schema(
  Events = list(
    "string"
  ),
  Type = "OpenApi3"|"JSONSchemaDraft4"
)