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

    Interface Schema

    Represents a data schema in the refiner registry.

    Schemas define the structure and validation rules for user data processed by refiners. They ensure data quality and consistency across the Vana network by specifying how raw user data should be formatted, validated, and processed.

    const socialMediaSchema: Schema = {
    id: 5,
    name: 'Social Media Profile',
    type: 'JSON',
    url: 'ipfs://QmSchema...', // Schema definition file
    description: 'Schema for validating social media profile data'
    };
    interface Schema {
        id: number;
        name: string;
        type: string;
        definitionUrl: string;
    }
    Index

    Properties

    id: number

    Schema ID

    name: string

    Schema name

    type: string

    Schema type

    definitionUrl: string

    URL containing the schema definition