Documentation
    Preparing search index...

    Class MdmSpecGroups

    Reusable Standard Specification Groups Registry in @quatrain/mdm. Allows domain models to reference standard Quatrain MDM groups (dimensions, vendor, electrical, network) and extend them locally.

    Index

    Constructors

    Properties

    DIMENSIONS: {
        $id: string;
        description: string;
        properties: {
            depth: { minimum: number; title: string; type: string };
            enclosureRating: { enum: string[]; title: string; type: string };
            height: { minimum: number; title: string; type: string };
            unitSystem: {
                default: string;
                enum: string[];
                title: string;
                type: string;
            };
            weight: { minimum: number; title: string; type: string };
            width: { minimum: number; title: string; type: string };
        };
        required: string[];
        title: string;
        type: string;
    } = ...
    ELECTRICAL: {
        $id: string;
        description: string;
        properties: {
            currentMax: { minimum: number; title: string; type: string };
            powerActive: { minimum: number; title: string; type: string };
            powerSleep: { minimum: number; title: string; type: string };
            voltageMax: { minimum: number; title: string; type: string };
            voltageMin: { minimum: number; title: string; type: string };
            voltageNominal: { minimum: number; title: string; type: string };
        };
        title: string;
        type: string;
    } = ...
    NETWORK: {
        $id: string;
        description: string;
        properties: {
            eth: {
                $id: string;
                properties: {
                    macAddress: { pattern: string; title: string; type: string };
                    poeSupported: { default: boolean; title: string; type: string };
                    speed: { enum: number[]; title: string; type: string };
                };
                title: string;
                type: string;
            };
            gsm: {
                $id: string;
                properties: {
                    iccid: { pattern: string; title: string; type: string };
                    imei: { pattern: string; title: string; type: string };
                    technologies: {
                        items: { enum: string[]; type: string };
                        title: string;
                        type: string;
                    };
                };
                title: string;
                type: string;
            };
            lorawan: {
                $id: string;
                properties: {
                    activationMode: {
                        default: string;
                        enum: string[];
                        title: string;
                        type: string;
                    };
                    appEui: { pattern: string; title: string; type: string };
                    devEui: { pattern: string; title: string; type: string };
                    frequencyBand: { enum: string[]; title: string; type: string };
                };
                title: string;
                type: string;
            };
            powerSource: { enum: string[]; title: string; type: string };
            wifi: {
                $id: string;
                properties: {
                    frequencyBands: {
                        items: { enum: string[]; type: string };
                        title: string;
                        type: string;
                    };
                    macAddress: { pattern: string; title: string; type: string };
                    supportedStandards: {
                        items: { enum: string[]; type: string };
                        title: string;
                        type: string;
                    };
                };
                title: string;
                type: string;
            };
        };
        title: string;
        type: string;
    } = ...
    NETWORK_ETH: {
        $id: string;
        properties: {
            macAddress: { pattern: string; title: string; type: string };
            poeSupported: { default: boolean; title: string; type: string };
            speed: { enum: number[]; title: string; type: string };
        };
        title: string;
        type: string;
    } = ...
    NETWORK_GSM: {
        $id: string;
        properties: {
            iccid: { pattern: string; title: string; type: string };
            imei: { pattern: string; title: string; type: string };
            technologies: {
                items: { enum: string[]; type: string };
                title: string;
                type: string;
            };
        };
        title: string;
        type: string;
    } = ...
    NETWORK_LORAWAN: {
        $id: string;
        properties: {
            activationMode: {
                default: string;
                enum: string[];
                title: string;
                type: string;
            };
            appEui: { pattern: string; title: string; type: string };
            devEui: { pattern: string; title: string; type: string };
            frequencyBand: { enum: string[]; title: string; type: string };
        };
        title: string;
        type: string;
    } = ...
    NETWORK_WIFI: {
        $id: string;
        properties: {
            frequencyBands: {
                items: { enum: string[]; type: string };
                title: string;
                type: string;
            };
            macAddress: { pattern: string; title: string; type: string };
            supportedStandards: {
                items: { enum: string[]; type: string };
                title: string;
                type: string;
            };
        };
        title: string;
        type: string;
    } = ...
    VENDOR: {
        $id: string;
        description: string;
        properties: {
            eolDate: { format: string; title: string; type: string };
            releaseDate: { format: string; title: string; type: string };
            status: { default: string; enum: string[]; title: string; type: string };
            vendorSku: { title: string; type: string };
            vendorUri: { pattern: string; title: string; type: string };
        };
        required: string[];
        title: string;
        type: string;
    } = ...

    Methods

    • Parameters

      • groupId: string

      Returns Record<string, unknown> | undefined

    • Parameters

      • groupId: string
      • schema: Record<string, unknown>

      Returns void