Attribute: {
    default: unknown;
    doc?: string;
    name: string;
    required: boolean;
    type: string;
}

An attribute of a complex type in an XML schema.

Type declaration

  • default: unknown

    Default value of the attribute.

  • Optionaldoc?: string

    Documentation of the attribute. Extracted from comment or annotation.

  • name: string

    Name of the attribute.

  • required: boolean

    Is the attribute required.

  • type: string

    Data type of the attribute.