SimpleType: {
    doc?: string;
    name: string;
    options?: string[];
    pattern?: string;
}

A simple datatype in an XML schema.

Type declaration

  • Optionaldoc?: string

    Documentation of the simple type. Extracted from comments or annotations.

  • name: string

    Name of the simple type.

  • Optionaloptions?: string[]

    Options if type is an enum.

  • Optionalpattern?: string

    Regex to validate the type.