CreateWRDSchema (open)

Creates a new WRD schema

Syntax

LOADLIB "mod::wrd/lib/api.whlib";

OBJECT FUNCTION CreateWRDSchema(STRING tag, RECORD metadata)

Parameters

STRING tag

Tag for the new schema

RECORD metadata

Metadata

STRING description

Description

BOOLEAN initialize

Set up the schema using the wrdschema defined in its moduledefinition

STRING schemaresource

Override the schemaresource to use for initialization

STRING title

Title

BOOLEAN usermgmt

Whether this schema is used for user management

Return value

OBJECT
Possible objecttypes:

The created WRD schema