atlas-cardano-0.6.3: Application backend for Plutus smart contracts on Cardano
Copyright(c) 2024 GYELD GMBH
LicenseApache 2.0
Maintainer[email protected]
Stabilitydevelop
Safe HaskellSafe-Inferred
LanguageGHC2021

GeniusYield.Types.Blueprint.Schema

Description

 
Synopsis

Documentation

data Schema #

Blueprint schema definition, as defined by the CIP-0057.

Instances

Instances details
FromJSON Schema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

ToJSON Schema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Show Schema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Methods

showsPrecIntSchemaShowS #

showSchemaString #

showList ∷ [Schema] → ShowS #

Eq Schema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Methods

(==)SchemaSchemaBool #

(/=)SchemaSchemaBool #

Ord Schema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Methods

compareSchemaSchemaOrdering #

(<)SchemaSchemaBool #

(<=)SchemaSchemaBool #

(>)SchemaSchemaBool #

(>=)SchemaSchemaBool #

maxSchemaSchemaSchema #

minSchemaSchemaSchema #

data PairSchema #

Constructors

MkPairSchema 

Fields

Instances

Instances details
FromJSON PairSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Generic PairSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Associated Types

type Rep PairSchemaTypeType #

Show PairSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Eq PairSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Methods

(==)PairSchemaPairSchemaBool #

(/=)PairSchemaPairSchemaBool #

Ord PairSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

type Rep PairSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

type Rep PairSchema = D1 ('MetaData "PairSchema" "GeniusYield.Types.Blueprint.Schema" "atlas-cardano-0.6.3-inplace" 'False) (C1 ('MetaCons "MkPairSchema" 'PrefixI 'True) (S1 ('MetaSel ('Just "psLeft") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Schema) :*: S1 ('MetaSel ('Just "psRight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Schema)))

data ConstructorSchema #

Constructors

MkConstructorSchema 

Fields

Instances

Instances details
FromJSON ConstructorSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Generic ConstructorSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Associated Types

type Rep ConstructorSchemaTypeType #

Show ConstructorSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Eq ConstructorSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Ord ConstructorSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

type Rep ConstructorSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

type Rep ConstructorSchema = D1 ('MetaData "ConstructorSchema" "GeniusYield.Types.Blueprint.Schema" "atlas-cardano-0.6.3-inplace" 'False) (C1 ('MetaCons "MkConstructorSchema" 'PrefixI 'True) (S1 ('MetaSel ('Just "csIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Just "csFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Schema])))

data MapSchema #

Constructors

MkMapSchema 

Fields

Instances

Instances details
FromJSON MapSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Generic MapSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Associated Types

type Rep MapSchemaTypeType #

Methods

fromMapSchemaRep MapSchema x #

toRep MapSchema x → MapSchema #

Show MapSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Methods

showsPrecIntMapSchemaShowS #

showMapSchemaString #

showList ∷ [MapSchema] → ShowS #

Eq MapSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Methods

(==)MapSchemaMapSchemaBool #

(/=)MapSchemaMapSchemaBool #

Ord MapSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

type Rep MapSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

type Rep MapSchema = D1 ('MetaData "MapSchema" "GeniusYield.Types.Blueprint.Schema" "atlas-cardano-0.6.3-inplace" 'False) (C1 ('MetaCons "MkMapSchema" 'PrefixI 'True) ((S1 ('MetaSel ('Just "msKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Schema) :*: S1 ('MetaSel ('Just "msValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Schema)) :*: (S1 ('MetaSel ('Just "msMinItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "msMaxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Natural)))))

data ListSchema #

Constructors

MkListSchema 

Fields

  • lsItemsListItemSchema

    Element schema.

  • lsMinItemsMaybe Natural

    An array instance is valid if its size is greater than, or equal to, this value.

  • lsMaxItemsMaybe Natural

    An array instance is valid if its size is less than, or equal to, this value.

  • lsUniqueItemsMaybe Bool

    If this value is false, the instance validates successfully. If it is set to True, the instance validates successfully if all of its elements are unique.

data BytesSchema #

Constructors

MkBytesSchema 

Fields

  • bsEnum ∷ [ByteString]

    An instance validates successfully if once hex-encoded, its value matches one of the specified values.

  • bsMinLengthMaybe Natural

    An instance is valid if its length is greater than, or equal to, this value.

  • bsMaxLengthMaybe Natural

    An instance is valid if its length is less than, or equal to, this value.

data IntegerSchema #

Constructors

MkIntegerSchema 

Fields

Instances

Instances details
FromJSON IntegerSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Generic IntegerSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Associated Types

type Rep IntegerSchemaTypeType #

Show IntegerSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Eq IntegerSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Ord IntegerSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

type Rep IntegerSchema # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

type Rep IntegerSchema = D1 ('MetaData "IntegerSchema" "GeniusYield.Types.Blueprint.Schema" "atlas-cardano-0.6.3-inplace" 'False) (C1 ('MetaCons "MkIntegerSchema" 'PrefixI 'True) ((S1 ('MetaSel ('Just "isMultipleOf") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "isMinimum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "isMaximum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "isExclusiveMinimum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "isExclusiveMaximum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer))))))

data SchemaInfo #

Additional information optionally attached to any datatype schema definition.

Constructors

MkSchemaInfo 

Instances

Instances details
Show SchemaInfo # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Eq SchemaInfo # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema

Methods

(==)SchemaInfoSchemaInfoBool #

(/=)SchemaInfoSchemaInfoBool #

Ord SchemaInfo # 
Instance details

Defined in GeniusYield.Types.Blueprint.Schema