Vana SDK - v0.1.0
    Preparing search index...

    Interface CreateSchemaParams

    Parameters for creating a new schema with automatic IPFS upload.

    This interface is used with the high-level schemas.create() method which automatically uploads the schema definition to IPFS and registers it on-chain.

    interface CreateSchemaParams {
        name: string;
        type: string;
        definition: string | object;
    }
    Index

    Properties

    Properties

    name: string

    The name of the schema

    type: string

    The type/category of the schema

    definition: string | object

    The schema definition object or JSON string