Create(String, ISchema[], Boolean, Boolean):ISchema

Creates a new schema underneath the current schema.

The name of the schema is part of the XSD and therefore does not need to be indicated separately.

Parameter

xsdData

Type: System.String

This parameter contains the XSD for the schema to be created.

structureSchemaChildren

Type: Onion.Client.ISchema[]

This parameter is a list of schemas to be added to the newly created schema as child schemas.

Through indicating these schemas, data objects of these schemas can be created under data objects that follow the new schema.

isAbstract

Type: System.Boolean

This parameter indicates whether the schema is to be abstract or not.

No data objects can be instantiated by abstract schemas in the data repository. Abstract schemas can only define types (simpleType, complexType, element, attribute, group) or be used for structuring. These schemas can also be added to another schema as a child schema, although only all subordinate, non-abstract schemas can be instantiated.

disableVersioning

Type: System.Boolean

This parameter deactivates the versioning for data objects that are to follow the new schema.

If versioning is deactivated, no versions for the content of data objects will be created. The structural modifications will continue to be recorded. The version number will also be incremented as usual.