iya-sts
    Preparing search index...

    Variable validateSubjectId

    validateSubjectId: (
        subject: any,
        options: any,
    ) => { complex: boolean; errors: any[]; format: string; ok: boolean } = validateSubjectId

    Type Declaration

      • (
            subject: any,
            options: any,
        ): { complex: boolean; errors: any[]; format: string; ok: boolean }
      • Validates a sub_id, which is a complex subject when its format is complex and a simple Subject Identifier otherwise.

        A complex subject lacking one of options.criticalMembers is refused here, at the transmitter.

        Parameters

        • subject: any

          the sub_id

        • options: any

          path (default sub_id) and criticalMembers, the transmitter's critical_subject_members

        Returns { complex: boolean; errors: any[]; format: string; ok: boolean }

        { ok, complex, format, errors }