Skip to content

Conversion

Defines a conversion between character set encodings

Properties

Property Type Required Description
name string The name of the conversion.
schema string The schema for the conversion.
owner string The role that owns the conversion.
sql string User-provided raw SQL snippet.
default boolean Indicates that this conversion is the default for this particular source to destination encoding. There should be only one default encoding in a schema for the encoding pair.
encoding_from string The source encoding name.
encoding_to string The destination encoding name.
function string The function used to perform the conversion.
comment string An optional comment about the conversion.
dependencies dependencies Database objects this object is dependent upon.

Mutually exclusive forms

Exactly one of these must hold:

  • sql, without default or encoding_from or encoding_to or function

Source: schemata/conversion.yml · Resolved JSON Schema: conversion.json