module Stratosphere.Glue.Schema (
        module Exports, Schema(..), mkSchema
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Glue.Schema.RegistryProperty as Exports
import {-# SOURCE #-} Stratosphere.Glue.Schema.SchemaVersionProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Schema
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html>
    Schema {Schema -> ()
haddock_workaround_ :: (),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-checkpointversion>
            Schema -> Maybe SchemaVersionProperty
checkpointVersion :: (Prelude.Maybe SchemaVersionProperty),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-compatibility>
            Schema -> Value Text
compatibility :: (Value Prelude.Text),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-dataformat>
            Schema -> Value Text
dataFormat :: (Value Prelude.Text),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-description>
            Schema -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-name>
            Schema -> Value Text
name :: (Value Prelude.Text),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-registry>
            Schema -> Maybe RegistryProperty
registry :: (Prelude.Maybe RegistryProperty),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-schemadefinition>
            Schema -> Maybe (Value Text)
schemaDefinition :: (Prelude.Maybe (Value Prelude.Text)),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-tags>
            Schema -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  deriving stock (Schema -> Schema -> Bool
(Schema -> Schema -> Bool)
-> (Schema -> Schema -> Bool) -> Eq Schema
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Schema -> Schema -> Bool
== :: Schema -> Schema -> Bool
$c/= :: Schema -> Schema -> Bool
/= :: Schema -> Schema -> Bool
Prelude.Eq, Int -> Schema -> ShowS
[Schema] -> ShowS
Schema -> String
(Int -> Schema -> ShowS)
-> (Schema -> String) -> ([Schema] -> ShowS) -> Show Schema
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Schema -> ShowS
showsPrec :: Int -> Schema -> ShowS
$cshow :: Schema -> String
show :: Schema -> String
$cshowList :: [Schema] -> ShowS
showList :: [Schema] -> ShowS
Prelude.Show)
mkSchema ::
  Value Prelude.Text
  -> Value Prelude.Text -> Value Prelude.Text -> Schema
mkSchema :: Value Text -> Value Text -> Value Text -> Schema
mkSchema Value Text
compatibility Value Text
dataFormat Value Text
name
  = Schema
      {haddock_workaround_ :: ()
haddock_workaround_ = (), compatibility :: Value Text
compatibility = Value Text
compatibility,
       dataFormat :: Value Text
dataFormat = Value Text
dataFormat, name :: Value Text
name = Value Text
name,
       checkpointVersion :: Maybe SchemaVersionProperty
checkpointVersion = Maybe SchemaVersionProperty
forall a. Maybe a
Prelude.Nothing, description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       registry :: Maybe RegistryProperty
registry = Maybe RegistryProperty
forall a. Maybe a
Prelude.Nothing, schemaDefinition :: Maybe (Value Text)
schemaDefinition = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Schema where
  toResourceProperties :: Schema -> ResourceProperties
toResourceProperties Schema {Maybe [Tag]
Maybe (Value Text)
Maybe RegistryProperty
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: Schema -> ()
checkpointVersion :: Schema -> Maybe SchemaVersionProperty
compatibility :: Schema -> Value Text
dataFormat :: Schema -> Value Text
description :: Schema -> Maybe (Value Text)
name :: Schema -> Value Text
registry :: Schema -> Maybe RegistryProperty
schemaDefinition :: Schema -> Maybe (Value Text)
tags :: Schema -> Maybe [Tag]
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Glue::Schema", supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"Compatibility" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
compatibility,
                            Key
"DataFormat" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
dataFormat, Key
"Name" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
name]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> SchemaVersionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CheckpointVersion" (SchemaVersionProperty -> (Key, Value))
-> Maybe SchemaVersionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SchemaVersionProperty
checkpointVersion,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Description" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
description,
                               Key -> RegistryProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Registry" (RegistryProperty -> (Key, Value))
-> Maybe RegistryProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RegistryProperty
registry,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SchemaDefinition" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
schemaDefinition,
                               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags]))}
instance JSON.ToJSON Schema where
  toJSON :: Schema -> Value
toJSON Schema {Maybe [Tag]
Maybe (Value Text)
Maybe RegistryProperty
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: Schema -> ()
checkpointVersion :: Schema -> Maybe SchemaVersionProperty
compatibility :: Schema -> Value Text
dataFormat :: Schema -> Value Text
description :: Schema -> Maybe (Value Text)
name :: Schema -> Value Text
registry :: Schema -> Maybe RegistryProperty
schemaDefinition :: Schema -> Maybe (Value Text)
tags :: Schema -> Maybe [Tag]
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"Compatibility" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
compatibility,
               Key
"DataFormat" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
dataFormat, Key
"Name" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
name]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> SchemaVersionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CheckpointVersion" (SchemaVersionProperty -> (Key, Value))
-> Maybe SchemaVersionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SchemaVersionProperty
checkpointVersion,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Description" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
description,
                  Key -> RegistryProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Registry" (RegistryProperty -> (Key, Value))
-> Maybe RegistryProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RegistryProperty
registry,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SchemaDefinition" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
schemaDefinition,
                  Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags])))
instance Property "CheckpointVersion" Schema where
  type PropertyType "CheckpointVersion" Schema = SchemaVersionProperty
  set :: PropertyType "CheckpointVersion" Schema -> Schema -> Schema
set PropertyType "CheckpointVersion" Schema
newValue Schema {Maybe [Tag]
Maybe (Value Text)
Maybe RegistryProperty
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: Schema -> ()
checkpointVersion :: Schema -> Maybe SchemaVersionProperty
compatibility :: Schema -> Value Text
dataFormat :: Schema -> Value Text
description :: Schema -> Maybe (Value Text)
name :: Schema -> Value Text
registry :: Schema -> Maybe RegistryProperty
schemaDefinition :: Schema -> Maybe (Value Text)
tags :: Schema -> Maybe [Tag]
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = Schema {checkpointVersion :: Maybe SchemaVersionProperty
checkpointVersion = SchemaVersionProperty -> Maybe SchemaVersionProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CheckpointVersion" Schema
SchemaVersionProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RegistryProperty
()
Value Text
haddock_workaround_ :: ()
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Compatibility" Schema where
  type PropertyType "Compatibility" Schema = Value Prelude.Text
  set :: PropertyType "Compatibility" Schema -> Schema -> Schema
set PropertyType "Compatibility" Schema
newValue Schema {Maybe [Tag]
Maybe (Value Text)
Maybe RegistryProperty
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: Schema -> ()
checkpointVersion :: Schema -> Maybe SchemaVersionProperty
compatibility :: Schema -> Value Text
dataFormat :: Schema -> Value Text
description :: Schema -> Maybe (Value Text)
name :: Schema -> Value Text
registry :: Schema -> Maybe RegistryProperty
schemaDefinition :: Schema -> Maybe (Value Text)
tags :: Schema -> Maybe [Tag]
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
..} = Schema {compatibility :: Value Text
compatibility = PropertyType "Compatibility" Schema
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RegistryProperty
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "DataFormat" Schema where
  type PropertyType "DataFormat" Schema = Value Prelude.Text
  set :: PropertyType "DataFormat" Schema -> Schema -> Schema
set PropertyType "DataFormat" Schema
newValue Schema {Maybe [Tag]
Maybe (Value Text)
Maybe RegistryProperty
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: Schema -> ()
checkpointVersion :: Schema -> Maybe SchemaVersionProperty
compatibility :: Schema -> Value Text
dataFormat :: Schema -> Value Text
description :: Schema -> Maybe (Value Text)
name :: Schema -> Value Text
registry :: Schema -> Maybe RegistryProperty
schemaDefinition :: Schema -> Maybe (Value Text)
tags :: Schema -> Maybe [Tag]
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
..} = Schema {dataFormat :: Value Text
dataFormat = PropertyType "DataFormat" Schema
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RegistryProperty
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Description" Schema where
  type PropertyType "Description" Schema = Value Prelude.Text
  set :: PropertyType "Description" Schema -> Schema -> Schema
set PropertyType "Description" Schema
newValue Schema {Maybe [Tag]
Maybe (Value Text)
Maybe RegistryProperty
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: Schema -> ()
checkpointVersion :: Schema -> Maybe SchemaVersionProperty
compatibility :: Schema -> Value Text
dataFormat :: Schema -> Value Text
description :: Schema -> Maybe (Value Text)
name :: Schema -> Value Text
registry :: Schema -> Maybe RegistryProperty
schemaDefinition :: Schema -> Maybe (Value Text)
tags :: Schema -> Maybe [Tag]
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = Schema {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" Schema
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RegistryProperty
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Name" Schema where
  type PropertyType "Name" Schema = Value Prelude.Text
  set :: PropertyType "Name" Schema -> Schema -> Schema
set PropertyType "Name" Schema
newValue Schema {Maybe [Tag]
Maybe (Value Text)
Maybe RegistryProperty
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: Schema -> ()
checkpointVersion :: Schema -> Maybe SchemaVersionProperty
compatibility :: Schema -> Value Text
dataFormat :: Schema -> Value Text
description :: Schema -> Maybe (Value Text)
name :: Schema -> Value Text
registry :: Schema -> Maybe RegistryProperty
schemaDefinition :: Schema -> Maybe (Value Text)
tags :: Schema -> Maybe [Tag]
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
..} = Schema {name :: Value Text
name = PropertyType "Name" Schema
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RegistryProperty
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Registry" Schema where
  type PropertyType "Registry" Schema = RegistryProperty
  set :: PropertyType "Registry" Schema -> Schema -> Schema
set PropertyType "Registry" Schema
newValue Schema {Maybe [Tag]
Maybe (Value Text)
Maybe RegistryProperty
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: Schema -> ()
checkpointVersion :: Schema -> Maybe SchemaVersionProperty
compatibility :: Schema -> Value Text
dataFormat :: Schema -> Value Text
description :: Schema -> Maybe (Value Text)
name :: Schema -> Value Text
registry :: Schema -> Maybe RegistryProperty
schemaDefinition :: Schema -> Maybe (Value Text)
tags :: Schema -> Maybe [Tag]
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = Schema {registry :: Maybe RegistryProperty
registry = RegistryProperty -> Maybe RegistryProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Registry" Schema
RegistryProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "SchemaDefinition" Schema where
  type PropertyType "SchemaDefinition" Schema = Value Prelude.Text
  set :: PropertyType "SchemaDefinition" Schema -> Schema -> Schema
set PropertyType "SchemaDefinition" Schema
newValue Schema {Maybe [Tag]
Maybe (Value Text)
Maybe RegistryProperty
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: Schema -> ()
checkpointVersion :: Schema -> Maybe SchemaVersionProperty
compatibility :: Schema -> Value Text
dataFormat :: Schema -> Value Text
description :: Schema -> Maybe (Value Text)
name :: Schema -> Value Text
registry :: Schema -> Maybe RegistryProperty
schemaDefinition :: Schema -> Maybe (Value Text)
tags :: Schema -> Maybe [Tag]
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = Schema {schemaDefinition :: Maybe (Value Text)
schemaDefinition = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SchemaDefinition" Schema
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RegistryProperty
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
tags :: Maybe [Tag]
..}
instance Property "Tags" Schema where
  type PropertyType "Tags" Schema = [Tag]
  set :: PropertyType "Tags" Schema -> Schema -> Schema
set PropertyType "Tags" Schema
newValue Schema {Maybe [Tag]
Maybe (Value Text)
Maybe RegistryProperty
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: Schema -> ()
checkpointVersion :: Schema -> Maybe SchemaVersionProperty
compatibility :: Schema -> Value Text
dataFormat :: Schema -> Value Text
description :: Schema -> Maybe (Value Text)
name :: Schema -> Value Text
registry :: Schema -> Maybe RegistryProperty
schemaDefinition :: Schema -> Maybe (Value Text)
tags :: Schema -> Maybe [Tag]
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = Schema {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" Schema
newValue, Maybe (Value Text)
Maybe RegistryProperty
Maybe SchemaVersionProperty
()
Value Text
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
haddock_workaround_ :: ()
checkpointVersion :: Maybe SchemaVersionProperty
compatibility :: Value Text
dataFormat :: Value Text
description :: Maybe (Value Text)
name :: Value Text
registry :: Maybe RegistryProperty
schemaDefinition :: Maybe (Value Text)
..}