Skip to content

Create Schema

schemas_create_schema R Documentation

Creates a schema definition

Description

Creates a schema definition.

Inactive schemas will be deleted after two years.

Usage

schemas_create_schema(Content, Description, RegistryName, SchemaName,
  Tags, Type)

Arguments

Content

[required] The source of the schema definition.

Description

A description of the schema.

RegistryName

[required] The name of the registry.

SchemaName

[required] The name of the schema.

Tags

Tags associated with the schema.

Type

[required] The type of schema.

Value

A list with the following syntax:

list(
  Description = "string",
  LastModified = as.POSIXct(
    "2015-01-01"
  ),
  SchemaArn = "string",
  SchemaName = "string",
  SchemaVersion = "string",
  Tags = list(
    "string"
  ),
  Type = "string",
  VersionCreatedDate = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$create_schema(
  Content = "string",
  Description = "string",
  RegistryName = "string",
  SchemaName = "string",
  Tags = list(
    "string"
  ),
  Type = "OpenApi3"|"JSONSchemaDraft4"
)