iya-sts
    Preparing search index...

    Variable validateSubject

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

    Type Declaration

      • (
            subject: any,
            path: any,
            options: any,
        ): { errors: any[]; format: string; ok: boolean }
      • Validates one simple Subject Identifier against its format's closed member set, its required members and each member's value, collecting every problem rather than stopping at the first.

        Parameters

        • subject: any

          the Subject Identifier

        • path: any

          where it sits in the document, for the messages (default sub_id)

        • options: any

          passed on to nested identifiers

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

        { ok, format, errors }