Schema ID
Schema name
Schema dialect ('json' or 'sqlite')
URL containing the schema definition
OptionalversionVersion of the schema (present when definition is fetched)
OptionaldescriptionOptional description of the schema
OptionaldialectOptional version of the dialect
OptionalschemaThe actual schema - JSON Schema object for 'json' dialect, DDL string for 'sqlite' (present when definition is fetched)
Schema with optional definition fields.
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.
When the definition has been fetched (via schemas.get() or schemas.list() with includeDefinitions), the version and schema fields will be populated. Otherwise, only the metadata fields are present.
Example