�����JFIF��XX����������    $.' ",#(7),01444'9=82<.342  2!!22222222222222222222222222222222222222222222222222�����"����4���������������������������� ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������,�PG"Z_�4�˷����kjز�Z�,F+��_z�,�© �����zh6�٨�ic�fu������������������������������������#ډb���_�N��?�����������wQ���5-�~�I���8���������������������������������TK<5o�Iv-������������������k�_U_������������������������������~b�M��d��������Ӝ�U�Hh��?]��E�w��Q���k�{��_}qFW7HTՑ��Y��F�����?_�'ϔ��_�Ջt������������������������=||I �����6�έ"�����D���/[�k�9����Y�8������ds|\���Ҿp6�Ҵ���]��.����6���z<�v��@]�i%������������������������$j��~����g��J>��no����pM[me�i$[�����������s�o�ᘨ�˸ nɜG-�ĨU�ycP���3.DB�li�;���������������������hj���x����7Z^�N�h��������N3u{�:j�����x�힞��#M��&��jL P@��_���� P�������������������&��o8��������9������@Sz���6�t7#O�ߋ �����s}Yf�T������lmr����Z)'N��k�۞p�����w\�T���������������ȯ?�8`���O��i{wﭹW�[�r�� ��Q4F�׊������3m&L�=��h3�������z~��#����\�l :�F,j@�� ʱ�wQT����8�"kJO����6�֚l������������������}����R�>ډK���]��y����&����p�}b������;N�1�m�r$����|��7�>e�@���B�TM*-i�H��g�D�)� E�m�|�ؘbҗ�a���Ҿ����������������t4�����o���G��*oCN�rP���Q��@z,|?W[0���������:�n,j���WiE��W������$~/�hp\��?��{(�0���+�Y8rΟ�+����>S-S���������������VN;���}�s?.����� w��9��˟<���Mq4�Wv'������{)0�1mB����V����W[��������8�/<� �%���wT^�5���b��)iM� p�g�N�&ݝ������������VO~��q���u���9��� ����!��J27�����$����O-���! �:���%H��� ـ�������y�ΠM=t{!S�� �oK8�������t<����è��������:a��������[������ա�H���~��w��Qz`�p����o�^ ������Q��n����� �,uu�C��$ ^���,�������8�#��:�6��e�|~�����������!�3��3.�\0�����q��o�4`.|� ����y�Q�`~;�d�ׯ,��O�Zw�������`73�v�܋�<�����Ȏ�� ـ4k��5�K�a�u�=9Yd��$>x�A�&�� j0� ���vF��� Y���|�y��� ~�6�@c��1vOp��������Ig�����4��l�OD�����L����� R���c���j�_�uX�6��3?nk��Wy�f;^*B� ��@���~a�`��Eu�������+�����6�L��.ü>��}y���}_�O�6�͐�:�Yr���G�X��kG������l^w����������~㒶sy���Iu�!���� W ��X��N�7BV��O��!X�2����wvG�R�f�T#�����t�/?���%8�^�W�aT����G�cL�M���I��(J����1~�8�?aT ���]����AS�E��(��*E}� 2������#I/�׍qz��^t�̔���������b�Yz4x����t�){ OH�����+(E��A&�N�������XT��o��"�XC����'���)}�J�z�p� ����~5�}�^����+�6����w��c��Q�|�Lp�d�H��}�(�.|����k��c4^�����"�����Z?ȕ ��a<�������L�!0�39C� �Eu�����C�F�Ew�ç ;�n?�*o���B�8�bʝ���'#Rqf����M}7����]�������s2tcS{�\icTx;�\��7K���P������ʇ Z O-��~�������c>"��?��������P�����E��O�8��@�8��G��Q�g�a�Վ���󁶠��䧘��_%#r�>�����1�z�a���eb��qcP��ѵ��n���#L��� =��׀t� L�7�`�����V����A{�C:�g���e@�����w1 Xp�3�c3�ġ�������p��M"'-�@n4���fG���B3�DJ�8[Jo�ߐ���gK)ƛ��$���� �������8�3�����+���� �����6�ʻ���� ���S�kI�*KZlT _`�������?��K�����QK�d���������B`�s}�>���`������*�>��,*@J�d�oF*�����弝��O}�k��s��]��y�ߘ�������c1G�V���<=�7��7����6��q�PT��tXԀ�!9*4�4Tހ���3XΛex�46�������Y��D ����� ����BdemDa����\�_l,����G�/���֌7���Y�](�xTt^%�GE�����4�}bT����ڹ�����;��Y)���B�Q��u��>J/J ���⮶.�XԄ��j�ݳ������+E��d ���r�5�_D�����1 ���o�� �B�x�΢�#����<��W�����8���R6�@���g�M�.��� dr�D��>(otU��@�x=��~v���2� ӣ�d�oBd�����3�eO�6�㣷����������ݜ�6��6Y��Qz`����S��{���\P��~z m5{J/L��1������<�e�ͅPu���b�]�ϔ��������'�������f�b� Zpw��c`"��i���BD@:)ִ�:�]��h���v�E��w���T�l�������P����"Ju�}��وV ��J��G6��. J/�Qgl߭�e�����@�z�Zev2u����)]կ���������7x�������s�M�-<ɯ�c��r��v�����@��$�ޮ}lk���a����'����>x��O\�Z������Fu>������ck#��&:��`�$��ai�>2Δ����l���oF[h�������lE�ܺ�Π���k:)���`������� $[6�����9�����kOw�\|�����8}������ބ:��񶐕��������I�A1/���=�2[�,�!��.}gN#�u����b���� ~���������݊��}34q�����d�E��L��������c��$���"�[q�U�硬g^��%B ��z���r�p�������J�ru%v\h�����1Y�ne`������ǥ:g����pQM~�^��Xi� ��`S�:V2������9.�P���V������?B�k�� ��������AEvw%�_�9C�Q����wKekP�ؠ�\������;Io d�{ ߞo�c1eP�����\� `����E=���@K<�Y��������eڼ�J����w����{av�F�'�M�@��������������/J��+9p����|]���������Iw &`���8���&�M�hg���[�{�������Xj���%��Ӓ�������������������$��(�����ʹN�������<>�I���RY�����K2�NPlL�ɀ�)��&e��������B+ь����(������������������� � �JTx����_?EZ� }@���� 6�U���뙢ط�z��dWI��n` D����噥�[��uV��"�G&�����Ú����2�g�}&m���������������������?ċ���"����Om#�������������������������� ��{���������������������ON��"S�X���Ne��ysQ���@�������������Fn��Vg�����dX�~nj����������������������]J�<�K]:����FW���b�������62����������=��5f����JKw����bf�X������������������������55��~J �%^�������:�-�QIE��P��v�nZum� z � ~ə ���� ���ة����;�f��\v�������g�8�1��f2�������������������������4;�V���ǔ�)�������������������9���1\������������������������������c��v�/'Ƞ�w������������������$�4�R-��t����������������������������������� e�6�/�ġ �̕Ecy�J���u�B���<�W�ַ~�w[B1L۲�-JS΂�{���΃�������������������������������������������A��20�c#���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������@���� 0!1@AP"#2Q`$3V�%45a6�FRUq����� ������^7ׅ,$n��������+��F�`��2X'��0vM��p�L=�������5��8������u�p~���.�`r�����\����O��,ư�0oS ��_�M�����l���4�kv\JSd���x���SW�<��Ae�IX����������$I���w�:S���y���›R��9�Q[���,�5�;�@]�%���u�@ *ro�lbI �� ��+���%m:�͇ZV�����u�̉����θau<�fc�.����{�4Ա� �Q����*�Sm��8\ujqs]{kN���)qO�y�_*dJ�b�7���yQqI&9�ԌK!�M}�R�;�������S�T���1���i[U�ɵz�]��U)V�S6���3$K{��ߊ<�(� E]Զ[ǼENg�����'�\?#)Dkf��J���o��v���'�%ƞ�&K�u��!��b�35LX�Ϸ��63$K�a�;�9>,R��W��3�3� d�JeTYE.Mϧ��-�o�j3+y��y^�c�������VO�9NV\nd�1 ��!͕_)a�v;����թ�M�lWR1��)El��P;��yوÏ�u 3�k�5Pr6<�⒲l�!˞*��u־�n�!�l:����UNW ��%��Chx8vL'��X�@��*��)���̮��ˍ��� ����D-M�+J�U�kvK����+�x8��cY������?�Ԡ��~3mo��|�u@[XeY�C�\Kp�x8�oC�C�&����N�~3-H���� ��MX�s�u<`���~"WL��$8ξ��3���a�)|:@�m�\���^�`�@ҷ)�5p+��6���p�%i)P M���ngc�����#0Aruz���RL+xSS?���ʮ}()#�t��mˇ!��0}}y����<�e� �-ή�Ԩ��X������ MF���ԙ~l L.3���}�V뽺�v������멬��Nl�)�2����^�Iq��a��M��qG��T�����c3#������3U�Ǎ���}��לS�|qa��ڃ�+���-��2�f����/��bz��ڐ�� �ݼ[2�ç����k�X�2�* �Z�d���J�G����M*9W���s{��w���T��x��y,�in�O�v��]���n����P�$��JB@=4�OTI�n��e�22a\����q�d���%�$��(���:���: /*�K[PR�fr\nڙdN���F�n�$�4��[�� U�zƶ����� �mʋ���,�ao�u 3�z� �x��Kn����\[��VFmbE;�_U��&V�Gg�]L�۪&#n%�$ɯ��dG���D�TI=�%+AB�Ru#��b4�1�»x�cs�YzڙJG��f��Il���d�eF'T� iA��T���uC�$����Y��H?����[!G`}���ͪ� �纤Hv\������j�Ex�K���!���OiƸ�Yj�+u-<���'q����uN�*�r\��+�]���<�wOZ.fp�ێ��,-*)V?j-kÊ#�`�r��dV����(�ݽBk�����G�ƛk�QmUڗe��Z���f}|����8�8��a���i��3'J�����~G_�^���d�8w������ R�`(�~�.��u���l�s+g�bv���W���lGc}��u���afE~1�Ue������Z�0�8�=e�� f@/�jqEKQQ�J���oN��J���W5~M>$6�Lt�;$ʳ{���^��6�{����v6���ķܰg�V�cnn �~z�x�«�,2�u�?cE+Ș�H؎�%�Za�)���X>uW�Tz�Nyo����s���FQƤ��$��*�&�LLXL)�1�" L��eO��ɟ�9=���:t��Z���c��Ž���Y?�ӭV�wv�~,Y��r�ۗ�|�y��GaF�����C�����.�+� ���v1���fήJ�����]�S��T��B��n5sW}y�$��~z�'�c ��8 ��� ,! �p��VN�S��N�N�q��y8z˱�A��4��*��'������2n<�s���^ǧ˭P�Jޮɏ�U�G�L�J�*#��<�V��t7�8����TĜ>��i}K%,���)[��z�21z ?�N�i�n1?T�I�R#��m-�����������������1����lA�`��fT5+��ܐ�c�q՝��ʐ��,���3�f2U�եmab��#ŠdQ�y>\��)�SLY����w#��.���ʑ�f��� ,"+�w�~�N�'�c�O�3F�������N<���)j��&��,-� �љ���֊�_�zS���TǦ����w�>��?�������n��U仆�V���e�����0���$�C�d���rP �m�׈e�Xm�Vu� �L��.�bֹ��� �[Դaզ���*��\y�8�Է:�Ez\�0�Kq�C b��̘��cө���Q��=0Y��s�N��S.����3.���O�o:���#���v7�[#߫ ��5�܎�L���Er4���9n��COWlG�^��0k�%<���ZB���aB_���������'=��{i�v�l�$�uC���mƎҝ{�c㱼�y]���W�i ��ߧc��m�H� m�"�"�����;Y�ߝ�Z�Ǔ�����:S#��|}�y�,/k�Ld� TA�(�AI$+I3��;Y*���Z��}|��ӧO��d�v��..#:n��f>�>���ȶI�TX��� 8��y����"d�R�|�)0���=���n4��6ⲑ�+��r<�O�܂~zh�z����7ܓ�HH�Ga롏���nCo�>������a ���~]���R���̲c?�6(�q�;5%� |�uj�~z8R�=X��I�V=�|{v�Gj\gc��q����z�؋%M�ߍ����1y��#��@f^���^�>N������#x#۹��6�Y~�?�dfPO��{��P�4��V��u1E1J �*|���%����JN��`eWu�zk M6���q t[�� ��g�G���v��WIG��u_ft����5�j�"�Y�:T��ɐ���*�;� e5���4����q$C��2d�}���� _S�L#m�Yp��O�.�C�;��c����Hi#֩%+) �Ӎ��ƲV���SYź��g |���tj��3�8���r|���V��1#;.SQ�A[���S������#���`n�+���$��$�I �P\[�@�s��(�ED�z���P��])8�G#��0B��[ى��X�II�q<��9�~[Z멜�Z�⊔IWU&A>�P~�#��dp<�?����7���c��'~���5 ��+$���lx@�M�dm��n<=e�dyX��?{�|Aef ,|n3�<~z�ƃ�uۧ�����P��Y,�ӥQ�*g�#먙R�\���;T��i,��[9Qi歉����c>]9�� ��"�c��P�� �Md?٥��If�ت�u��k��/����F��9�c*9��Ǎ:�ØF���z�n*�@|I�ށ9����N3{'��[�'ͬ�Ҳ4��#}��!�V� Fu��,�,mTIk���v C�7v���B�6k�T9��1�*l� '~��ƞF��lU��'�M ����][ΩũJ_�{�i�I�n��$����L�� j��O�dx�����kza۪��#�E��Cl����x˘�o�����V���ɞ�ljr��)�/,�߬h�L��#��^��L�ф�,íMƁe�̩�NB�L�����iL����q�}��(��q��6IçJ$�W�E$��:������=#����(�K�B����zђ <��K(�N�۫K�w��^O{!����)��H���>x�������lx�?>Պ�+�>�W���,Ly!_�D���Ō�l���Q�!�[ �S����J��1��Ɛ�Y}��b,+�Lo�x�ɓ)����=�y�oh�@�꥟/��I��ѭ=��P�y9��� �ۍYӘ�e+�p�Jnϱ?V\SO%�(�t� ���=?MR�[Ș�����d�/ ��n�l��B�7j� ��!�;ӥ�/�[-���A�>��dN�sLj ��,ɪv��=1c�.SQ�O3�U���ƀ�ܽ�E����������̻��9G�ϷD�7(�}��Ävӌ\��y�_0[w ���<΍>����a_��[0+�L��F.�޺��f�>oN�T����q;���y\��bՃ��y�jH�<|q-eɏ�_?_9+P���Hp$�����[ux�K w�Mw��N�ی'$Y2�=��q���KB��P��~�������Yul:�[<����F1�2�O���5=d����]Y�sw:���Ϯ���E��j,_Q��X��z`H1,#II ��d�wr��P˂@�ZJV����y$�\y�{}��^~���[:N����ߌ�U�������O��d�����ؾe��${p>G��3c���Ė�lʌ�� ת��[��`ϱ�-W����dg�I��ig2��� ��}s ��ؤ(%#sS@���~���3�X�nRG�~\jc3�v��ӍL��M[JB�T��s3}��j�Nʖ��W����;7���ç?=X�F=-�=����q�ߚ���#���='�c��7���ڑW�I(O+=:uxq�������������e2�zi+�kuG�R��������0�&e�n���iT^J����~\jy���p'dtG��s����O��3����9* �b#Ɋ�� p������[Bws�T�>d4�ۧs���nv�n���U���_�~,�v����ƜJ1��s�� �QIz���)�(lv8M���U=�;����56��G���s#�K���MP�=��LvyGd��}�VwWBF�'�à �?MH�U�g2�� ����!�p�7Q��j��ڴ����=��j�u��� Jn�A s���uM������e��Ɔ�Ҕ�!)�'��8Ϣ�ٔ���ޝ(��Vp���צ֖d=�IC�J�Ǡ{q������kԭ�߸���i��@K����u�|�p=..�*+����x�����z[Aqġ#s2a�Ɗ���RR�)*HRsi�~�a &f��M��P����-K�L@��Z��Xy�'x�{}��Zm+���:�)�) IJ�-i�u���� ���ܒH��'��L(7�y�GӜq���� j��� 6ߌg1�g�o���,kر���tY�?W,���p���e���f�OQS��!K�۟cҒA�|ս�j�>��=⬒��˧L[�� �߿2JaB~R��u�:��Q�] �0H~���]�7��Ƽ�I���(�}��cq '�ήET���q�?f�ab���ӥvr� �)o��-Q��_'����ᴎo��K������;��V���o��%���~OK ����*��b�f:���-ťIR��`B�5!RB@���ï�� �u �̯e\�_U�_������� g�ES��3��������QT��a�����x����U<~�c?�*�#]�MW,[8O�a�x��]�1bC|踤�P��lw5V%�)�{t�<��d��5���0i�XSU��m:��Z�┵�i�"��1�^B�-��P�hJ��&)O��*�D��c�W��vM��)����}���P��ܗ-q����\mmζZ-l@�}��a��E�6��F�@��&Sg@���ݚ�M����� ȹ 4����#p�\H����dYDo�H���"��\��..R�B�H�z_�/5˘����6��KhJR��P�mƶi�m���3��,#c�co��q�a)*P�t����R�m�k�7x�D�E�\Y�閣_X�<���~�)���c[[�BP����6�Yq���S��0����%_����;��Àv�~�| VS؇ ��'O0��F0��\���U�-�d@�����7�SJ*z��3n��y��P����O����������m�~�P�3|Y��ʉr#�C�<�G~�.,! ���bqx���h~0=��!ǫ�jy����l��O,�[B��~��|9��ٱ����Xly�#�i�B��g%�S��������tˋ���e���ې��\[d�t)��.+u�|1 ������#�~Oj����hS�%��i.�~X���I�H�m��0n���c�1uE�q��cF�RF�o���7� �O�ꮧ� ���ۛ{��ʛi5�rw?׌#Qn�TW��~?y$��m\�\o����%W� ?=>S�N@�� �Ʈ���R����N�)�r"C�:��:����� �����#��qb��Y�. �6[��2K����2u�Ǧ�HYR��Q�MV��� �G�$��Q+.>�����nNH��q�^��� ����q��mM��V��D�+�-�#*�U�̒ ���p욳��u:�������IB���m����PV@O���r[b= �� ��1U�E��_Nm�yKbN�O���U�}�the�`�|6֮P>�\2�P�V���I�D�i�P�O;�9�r�mAHG�W�S]��J*�_�G��+kP�2����Ka�Z���H�'K�x�W�MZ%�O�YD�Rc+o��?�q��Ghm��d�S�oh�\�D�|:W������UA�Qc yT�q��������~^�H��/��#p�CZ���T�I�1�ӏT����4��"�ČZ�����}��`w�#�*,ʹ�� ��0�i��課�Om�*�da��^gJ݅{���l�e9uF#T�ֲ��̲�ٞC"�q���ߍ ոޑ�o#�XZTp����@ o�8��(jd��xw�]�,f���`~��|,s��^����f�1���t��|��m�򸄭/ctr��5s��7�9Q�4�H1꠲BB@�l9@���C�����+�wp�xu�£Yc�9��?`@#�o�mH�s2��)�=��2�.�l����jg�9$�Y�S�%*L������R�Y������7Z���,*=�䷘$�������arm�o�ϰ���UW.|�r�uf����IGw�t����Zwo��~5 ��YյhO+=8fF�)�W�7�L9lM�̘·Y���֘YLf�큹�pRF���99.A �"wz��=E\Z���'a� 2��Ǚ�#;�'}�G���*��l��^"q��+2FQ� hj��kŦ��${���ޮ-�T�٭cf�|�3#~�RJ����t��$b�(R��(����r���dx� >U b�&9,>���%E\� Ά�e�$��'�q't��*�א���ެ�b��-|d���SB�O�O��$�R+�H�)�܎�K��1m`;�J�2�Y~9��O�g8=vqD`K[�F)k�[���1m޼c��n���]s�k�z$@��)!I �x՝"v��9=�ZA=`Ɠi �:�E��)`�7��vI��}d�YI�_ �o�:ob���o ���3Q��&D&�2=�� �Ά��;>�h����y.*ⅥS������Ӭ�+q&����j|UƧ�����}���J0��WW< ۋS�)jQR�j���Ư��rN)�Gű�4Ѷ(�S)Ǣ�8��i��W52���No˓� ۍ%�5brOn�L�;�n��\G����=�^U�dI���8$�&���h��'���+�(������cȁ߫k�l��S^���cƗjԌE�ꭔ��gF���Ȓ��@���}O���*;e�v�WV���YJ\�]X'5��ղ�k�F��b 6R�o՜m��i N�i�����>J����?��lPm�U��}>_Z&�KK��q�r��I�D�Չ~�q�3fL�:S�e>���E���-G���{L�6p�e,8��������QI��h��a�Xa��U�A'���ʂ���s�+טIjP�-��y�8ۈZ?J$��W�P� ��R�s�]��|�l(�ԓ��sƊi��o(��S0���Y� 8�T97.�����WiL��c�~�dxc�E|�2!�X�K�Ƙਫ਼�$((�6�~|d9u+�qd�^3�89��Y�6L�.I�����?���iI�q���9�)O/뚅����O���X��X�V��ZF[�یgQ�L��K1���RҖr@v�#��X�l��F���Нy�S�8�7�kF!A��sM���^rkp�jP�DyS$N���q���nxҍ!U�f�!eh�i�2�m����`�Y�I�9r�6� �TF���C}/�y�^���Η���5d�'��9A-��J��>{�_l+�`��A���[�'��յ�ϛ#w:݅�%��X�}�&�PSt�Q�"�-��\縵�/����$Ɨh�Xb�*�y��BS����;W�ջ_mc�����vt?2}1�;qS�d�d~u:2k5�2�R�~�z+|HE!)�Ǟl��7`��0�<�,�2*���Hl-��x�^����'_TV�gZA�'j� ^�2Ϊ��N7t�����?w�� �x1��f��Iz�C-Ȗ��K�^q�;���-W�DvT�7��8�Z�������� hK�(P:��Q- �8�n�Z���܃e貾�<�1�YT<�,�����"�6{�/ �?�͟��|1�:�#g��W�>$����d��J��d�B���=��jf[��%rE^��il:��B���x���Sּ�1հ��,�=��*�7 fcG��#q� �eh?��2�7�����,�!7x��6�n�LC�4x��},Geǝ�tC.��vS �F�43��zz\��;QYC,6����~;RYS/6���|2���5���v��T��i����������mlv��������&� �nRh^ejR�LG�f���? �ۉҬܦƩ��|��Ȱ����>3����!v��i�ʯ�>�v��オ�X3e���_1z�Kȗ\<������!�8���V��]��?b�k41�Re��T�q��mz��TiOʦ�Z��Xq���L������q"+���2ۨ��8}�&N7XU7Ap�d�X��~�׿��&4e�o�F��� �H�����O���č�c�� 懴�6���͉��+)��v;j��ݷ�� �UV�� i��� j���Y9GdÒJ1��詞�����V?h��l�����l�cGs�ځ�������y�Ac������\V3�? �� ܙg�>qH�S,�E�W�[�㺨�uch�⍸�O�}���a��>�q�6�n6�����N6�q��������N� ���! 1AQaq�0@����"2BRb�#Pr���3C`��Scst���$4D���%Td���� ?�����N����a��3��m���C���w��������xA�m�q�m����m������$����4n淿t'��C"w��zU=D�\R+w�p+Y�T�&�պ@��ƃ��3ޯ?�Aﶂ��aŘ���@-�����Q�=���9D��ռ�ѻ@��M�V��P��܅�G5�f�Y<�u=,EC)�<�Fy'�"�&�չ�X~f��l�KԆV��?�� �W�N����=(� �;���{�r����ٌ�Y���h{�١������jW����P���Tc�����X�K�r��}���w�R��%��?���E��m�� �Y�q|����\lEE4����r���}�lsI�Y������f�$�=�d�yO����p�����yBj8jU�o�/�S��?�U��*������ˍ�0�������u�q�m [�?f����a�� )Q�>����6#������� ?����0UQ����,IX���(6ڵ[�DI�MNލ�c&���υ�j\��X�R|,4��� j������T�hA�e��^���d���b<����n�� �즇�=!���3�^�`j�h�ȓr��jẕ�c�,ٞX����-����a�ﶔ���#�$��]w�O��Ӫ�1y%��L�Y<�wg#�ǝ�̗`�x�xa�t�w��»1���o7o5��>�m뭛C���Uƃߜ}�C���y1Xνm�F8�jI���]����H���ۺиE@I�i;r�8ӭ�����V�F�Շ| ��&?�3|x�B�MuS�Ge�=Ӕ�#BE5G������Y!z��_e��q�р/W>|-�Ci߇�t�1ޯќd�R3�u��g�=0 5��[?�#͏��q�cf���H��{ ?u�=?�?ǯ���}Z��z���hmΔ�BFTW�����<�q��(v� ��!��z���iW]*�J�V�z��gX֧A�q�&��/w���u�gYӘa���; �i=����g:��?2�dž6�ى�k�4�>�Pxs����}������G�9���3 ���)gG�R<>r h�$��'nc�h�P��Bj��J�ҧH� -��N1���N��?��~��}-q!=��_2hc�M��l�vY%UE�@|�v����M2�.Y[|y�"Eï��K�ZF,�ɯ?,q�?v�M 80jx�"�;�9vk�����+ ֧�� �ȺU��?�%�vcV��mA�6��Qg^M�����A}�3�nl� QRN�l8�kkn�'�����(��M�7m9و�q���%ޟ���*h$Zk"��$�9��: �?U8�Sl��,,|ɒ��xH(ѷ����Gn�/Q�4�P��G�%��Ա8�N��!� �&�7�;���eKM7�4��9R/%����l�c>�x;������>��C�:�����t��h?aKX�bhe�ᜋ^�$�Iհ �hr7%F$�E��Fd���t��5���+�(M6�t����Ü�UU|zW�=a�Ts�Tg������dqP�Q����b'�m���1{|Y����X�N��b �P~��F^F:����k6�"�j!�� �I�r�`��1&�-$�Bevk:y���#y�w��I0��x��=D�4��tU���P�ZH��ڠ底taP��6����b>�xa�����Q�#� WeF��ŮNj�p�J* mQ�N�����*I�-*�ȩ�F�g�3 �5��V�ʊ�ɮ�a��5F���O@{���NX��?����H�]3��1�Ri_u��������ѕ�� ����0��� F��~��:60�p�͈�S��qX#a�5>���`�o&+�<2�D����: �������ڝ�$�nP���*)�N�|y�Ej�F�5ټ�e���ihy�Z �>���k�bH�a�v��h�-#���!�Po=@k̆IEN��@��}Ll?j�O������߭�ʞ���Q|A07x���wt!xf���I2?Z��<ץ�T���cU�j��]���陎Ltl �}5�ϓ��$�,��O�mˊ�;�@O��jE��j(�ا,��LX���LO���Ц�90�O �.����a��nA���7������j4 ��W��_ٓ���zW�jcB������y՗+EM�)d���N�g6�y1_x��p�$Lv�:��9�"z��p���ʙ$��^��JԼ*�ϭ����o���=x�Lj�6�J��u82�A�H�3$�ٕ@�=Vv�]�'�qEz�;I˼��)��=��ɯ���x �/�W(V���p�����$ �m�������u�����񶤑Oqˎ�T����r��㠚x�sr�GC��byp�G��1ߠ�w e�8�$⿄����/�M{*}��W�]˷.�CK\�ުx���/$�WP�w���r� |i���&�}�{�X� �>��$-��l���?-z���g����lΆ���(F���h�vS*���b���߲ڡn,|)mrH[���a�3�ר�[1��3o_�U�3�TC�$��(�=�)0�kgP���� ��u�^=��4 �WYCҸ:��vQ�ר�X�à��tk�m,�t*��^�,�}D*�� �"(�I��9R����>`�`��[~Q]�#af��i6l��8���6�:,s�s�N6�j"�A4���IuQ��6E,�GnH��zS�HO�uk�5$�I�4��ؤ�Q9�@��C����wp��BGv[]�u�Ov����0I4���\��y�����Q�Ѹ��~>Z��8�T��a��q�ޣ;z��a���/��S��I:�ܫ_�|������>=Z����8:�S��U�I�J��"IY���8%b8���H��:�QO�6�;7�I�S��J��ҌAά3��>c���E+&jf$eC+�z�;��V����� �r���ʺ������my�e���aQ�f&��6�ND���.:��NT�vm�<- u���ǝ\MvZY�N�NT��-A�>jr!S��n�O 1�3�Ns�%�3D@���`������ܟ 1�^c<���� �a�ɽ�̲�Xë#�w�|y�cW�=�9I*H8�p�^(4���՗�k��arOcW�tO�\�ƍR��8����'�K���I�Q�����?5�>[�}��yU�ײ -h��=��% q�ThG�2�)���"ו3]�!kB��*p�FDl�A���,�eEi�H�f�Ps�����5�H:�Փ~�H�0Dت�D�I����h�F3�������c��2���E��9�H��5�zԑ�ʚ�i�X�=:m�xg�hd(�v����׊�9iS��O��d@0ڽ���:�p�5�h-��t�&���X�q�ӕ,��ie�|���7A�2���O%P��E��htj��Y1��w�Ѓ!����  ���� ࢽ��My�7�\�a�@�ţ�J ��4�Ȼ�F�@o�̒?4�wx��)��]�P��~�����u�����5�����7X ��9��^ܩ�U;Iꭆ 5 �������eK2�7(�{|��Y׎ �V��\"���Z�1� Z�����}��(�Ǝ"�1S���_�vE30>���p;� ΝD��%x�W�?W?v����o�^V�i�d��r[��/&>�~`�9Wh��y�;���R���� ;;ɮT��?����r$�g1�K����A��C��c��K��l:�'��3 c�ﳯ*"t8�~l��)���m��+U,z��`(��>yJ�?����h>��]��v��ЍG*�{`��;y]��I�T� ;c��NU�fo¾h���/$���|NS���1�S�"�H��V���T���4��uhǜ�]�v;���5�͠x��'C\�SBpl���h}�N����� A�Bx���%��ޭ�l��/����T��w�ʽ]D�=����K���ž�r㻠l4�S�O?=�k �M:� ��c�C�a�#ha���)�ѐxc�s���gP�iG���{+���x���Q���I= �� z��ԫ+ �8"�k�ñ�j=|����c ��y��CF��/���*9ж�h{ �?4�o� ��k�m�Q�N�x��;�Y��4膚�a�w?�6�>�e]�����Q�r�:����g�,i"�����ԩA��*M�<�G��b�if��l^M��5�� �Ҩ�{����6J��ZJ�����P�*�����Y���ݛu�_4�9�I8�7���������,^ToR���m4�H��?�N�S�ѕw��/S��甍�@�9H�S�T��t�ƻ���ʒU��*{Xs�@����f������֒Li�K{H�w^���������Ϥm�tq���s� ���ք��f:��o~s��g�r��ט� �S�ѱC�e]�x���a��) ���(b-$(�j>�7q�B?ӕ�F��hV25r[7 Y� }L�R��}����*sg+��x�r�2�U=�*'WS��ZDW]�WǞ�<��叓���{�$�9Ou4��y�90-�1�'*D`�c�^o?(�9��u���ݐ��'PI&� f�Jݮ�������:wS����jfP1F:X �H�9dԯ����˝[�_54 �}*;@�ܨ�� ð�yn�T���?�ןd�#���4rG�ͨ��H�1�|-#���Mr�S3��G�3�����)�.᧏3v�z֑��r����$G"�`j �1t��x0<Ɔ�Wh6�y�6��,œ�Ga��gA����y��b��)���h�D��ß�_�m��ü �gG;��e�v��ݝ�nQ� ��C����-�*��o���y�a��M��I�>�<���]obD��"�:���G�A��-\%LT�8���c�)��+y76���o�Q�#*{�(F�⽕�y����=���rW�\p���۩�c���A���^e6��K������ʐ�cVf5$�'->���ՉN"���F�"�UQ@�f��Gb~��#�&�M=��8�ט�JNu9��D��[̤�s�o�~������� G��9T�tW^g5y$b��Y'��س�Ǵ�=��U-2 #�MC�t(�i� �lj�@Q 5�̣i�*�O����s�x�K�f��}\��M{E�V�{�υ��Ƈ�����);�H����I��fe�Lȣr�2��>��W��I�Ȃ6������i��k�� �5�YOxȺ����>��Y�f5'��|��H+��98pj�n�.O�y�������jY��~��i�w'������l�;�s�2��Y��:'lg�ꥴ)o#'Sa�a�K��Z� �m��}�`169�n���"���x��I ��*+� }F<��cГ���F�P�������ֹ*�PqX�x۩��,� ��N�� �4<-����%����:��7����W���u�`����� $�?�I��&����o��o��`v�>��P��"��l���4��5'�Z�gE���8���?��[�X�7(��.Q�-��*���ތL@̲����v��.5���[��=�t\+�CNܛ��,g�SQnH����}*F�G16���&:�t��4ُ"A��̣��$�b �|����#rs��a�����T�� ]�<�j��B�S�('$�ɻ� �wP;�/�n��?�ݜ��x�F��yUn�~mL*-�������Xf�wd^�a�}��f�,=t�׵i�.2/wpN�Ep8�OР���•��R�FJ� 55TZ��T �ɭ�<��]��/�0�r�@�f��V��V����Nz�G��^���7hZi����k��3�,kN�e|�vg�1{9]_i��X5y7� 8e]�U����'�-2,���e"����]ot�I��Y_��n�(JҼ��1�O ]bXc���Nu�No��pS���Q_���_�?i�~�x h5d'�(qw52] ��'ޤ�q��o1�R!���`ywy�A4u���h<קy���\[~�4�\ X�Wt/� 6�����n�F�a8��f���z �3$�t(���q��q�x��^�XWeN'p<-v�!�{�(>ӽDP7��ո0�y)�e$ٕv�Ih'Q�EA�m*�H��RI��=:��� ���4牢) �%_iN�ݧ�l]� �Nt���G��H�L��� ɱ�g<���1V�,�J~�ٹ�"K��Q�� 9�HS�9�?@��k����r�;we݁�]I�!{ �@�G�[�"��`���J:�n]�{�cA�E����V��ʆ���#��U9�6����j�#Y�m\��q�e4h�B�7��C�������d<�?J����1g:ٳ���=Y���D�p�ц� ׈ǔ��1�]26؜oS�'��9�V�FVu�P�h�9�xc�oq�X��p�o�5��Ա5$�9W�V(�[Ak�aY錎qf;�'�[�|���b�6�Ck��)��#a#a˙��8���=äh�4��2��C��4tm^ �n'c����]GQ$[Wҿ��i���vN�{Fu ��1�gx��1┷���N�m��{j-,��x�� Ūm�ЧS�[�s���Gna���䑴�� x�p 8<������97�Q���ϴ�v�aϚG��Rt�Һ׈�f^\r��WH�JU�7Z���y)�vg=����n��4�_)y��D'y�6�]�c�5̪��\� �PF�k����&�c;��cq�$~T�7j ���nç]�<�g ":�to�t}�159�<�/�8������m�b�K#g'I'.W������6��I/��>v��\�MN��g���m�A�yQL�4u�Lj�j9��#44�t��l^�}L����n��R��!��t��±]��r��h6ٍ>�yҏ�N��fU�� ���� Fm@�8}�/u��jb9������he:A�y�ծw��GpΧh�5����l}�3p468��)U��d��c����;Us/�֔�YX�1�O2��uq�s��`hwg�r~�{ R��mhN��؎*q 42�*th��>�#���E����#��Hv�O����q�}������6�e��\�,Wk�#���X��b>��p}�դ��3���T5��†��6��[��@��P�y*n��|'f�֧>�lư΂�̺����SU�'*�q�p�_S�����M�� '��c�6������m�� ySʨ;M��r���Ƌ�m�Kxo,���Gm�P��A�G�:��i��w�9�}M(�^�V��$ǒ�ѽ�9���|���� �a����J�SQ�a���r�B;����}���ٻ֢�2�%U���c�#�g���N�a�ݕ�'�v�[�OY'��3L�3�;,p�]@�S��{ls��X�'���c�jw��k'a�.��}�}&�� �dP�*�bK=ɍ!����;3n�gΊU�ߴmt�'*{,=SzfD� A��ko~�G�aoq�_mi}#�m�������P�Xhύ�����mxǍ�΂���巿zf��Q���c���|kc�����?���W��Y�$���_Lv����l߶��c���`?����l�j�ݲˏ!V��6����U�Ђ(A���4y)H���p�Z_�x��>���e���R��$�/�`^'3qˏ�-&Q�=?��CFVR �D�fV�9��{�8g�������n�h�(P"��6�[�D���< E�����~0<@�`�G�6����Hг�cc�� �c�K.5��D��d�B���`?�XQ��2��ٿyqo&+�1^� DW�0�ꊩ���G�#��Q�nL3��c���������/��x ��1�1�[y�x�პCW��C�c�UĨ80�m�e�4.{�m��u���I=��f�����0QRls9���f���������9���~f�����Ǩ��a�"@�8���ȁ�Q����#c�ic������G��$���G���r/$W�(��W���V�"��m�7�[m�A�m����bo��D� j����۳� l���^�k�h׽����� ��#� iXn�v��eT�k�a�^Y�4�BN���ĕ���0������� !01@Q"2AaPq3BR�������?�����@4�Q�����T3,���㺠�W�[=JK�Ϟ���2�r^7��vc�:�9 �E�ߴ�w�S#d���Ix��u��:��Hp��9E!�� V 2;73|F��9Y���*ʬ�F��D����u&���y؟��^EA��A��(ɩ���^��GV:ݜDy�`��Jr29ܾ�㝉��[���E;Fzx��YG��U�e�Y�C���� ����v-tx����I�sם�Ę�q��Eb�+P\ :>�i�C'�;�����k|z�رn�y]�#ǿb��Q��������w�����(�r|ӹs��[�D��2v-%��@;�8<a���[\o[ϧw��I!��*0�krs)�[�J9^��ʜ��p1)� "��/_>��o��<1����A�E�y^�C��`�x1'ܣn�p��s`l���fQ��):�l����b>�Me�jH^?�kl3(�z:���1ŠK&?Q�~�{�ٺ�h�y���/�[��V�|6��}�KbX����mn[-��7�5q�94�������dm���c^���h� X��5��<�eޘ>G���-�}�دB�ޟ� ��|�rt�M��V+�]�c?�-#ڛ��^ǂ}���Lkr���O��u�>�-D�ry� D?:ޞ�U��ǜ�7�V��?瓮�"�#���r��չģVR;�n���/_� ؉v�ݶe5d�b9��/O��009�G���5n�W����JpA�*�r9�>�1��.[t���s�F���nQ� V 77R�]�ɫ8����_0<՜�IF�u(v��4��F�k�3��E)��N:��yڮe��P�`�1}�$WS��J�SQ�N�j��ٺ��޵�#l���ј(�5=��5�lǏmoW�v-�1����v,W�mn��߀$x�<����v�j(����c]��@#��1������Ǔ���o'��u+����;G�#�޸��v-lη��/(`i⣍Pm^����ԯ̾9Z��F��������n��1��� ��]�[��)�'�������:�֪�W��FC����� �B9،!?���]��V��A�Վ�M��b�w��G F>_DȬ0¤�#�QR�[V��kz���m�w�"��9ZG�7'[��=�Q����j8R?�zf�\a�=��O�U����*oB�A�|G���2�54 �p��.w7� �� ���&������ξxGHp� B%��$g�����t�Џ򤵍z���HN�u�Я�-�'4��0���;_���3������� !01"@AQa2Pq#3BR�������?����ʩca��en��^��8���<�u#��m*08r��y�N"�<�Ѳ0��@\�p��� �����Kv�D��J8�Fҽ� �f�Y��-m�ybX�NP����}�!*8t(�OqѢ��Q�wW�K��ZD��Δ^e��!� ��B�K��p~�����e*l}z#9ң�k���q#�Ft�o��S�R����-�w�!�S���Ӥß|M�l޶V��!eˈ�8Y���c�ЮM2��tk���� ������J�fS����Ö*i/2�����n]�k�\���|4yX�8��U�P.���Ы[���l��@"�t�<������5�lF���vU�����W��W��;�b�cД^6[#7@vU�xgZv��F�6��Q,K�v��� �+Ъ��n��Ǣ��Ft���8��0��c�@�!�Zq s�v�t�;#](B��-�nῃ~���3g������5�J�%���O������n�kB�ĺ�.r��+���#�N$?�q�/�s�6��p��a����a��J/��M�8��6�ܰ"�*������ɗud"\w���aT(����[��F��U՛����RT�b���n�*��6���O��SJ�.�ij<�v�MT��R\c��5l�sZB>F��<7�;EA��{��E���Ö��1U/�#��d1�a�n.1ě����0�ʾR�h��|�R��Ao�3�m3 ��%�� ���28Q�� ��y��φ���H�To�7�lW>����#i`�q���c����a��� �m,B�-j����݋�'mR1Ήt�>��V��p���s�0IbI�C.���1R�ea�����]H�6�����������4B>��o��](��$B���m�����a�!=���?�B� K�Ǿ+�Ծ"�n���K��*��+��[T#�{�E�J�S����Q�����s�5�:�U�\wĐ�f�3����܆&�)�����I���Ԇw��E T�lrTf6Q|R�h:��[K�� �z��c֧�G�C��%\��_�a��84��HcO�bi��ؖV��7H �)*ģK~Xhչ0��4?�0��� �E<���}3���#���u�?�� ��|g�S�6ꊤ�|�I#Hڛ� �ա��w�X��9��7���Ŀ%�SL��y6č��|�F�a 8���b���$�sק�h���b9RAu7�˨p�Č�_\*w��묦��F ����4D~�f����|(�"m���NK��i�S�>�$d7SlA��/�²����SL��|6N�}���S�˯���g��]6��; �#�.��<���q'Q�1|KQ$�����񛩶"�$r�b:���N8�w@��8$�� �AjfG|~�9F ���Y��ʺ��Bwؒ������M:I岎�G��`s�YV5����6��A �b:�W���G�q%l�����F��H���7�������Fsv7���k�� 403WebShell
403Webshell
Server IP : 103.30.72.248  /  Your IP : 216.73.216.144
Web Server : Microsoft-IIS/10.0
System : Windows NT WIN-CARKG80MF9A 10.0 build 17763 (Windows Server 2019) AMD64
User : IUSR ( 0)
PHP Version : 8.2.7
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Program Files (x86)/ManageEngine/UEMS_Agent/data/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Program Files (x86)/ManageEngine/UEMS_Agent/data//data-dictionary-inv.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE data-dictionary SYSTEM "data-dictionary.dtd">
<!--?xml-stylesheet type="text/xsl" href="http://nms5-server/dd_styles/data-dictionary-transform.xsl"?-->
<!--
Repository Version Details:
$Id$
-->

<data-dictionary name="InventoryManagement">

	<description>
		<![CDATA[
		<b>A Short Note On DesktopCentral:</b> </br>
	Inventory Management is one of the modules in DesktopCentral for managing the Hardware and Software resources in a given set of managed computers.
	</br> </br>
	The data-modelling is done in such a way to to store the detailed information about the Windows OS, Harware and Software present in managed computers.
	</br> </br>
	Other necessary details have been provided along with the tables itself.
		]]>
	</description>

	<!-- Table started for WMI classes -->
	<table name="WMIClass">
		<description>
			<![CDATA[
		This table will hold the WMI Classes for fetching specific data from the computers.
		]]>
		</description>
		<columns>
			<column name="CLASS_ID">
				<description>Unique id for each WMI Classes.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CLASS_NAME">
				<description>The win32 class name for WMI data. Eg: Win32_OperatingSystem etc.</description>
				<data-type>CHAR</data-type>
				<max-size>200</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CLASS_NAMESPACE">
				<description>The WMI namespace to which the win32 class can be connected. Eg: ROOT\\CIMV2 etc.</description>
				<data-type>CHAR</data-type>
				<max-size>256</max-size>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_MODE">
				<description>Indicates whether the WMI class is included during Inventory Scan</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="WMIClass_PK">
			<primary-key-column>CLASS_ID</primary-key-column>
		</primary-key>
	</table>
	<!-- Table ends for WMI classes -->

	<!-- Table started for WMI class properties -->
	<table name="WMIClassProps">
		<description>
			<![CDATA[
		This table will hold the WMI Classes for fetching specific data from the computers.
		]]>
		</description>
		<columns>
			<column name="PROPERTY_ID">
				<description>Unique id for each WMI Classes.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CLASS_ID">
				<description>Unique id for each WMI Classes.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PROPERTY_NAME">
				<description>The property name of WMI class.</description>
				<data-type>CHAR</data-type>
				<max-size>50</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SUPPORTED_OS">
				<description>Indicates whether the WMI class property is supported by Win2k / WinXP / both</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PROPERTY_NATURE">
				<description>Indicates the nature of the property.</description>
				<data-type>INTEGER</data-type>
				<default-value>100</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRIMARY_KEY">
				<description>Indicates whether the WMI class property is a part of the unique id</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>
			<column name="PROPERTY_LENGTH">
				<description>Specifies the length of each property value</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
			</column>
		</columns>
		<primary-key name="WMIClassProps_PK">
			<primary-key-column>PROPERTY_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="WMIClassProps_FK" reference-table-name="WMIClass" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CLASS_ID</fk-local-column>
						<fk-reference-column>CLASS_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for WMI classes -->

	<!-- Table started for MacProperties , have details for Mac inventory -->
	<table name="MacProperties">
		<description>
			<![CDATA[
		This table will hold the WMI Classes for fetching specific data from the computers.
		]]>
		</description>
		<columns>
			<column name="LAST_PROPERTY_ID">
				<description>Unique id for each WMI Classes.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="MacProperties_PK">
			<primary-key-column>LAST_PROPERTY_ID</primary-key-column>
		</primary-key>
	</table>
	<!-- Table ends for MacProperties  -->

	<!-- Table started for WMI Data, parent details for WMIFetchedValue -->
	<table name="WMIData">
		<description>
			<![CDATA[
		This table will hold the WMI Data, which specifies the category of the WMIFetchedValues, if it is for users or a computer
		]]>
		</description>
		<columns>
			<column name="USER_SID">
				<description>Unique sid for each user and by default SYSTEM.</description>
				<data-type>CHAR</data-type>
				<max-size>128</max-size>
				<default-value>SYSTEM</default-value>
				<nullable>false</nullable>
				<unique>true</unique>
			</column>
			<column name="TYPE">
				<description>Type for the data fetched (0 for System and 1 for Users).</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_ID">
				<description>Type for the data fetched (0 for System and 1 for Users).</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_NAME">
				<description>Name of the user account.</description>
				<data-type>CHAR</data-type>
				<max-size>128</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
			</column>
			<column name="DOMAIN_NAME">
				<description>Domain Name of the user account.</description>
				<data-type>CHAR</data-type>
				<max-size>128</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
			</column>
			<column name="IS_LOCAL_ACCOUNT">
				<description>Indicates whether the account is defined on the local computer.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>true</default-value>
				<nullable>false</nullable>
			</column>
		</columns>
		<primary-key name="WMIData_PK">
			<primary-key-column>USER_ID</primary-key-column>
		</primary-key>
	</table>
	<!-- Table ends for WMI classes -->

	<table name="WMIFetchedValue">
		<description>
			<![CDATA[
		This table will hold the hardcoded WMI Class IDs of the WMI classes.
		]]>
		</description>
		<columns>
			<column name="VALUE_ID">
				<description>Unique id for the values fetched from client computers in the inventory.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PROPERTY_ID">
				<description>The id w.r.t WMI class properties.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CLASS_ID">
				<description>The id w.r.t WMI class.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INDEX">
				<description>The index for a wmi property value. This value is incremented if more than 1 inventory
					object for a same class is present.
				</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PROPERTY_VALUE">
				<description>The actual wmi value w.r.t WMI class and its properties.</description>
				<data-type>CHAR</data-type>
				<max-size>1000</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_ID">
				<description>Type for the data fetched (0 for System and 1 for Users).</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>

		<primary-key name="WMIFetchedValue_PK">
			<primary-key-column>VALUE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="WMIFetchedValue_FK" reference-table-name="WMIClassProps" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>PROPERTY_ID</fk-local-column>
						<fk-reference-column>PROPERTY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="WMIFetchedValue_FK1" reference-table-name="WMIData" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>USER_ID</fk-local-column>
						<fk-reference-column>USER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for WMI data fetched from clients -->

	<!-- Table started for WMI data fetched from clients -->
	<table name="WMISharePermissions">
		<description>
			<![CDATA[
		Table structure to store share permissions while sending network share details.
		]]>
		</description>
		<columns>
			<column name="PERMISSION_ID">
				<description>Unique id for each share permission.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VALUE_ID">
				<description>Unique id for each share.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USERNAME">
				<description>The username for which a share permission is given.</description>
				<data-type>CHAR</data-type>
				<max-size>500</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="READ_ALLOW">
				<description>Read allow access of a share.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CHANGE_ALLOW">
				<description>Change allow access of a share.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FULLACCESS_ALLOW">
				<description>Full access allowed or not of a share.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="READ_DENY">
				<description>Read deny access of a share.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CHANGE_DENY">
				<description>Change deny access of a share.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FULLACCESS_DENY">
				<description>Full access allowed or not of a share.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="WMISharePermissions_PK">
			<primary-key-column>PERMISSION_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="WMISharePermissions_FK" reference-table-name="WMIFetchedValue" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>VALUE_ID</fk-local-column>
						<fk-reference-column>VALUE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for WMI data fetched from clients -->

	<!-- Table started for WMI data fetched from clients -->
	<table name="WMIGroupMembers">
		<description>
			<![CDATA[
		Table structure to store share permissions while sending network share details.
		]]>
		</description>
		<columns>
			<column name="MEMBER_ID">
				<description>Unique id for each member.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VALUE_ID">
				<description>Unique id for each Group.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USERNAME">
				<description>The username for which a Group is given.</description>
				<data-type>CHAR</data-type>
				<max-size>500</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USERSID">
				<description>The username for which a Group is given.</description>
				<data-type>CHAR</data-type>
				<max-size>500</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MEMBER_TYPE">
				<description>Indicates whether the member is a user or a group . 1 indicates user . 2 indicates group
				</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
			</column>
		</columns>
		<primary-key name="WMIGroupMembers_PK">
			<primary-key-column>MEMBER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="WMIGroupMembers_FK" reference-table-name="WMIFetchedValue" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>VALUE_ID</fk-local-column>
						<fk-reference-column>VALUE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for WMI data fetched from clients -->

	<!-- Table started for storing Inventory Objects like processors, n/w adapters, software, etc. -->
	<table name="InvObjects">
		<description>
			<![CDATA[
		This table will hold inventory objects information.
		]]>
		</description>
		<columns>
			<column name="CLASS_ID">
				<description>The class id of a WMI class.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DESCRIPTION">
				<description>The table name of each inventory object.</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvObjects_PK">
			<primary-key-column>CLASS_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvObjects_FK" reference-table-name="WMIClass" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CLASS_ID</fk-local-column>
						<fk-reference-column>CLASS_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing Inventory Objects -->

	<!-- Table started for storing inventory data related tables -->
	<table name="InvTable">
		<description>
			<![CDATA[
		This table will hold inventory tables information.
		]]>
		</description>
		<columns>
			<column name="TABLE_ID">
				<description>Unique id for each inventory object table.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CLASS_ID">
				<description>The class id of a WMI class.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
			</column>
			<column name="TABLE_NAME">
				<description>The table name of each inventory object.</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTable_PK">
			<primary-key-column>TABLE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTable_FK" reference-table-name="WMIClass" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CLASS_ID</fk-local-column>
						<fk-reference-column>CLASS_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing inventory data related tables -->

	<!-- Table started for referring wmi class properties and inventory table columns -->
	<table name="InvTableColumn">
		<description>
			<![CDATA[
		This table will hold the column of each inventory tables.
		]]>
		</description>
		<columns>
			<column name="COLUMN_ID">
				<description>Unique id for each column in all inventory object tables.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PROPERTY_ID">
				<description>The property id of inventory object.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CLASS_ID">
				<description>The class id of the inventory object.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COLUMN_NAME">
				<description>The column name in the table of an inventory object.</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DATATYPE">
				<description>The datatype of particular column in the table of an inventory object.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTableColumn_PK">
			<primary-key-column>COLUMN_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTableColumn_CLASSID_FK" reference-table-name="WMIClass" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CLASS_ID</fk-local-column>
						<fk-reference-column>CLASS_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTableColumn_PROPID_FK" reference-table-name="WMIClassProps" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>PROPERTY_ID</fk-local-column>
						<fk-reference-column>PROPERTY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for referring wmi class properties and inventory table columns -->

	<!-- Table started for generating reference id for the data in inventory tables -->
	<table name="InvReferenceID">
		<description>
			<![CDATA[
		This table generates history id for each scan if a new inventory object is added/updated.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for each inventory object w.r.t addition or updation.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvReferenceID.INV_REF_ID</generator-name>
				</uniquevalue-generation>
			</column>
		</columns>
		<primary-key name="InvReferenceID_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
	</table>
	<!-- Table ends for generating reference id for the data in inventory tables -->

	<!-- Table started for storing the inventory scan status of each clients -->
	<table name="InvClientScanStatus">
		<description>
			<![CDATA[
		This table inventory scan status of each computers.
		]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>Unique id for each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PROCESS_START_TIME">
				<description>The time at which the process is started.</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PROCESS_END_TIME">
				<description>The time at which the process is started.</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LAST_SUCCESSFUL_SCAN">
				<description>The time at which Last successful scan done.</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_STATUS">
				<description>The inventory scan status of a computer -1 -> NA, 0 - Failure, 1 - InProgress, 2 -
					Success.
				</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REMARKS">
				<description>The remarks for the scan status.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>Scanning not done.</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REMARKS_EN">
				<description>The remarks for the scan status in english.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvClientScanStatus_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvClientScanStatus_FK1" reference-table-name="ManagedComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing the inventory scan status of each clients -->

	<!-- Table started for storing error codes for each scan failed resource -->
	<table name="InvClientScanError">
		<description>
			<![CDATA[
		This table contains relation between client computer and scan failed error code.
		]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>The resource id of a given computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ERROR_CODE">
				<description>Unique id for each error.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvClientScanError_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvClientScanError_FK1" reference-table-name="ErrorCode" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>ERROR_CODE</fk-local-column>
						<fk-reference-column>ERROR_CODE</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvClientScanError_FK2" reference-table-name="ManagedComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing error codes for each scan failed resource -->

	<!-- Table started for storing all inventory resources -->
	<table name="InvResource">
		<description>
			<![CDATA[
		This table contains the basic details of Inventory resources like Operating System, Hardware and Software corresponding to computers in SOM.
		]]>
		</description>
		<columns>
			<column name="INVENTORY_ID">
				<description>Unique id for each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvResource.INVENTORY_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="INV_TYPE">
				<description>The type of inventory object as OS/Hardware/Software.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="RESOURCE_ID">
				<description>The resource id of a given computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvResource_PK">
			<primary-key-column>INVENTORY_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvResource_FK1" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing all inventory resources -->

	<!-- Table started for storing inventory objects manufacturer details -->
	<table name="InvManufacturer">
		<description>
			<![CDATA[
		This table contains the basic details of manufacturers of all Inventory resources.
		]]>
		</description>
		<columns>
			<column name="MANUFACTURER_ID">
				<description>Unique id for the manufacturer of each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvManufacturer.MANUFACTURER_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="MANUFACTURER_NAME">
				<description>The name of the inventory object.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvManufacturer_PK">
			<primary-key-column>MANUFACTURER_ID</primary-key-column>
		</primary-key>
		<indexes>
			<index name="InvManufacturer_IDX1">
				<index-column>MANUFACTURER_NAME</index-column>
			</index>
		</indexes>
	</table>
	<!-- Table ends for storing inventory objects manufacturer details -->

	<!-- Table started for storing operating system name -->
	<table name="InvOperatingSystem">
		<description>
			<![CDATA[
		This table will hold the operating systems available in clients under the scope of mgmt.
		]]>
		</description>
		<columns>
			<column name="OS_ID">
				<description>Unique id for each OS in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvOperatingSystem.OPERATING_SYSTEM_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="OS_NAME">
				<description>The name of the OS.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DISPLAY_NAME">
				<description>The formatted display name of an opearting system.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvOperatingSystem_PK">
			<primary-key-column>OS_ID</primary-key-column>
		</primary-key>
		<indexes>
			<index name="InvOperatingSystem_IDX1">
				<index-column>OS_NAME</index-column>
			</index>
		</indexes>
	</table>
	<!-- Table ends for storing operating system name -->

	<!-- Table started for storing relation between operating system, its manufacturer and os serial number -->
	<table name="InvOStoManufacturerRel">
		<description>
			<![CDATA[
		This table contains the relation between operating system and manufacturers w.r.t each entry in InvResource table.
		]]>
		</description>
		<columns>
			<column name="INVENTORY_ID">
				<description>Unique id for each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<!--column name="OS_ID">
				<description>Unique id for each OS. </description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column-->
			<column name="MANUFACTURER_ID">
				<description>Unique id for each manufacturer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERIAL_NUMBER">
				<description>Unique id for OS in eac computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>500</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvOStoManufacturerRel_PK">
			<primary-key-column>INVENTORY_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvOStoManufacturerRel_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<!--foreign-key name="InvOStoManufacturerRel_FK2" reference-table-name="InvOperatingSystem" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>OS_ID</fk-local-column>
						<fk-reference-column>OS_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key-->
			<foreign-key name="InvOStoManufacturerRel_FK3" reference-table-name="InvManufacturer"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>MANUFACTURER_ID</fk-local-column>
						<fk-reference-column>MANUFACTURER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing relation between operating system, its manufacturer and os serial number -->

	<!-- Table started for operating system information -->
	<table name="InvOSInfo">
		<description>
			<![CDATA[
		This table will hold the Operating System information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each change that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>The resource id of the computer for which the inventory information is stored.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_ID">
				<description>Unique id for each OS.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VERSION">
				<description>The version of the Operating System.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERVICE_PACK">
				<description>The service pack applied on the Operating System.</description>
				<data-type>NCHAR</data-type>
				<max-size>75</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REGISTERED_USER">
				<description>The user for whom the Operating System is registered.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_CD_KEY">
				<description>The OS CD key of the Operating System.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VIRTUAL_MEMORY">
				<description>The virtual memory of the computer in KB.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_VIRTUAL_MEMORY">
				<description>The free virtual memory of the computer in KB.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VISIBLE_MEMORY">
				<description>The visible or physical memory of the computer in KB.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_VISIBLE_MEMORY">
				<description>The free visible or physical memory of the computer in KB.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvOSInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvOSInfo_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvOSInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for operating system information -->

	<!-- Table started for storing hardware types -->
	<table name="InvHardwareType">
		<description>
			<![CDATA[
		This table will hold the type of hardwares.
		]]>
		</description>
		<columns>
			<column name="HARDWARE_TYPE">
				<description>Unique id for each type of hardware in the inventory.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DESCRIPTION">
				<description>Type of a hardware such as Network Adapters/Sound Device/Monitor etc.</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvHardwareType_PK">
			<primary-key-column>HARDWARE_TYPE</primary-key-column>
		</primary-key>
		<indexes>
			<index name="InvHardwareType_IDX1">
				<index-column>DESCRIPTION</index-column>
			</index>
		</indexes>
	</table>
	<!-- Table ends for storing hardware types -->

	<!-- Table started for storing hardware name and its type -->
	<table name="InvHardware">
		<description>
			<![CDATA[
		This table will hold the list of hardwares stored in Inventory.
		]]>
		</description>
		<columns>
			<column name="HARDWARE_ID">
				<description>Unique id for each hardware in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvHardware.HARDWARE_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="HARDWARE_TYPE">
				<description>Type of a hardware such as Network Adapters/Sound Device/Monitor etc.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HARDWARE_NAME">
				<description>Particular hardware name.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DETECTED_TIME">
				<description>The time at which the software is detected for FIRST time in the network.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvHardware_PK">
			<primary-key-column>HARDWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvHardware_FK" reference-table-name="InvHardwareType" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>HARDWARE_TYPE</fk-local-column>
						<fk-reference-column>HARDWARE_TYPE</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvHardware_IDX1">
				<index-column>HARDWARE_NAME</index-column>
			</index>
		</indexes>
	</table>
	<!-- Table ends for storing hardware name and its type -->

	<!-- Table started for storing relation between hardware name, its manufacturer and its device id -->
	<table name="InvHWtoManufacturerRel">
		<description>
			<![CDATA[
		This table contains the relation between hardwares and manufacturers w.r.t each entry in InvResource table.
		]]>
		</description>
		<columns>
			<column name="INVENTORY_ID">
				<description>Unique id for each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HARDWARE_ID">
				<description>Unique id for each hardware.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MANUFACTURER_ID">
				<description>Unique id for each manufacturer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_ID">
				<description>Unique id for each hardware.</description>
				<data-type>NCHAR</data-type>
				<max-size>500</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvHWtoManufacturerRel_PK">
			<primary-key-column>INVENTORY_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvHWtoManufacturerRel_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvHWtoManufacturerRel_FK2" reference-table-name="InvHardware" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>HARDWARE_ID</fk-local-column>
						<fk-reference-column>HARDWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvHWtoManufacturerRel_FK3" reference-table-name="InvManufacturer"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>MANUFACTURER_ID</fk-local-column>
						<fk-reference-column>MANUFACTURER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing relation between hardware name, its manufacturer and its device id -->

	<!-- Table started for storing BIOS related information -->
	<table name="InvBiosInfo">
		<description>
			<![CDATA[
		This table will hold the Bios information. Only one BIOS is present in a system, so computer's resource id is used as PK.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id of each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VERSION">
				<description>The version of the Bios.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="RELEASE_DATE">
				<description>The date in which bios is released.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="YEAR_OF_INSTALLATION">
				<description>The year in which bios is installed.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the USB Controller.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvBiosInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvBiosInfo_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvBiosInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing BIOS related information -->

	<!-- Table started for storing processor related information -->
	<table name="InvProcessorInfo">
		<description>
			<![CDATA[
		This table holds the inventory data of Processors in computers under SoM.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PROCESSOR_TYPE">
				<description>The type of the processor. Default value '2' means 'Unknown' processor type. The mapping
					for other processor type values are in processor-types.xml
				</description>
				<data-type>INTEGER</data-type>
				<default-value>2</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CLOCK_SPEED">
				<description>The speed of the processor in MegaHertz.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STEPPING">
				<description>The stepping level of the processor.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FAMILY">
				<description>The family of the processor. Default value '2' means 'Unknown' family. The mapping for
					other processor type values are in processor-families.xml
				</description>
				<data-type>INTEGER</data-type>
				<default-value>2</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CHIP_SOCKET_TYPE">
				<description>The chip socket type of the processor.</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VOLTAGE_CAPABILITY">
				<description>The voltage capability of the processor.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DESCRIPTION">
				<description>Thedescription about the processor.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VERSION">
				<description>The version of the processor.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the processor.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvProcessorInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvProcessorInfo_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvProcessorInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing processor related information -->

	<!-- Table started for storing processor types -->
	<table name="ProcessorType">
		<description>
			<![CDATA[
		This table will hold the processor types. The mappings for processor type and description are in processor-types.xml
		]]>
		</description>
		<columns>
			<column name="PROCESSOR_TYPE_ID">
				<description>Unique id for processor type.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DISPLAY_LABEL">
				<description>The display name of processor type.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="ProcessorType_PK">
			<primary-key-column>PROCESSOR_TYPE_ID</primary-key-column>
		</primary-key>
		<indexes>
			<index name="ProcessorType_IDX1">
				<index-column>DISPLAY_LABEL</index-column>
			</index>
		</indexes>
	</table>
	<!-- Table ends for storing processor types -->

	<!-- Table started for storing processor family -->
	<table name="ProcessorFamily">
		<description>
			<![CDATA[
		This table will hold the processor families. The mappings for processor family and description are in processor-families.xml
		]]>
		</description>
		<columns>
			<column name="PROCESSOR_FAMILY_ID">
				<description>Unique id for processor family.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DISPLAY_LABEL">
				<description>The display name of processor family.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="ProcessorFamily_PK">
			<primary-key-column>PROCESSOR_FAMILY_ID</primary-key-column>
		</primary-key>
		<indexes>
			<index name="ProcessorFamily_IDX1">
				<index-column>DISPLAY_LABEL</index-column>
			</index>
		</indexes>
	</table>
	<!-- Table ends for storing processor family -->

	<!-- Table started for storing logical disk information -->
	<table name="InvLogicalDiskInfo">
		<description>
			<![CDATA[
		This table will hold the Logical Disk information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each Logical Disk.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NAME">
				<description>The logical disk partition name such as C: or D: or E:</description>
				<data-type>NCHAR</data-type>
				<max-size>10</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DESCRIPTION">
				<description>The description about the Logical Disk.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DRIVE_TYPE">
				<description>The type of drive such as 'Local Disk' or 'Network Disk' or 'Compact Disc' or 'Ram Disk'
					etc. Default value '0' means 'Unknown' drive type.
				</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MEDIA_TYPE">
				<description>The media type such as 'Removable Media' or 'Fixed hard disk' etc. Default value '0' means
					'Unknown' media type.
				</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILE_SYSTEM">
				<description>The file system of the logical disk.</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SIZE">
				<description>The size of the Logical Disk in Bytes.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_SPACE">
				<description>The free space available in Bytes.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VOLUME_SERIAL_NUMBER">
				<description>The volume serial number of the Logical Disk.</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the logical disk.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvLogicalDiskInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvLogicalDiskInfo_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvLogicalDiskInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing logical disk information -->

	<!-- Table started for storing logical disk drive type -->
	<table name="LogicalDiskDriverType">
		<description>
			<![CDATA[
		This table will hold the types of logical disk drivers. The mappings can be found in logicaldisk-mediatype.xml.
		]]>
		</description>
		<columns>
			<column name="DRIVER_TYPE_ID">
				<description>Unique id for logical disk driver type.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DISPLAY_LABEL">
				<description>The display name of logical disk driver type.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="LogicalDiskDriverType_PK">
			<primary-key-column>DRIVER_TYPE_ID</primary-key-column>
		</primary-key>
		<indexes>
			<index name="LogicalDiskDriverType_IDX1">
				<index-column>DISPLAY_LABEL</index-column>
			</index>
		</indexes>
	</table>
	<!-- Table ends for storing logical disk drive type -->

	<!-- Table started for storing logical disk media type -->
	<table name="LogicalDiskMediaType">
		<description>
			<![CDATA[
		This table will hold the types of logical disk drivers. The mappings can be found in logicaldisk-mediatype.xml.
		]]>
		</description>
		<columns>
			<column name="MEDIA_TYPE_ID">
				<description>Unique id for logical disk media type.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DISPLAY_LABEL">
				<description>The display name of logical disk media type.</description>
				<data-type>NCHAR</data-type>
				<max-size>75</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="LogicalDiskMediaType_PK">
			<primary-key-column>MEDIA_TYPE_ID</primary-key-column>
		</primary-key>
		<indexes>
			<index name="LogicalDiskMediaType_IDX1">
				<index-column>DISPLAY_LABEL</index-column>
			</index>
		</indexes>
	</table>
	<!-- Table ends for storing logical disk media type -->

	<!-- Table started for storing keyboard information -->
	<table name="InvKeyboardInfo">
		<description>
			<![CDATA[
		This table will hold the Keyboard information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DESCRIPTION">
				<description>The description about the keyboard.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the USB Controller.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvKeyboardInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvKeyboardInfo_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvKeyboardInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing keyboard information -->

	<!-- Table started for storing sound device information -->
	<table name="InvSoundDeviceInfo">
		<description>
			<![CDATA[
		This table will hold the Sound Device information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each Sound Device.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the USB Controller.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSoundDeviceInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSoundDeviceInfo_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSoundDeviceInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing sound device information -->

	<!-- Table started for storing video controller information -->
	<table name="InvVideoControllerInfo">
		<description>
			<![CDATA[
		This table will hold the Video Controller information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each Video Controller.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPATIBILITY">
				<description>The compatibility of the video controller.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ADAPTER_RAM">
				<description>The adapter RAM size of video controller.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HORIZONTAL_RESOLUTION">
				<description>The horizontal resolution of the video controller in pixels.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VERTICAL_RESOLUTION">
				<description>The vertical resolution of the video controllerin pixels.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DRIVER_VERSION">
				<description>The driver version of the video controller.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALL_DATE">
				<description>The vertical resolution of the video controllerin pixels.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the USB Controller.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvVideoControllerInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvVideoControllerInfo_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvVideoControllerInfo_FK2" reference-table-name="InvReferenceID"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing video controller information -->

	<!-- Table started for storing pointing device information -->
	<table name="InvPointingDeviceInfo">
		<description>
			<![CDATA[
		This table will hold the Pointing Device (Mouse, Touch pad..) information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each Pointing Device.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NUMBER_OF_BUTTONS">
				<description>The number of buttons in the pointing device.</description>
				<data-type>INTEGER</data-type>
				<default-value>2</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HANDEDNESS">
				<description>The handedness of the pointing device as a right/left handed. Default value '0' means
					'Unknown' handedness. The other handedness mappings are in pointingdevice-handedness.xml
				</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_INTERFACE">
				<description>The device interface of pointing device. Default value '2' means 'Unknown' device
					interface. The other device interface mappings are in pointingdevice-interfaces.xml
				</description>
				<data-type>INTEGER</data-type>
				<default-value>2</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="POINTING_TYPE">
				<description>The type of the pointing device such as Mouse/Touch Pad etc. Default value '2' means
					'Unknown' pointing type. The other device type mappings are in pointingdevice-types.xml
				</description>
				<data-type>INTEGER</data-type>
				<default-value>2</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the USB Controller.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvPointingTypeInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvPointingDeviceInfo_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvPointingDeviceInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>

	</table>
	<!-- Table ends for storing pointing device information -->

	<!-- Table started for storing pointing device handedness -->
	<table name="PointingDevHandedness">
		<description>
			<![CDATA[
		This table will hold the handedness of a pointing device.
		]]>
		</description>
		<columns>
			<column name="POINTINGDEV_HANDEDNESS_ID">
				<description>Unique id for handedness of the pointing device.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DISPLAY_LABEL">
				<description>The display label of handedness of pointing device.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="PointingDevHandedness_PK">
			<primary-key-column>POINTINGDEV_HANDEDNESS_ID</primary-key-column>
		</primary-key>
		<indexes>
			<index name="PointingDevHandedness_IDX1">
				<index-column>DISPLAY_LABEL</index-column>
			</index>
		</indexes>
	</table>
	<!-- Table ends for storing pointing device handedness -->

	<!-- Table started for storing pointing deivce interface -->
	<table name="PointingDevInterface">
		<description>
			<![CDATA[
		This table will hold the interfaces of a pointing device.
		]]>
		</description>
		<columns>
			<column name="POINTINGDEV_INTERFACE_ID">
				<description>Unique id for the interfaces of the pointing device.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DISPLAY_LABEL">
				<description>The display label of interface of pointing device.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="PointingDevInterfaces_PK">
			<primary-key-column>POINTINGDEV_INTERFACE_ID</primary-key-column>
		</primary-key>
		<indexes>
			<index name="PointingDevInterfaces_IDX1">
				<index-column>DISPLAY_LABEL</index-column>
			</index>
		</indexes>
	</table>
	<!-- Table ends for storing pointing device interface -->

	<!-- Table started for storing pointing device type -->
	<table name="PointingDevType">
		<description>
			<![CDATA[
		This table will hold the type of a pointing device.
		]]>
		</description>
		<columns>
			<column name="POINTINGDEV_TYPE_ID">
				<description>Unique id for the type of a pointing device.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DISPLAY_LABEL">
				<description>The display label of the type of a pointing device.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="PointingDevType_PK">
			<primary-key-column>POINTINGDEV_TYPE_ID</primary-key-column>
		</primary-key>
		<indexes>
			<index name="PointingDevType_IDX1">
				<index-column>DISPLAY_LABEL</index-column>
			</index>
		</indexes>
	</table>
	<!-- Table ends for storing pointing device type -->

	<!-- Table started for storing modem information -->
	<table name="InvPOTSModemInfo">
		<description>
			<![CDATA[
		This table will hold the POTS modem information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each POTS.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TYPE">
				<description>The type of modem (internal/external).</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ATTACHED_TO_PORT">
				<description>Port to which the POTS modem is attached.</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MAX_BAUD_RATE_TO_PHONE">
				<description>Maximum settable communication speed for accessing the phone system in bits per second.
				</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MAX_BAUD_RATE_TO_PORT">
				<description>Maximum settable communication speed to the COM port for an external modem in bits per
					second.
				</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MODEL">
				<description>The model of the POTS modem.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the POTS modem.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvPOTSModemInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvPOTSModemInfo_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvPOTSModemInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing modem information -->

	<!-- Table started for storing IDE Controller information -->
	<table name="InvIDEControllerInfo">
		<description>
			<![CDATA[
		This table will hold the Integrated Device Electronics (IDE) Controller Device information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each IDE Controller.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the IDE Controller.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvIDEControllerInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvIDEControllerInfo_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvIDEControllerInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing IDE Controller information -->

	<!-- Table started for storing PCMCIA Controller information -->
	<table name="InvPCMCIAControllerInfo">
		<description>
			<![CDATA[
		This table will hold the PCMCIA Controller information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each PCMCIA Controller.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ERROR_CODE">
				<description>The error code of PCMCIA Controller. Deafult value '0' means 'Working Properly'. Other
					error code mappings are in pcmcia-errorcode.xml
				</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_USER_CONFIG">
				<description>Is PCMCIA Controller is configured by user or not.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the PCMCIA Controller.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvPCMCIAControllerInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvPCMCIAControllerInfo_FK" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvPCMCIAControllerInfo_FK2" reference-table-name="InvReferenceID"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing PCMCIA Controller information -->

	<!-- Table started for storing PCMCIA Error codes -->
	<table name="PCMCIAErrorCode">
		<description>
			<![CDATA[
		This table will hold the error codes of PCMCIA device incase of its malfunction.
		]]>
		</description>
		<columns>
			<column name="PCMCIA_ERROR_CODE_ID">
				<description>Unique id for each PCMCIA error code.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DISPLAY_LABEL">
				<description>The display label of PCMCIA Controller's error code.</description>
				<data-type>NCHAR</data-type>
				<max-size>200</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="PCMCIAErrorCode_PK">
			<primary-key-column>PCMCIA_ERROR_CODE_ID</primary-key-column>
		</primary-key>
	</table>
	<!-- Table ends for storing PCMCIA Error codes -->

	<!-- Table started for storing CDROM Drive information -->
	<table name="InvCDROMDriveInfo">
		<description>
			<![CDATA[
		This table will hold the CD-ROM Drive information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each CD-ROM Drive.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DESCRIPTION">
				<description>The description about the CD-ROM Drive.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the CD-ROM.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCDROMDriveInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCDROMDriveInfo_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCDROMDriveInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing CDROM Drive information -->

	<!-- Table started for storing Hard Disk information -->
	<table name="InvDiskDriveInfo">
		<description>
			<![CDATA[
		This table will hold the Disk Drive information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SIZE">
				<description>The total size of the hard disk in Bytes.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_SPACE">
				<description>The free space of the hard disk in Bytes.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DESCRIPTION">
				<description>The description about the Disk Drive.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the hard disk.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvDiskDriveInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvDiskDriveInfo_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvDiskDriveInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing Hard Disk information -->

	<!-- Table started for storing USB Controller information -->
	<table name="InvUSBControllerInfo">
		<description>
			<![CDATA[
		This table will hold the USB Controller information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each USB Controller.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the USB Controller.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvUSBControllerInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvUSBControllerInfo_FK" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvUSBControllerInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing USB Controller information -->

	<!-- Table started for storing USB Hub information -->
	<table name="InvUSBHubInfo">
		<description>
			<![CDATA[
		This table will hold the USB Hub information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each USB Hub.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the USB Hub.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvUSBHubInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvUSBHubInfo_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvUSBHubInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing USB Hub information -->

	<!-- Table started for storing Serial port information -->
	<table name="InvSerialPortInfo">
		<description>
			<![CDATA[
		This table will hold the Serial Port information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each Serial Port.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_ID">
				<description>The device ID of the Serial Port.</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_BINARY_DATA_TRANSFERED">
				<description>If TRUE, the serial port is configured for binary data transfer.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MAX_BAUD_RATE">
				<description>The maximum baud rate of Serial Port in bits/second.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the Serial Port.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Uknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSerialPortInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSerialPortInfo_FK" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSerialPortInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing Serial port information -->

	<!-- Table started for storing Desktop Monitor information -->
	<table name="InvDesktopMonitorInfo">
		<description>
			<![CDATA[
		This table will hold the Desktop Monitor information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each Desktop Monitor.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MONITOR_TYPE">
				<description>The monitor type of the Desktop Monitor.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCREEN_HEIGHT">
				<description>The screen height of the desktop monitor.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCREEN_WIDTH">
				<description>The screen width of the desktop monitor.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the Desktop Monitor.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvDesktopMonitorInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvDesktopMonitorInfo_FK" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvDesktopMonitorInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing Desktop Monitor information -->

	<!-- Table started for storing Network Adapter information -->
	<table name="InvNetworkAdapterInfo">
		<description>
			<![CDATA[
		This table will hold the Network adapter information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each Network Adapter.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DNS_DOMAIN">
				<description>The dns domain of the computer where this network adapter is used.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DNS_HOST_NAME">
				<description>The name of the computer in which the adapter is used.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_DHCP_ENABLED">
				<description>Is DHCP enabled for the computer ?.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>
			<column name="DHCP_EXPIRED">
				<description>Expired date of DHCP.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DHCP_LEASE_OBTAINED">
				<description>DHCP lease obtained date.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DHCP_SERVER">
				<description>DHCP server name.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IP_ADDR">
				<description>IP address of the computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IP_SUBNET">
				<description>IP subnet for the computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEFAULT_IP_GATEWAY">
				<description>IP address of the computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvNetworkAdapterInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvNetworkAdapterInfo_FK" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvNetworkAdapterInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ended for storing Network Adapter information -->

	<!-- Table started for storing Printer information -->
	<table name="InvPrinterInfo">
		<description>
			<![CDATA[
		This table will hold the Printer information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each Printer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DRIVER_NAME">
				<description>The driver name of the printer.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PORT_NAME">
				<description>The port name of the printer.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HORIZONTAL_RESOLUTION">
				<description>The horizontal resolution of the printer.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VERTICAL_RESOLUTION">
				<description>The vertical resolution of the printer.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LOCATION">
				<description>The location of the printer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRINTER_STATE">
				<description>The current state of the printer like busy/printing/waiting etc.</description>
				<data-type>INTEGER</data-type>
				<default-value>13</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRINTER_STATUS">
				<description>The status of the printer like idle/offline etc.</description>
				<data-type>INTEGER</data-type>
				<default-value>2</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_SHARED_PRINTER">
				<description>Indicates whether the printer is shared in network or is it a local one.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>
			<column name="SERVER_NAME">
				<description>The name of the server that controller the printer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>Current status of the printer object.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvPrinterInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvPrinterInfo_FK" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvPrinterInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing Printer information -->

	<!-- Table started for storing Battery information -->
	<table name="InvBatteryInfo">
		<description>
			<![CDATA[
		This table will hold the battery information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each battery.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DESCRIPTION">
				<description>The description about the battery.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>Current status of the battery object.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvBatteryInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvBatteryInfo_FK" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvBatteryInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing Battery information -->

	<!-- Table started for storing RAM memory range information -->
	<table name="InvRAMMemoryRange">
		<description>
			<![CDATA[
		This table will hold the count for RAM memory ranges.
		Memory ranges are: < 32 MB, 33-64 MB, 65-128 MB, 129-256 MB, 257-512 MB, 513-1024 MB, > 1024 MB
		]]>
		</description>
		<columns>
			<column name="RAM_MEMORY_ID">
				<description>Unique id for the memory ranges.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DISPLAY_LABEL">
				<description>The description of the RAM range.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvRAMMemoryRange_PK">
			<primary-key-column>RAM_MEMORY_ID</primary-key-column>
		</primary-key>
	</table>
	<!-- Table ends for storing RAM memory range information -->

	<!-- Table started for storing general information of a computer resource -->
	<table name="InvComputerInfo">
		<description>
			<![CDATA[
		This table will hold the computer information.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>The resource id of the computer for which the inventory information is stored.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="BOOT_UP_STATE">
				<description>The boot up state of the Computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CAPTION">
				<description>The caption of the Computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DESCRIPTION">
				<description>The description of the Computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN">
				<description>The domain of te Computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN_ROLE">
				<description>The role of the computer in the domain.</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_INFRARED_SUPPORTED">
				<description>Indicates whether infrared is supported or not.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MODEL">
				<description>The model of the computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NAME">
				<description>The name of the computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NO_OF_PROCESSORS">
				<description>The number of processors in the computer.</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SYSTEM_TYPE">
				<description>The system type of the computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_PHYSICAL_MEMORY">
				<description>The total physical memory of the computer in bytes.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="RAM_MEMORY_ID">
				<description>Unique id for the memory ranges w.r.t ranges in InvRAMMemoryRange table.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTER_TYPE">
				<description>Describes the type of computer as Desktop/laptop/palmtop..etc. Default value is 2 -
					unknown
				</description>
				<data-type>INTEGER</data-type>
				<default-value>2</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of the USB Controller.</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvComputerInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvComputerInfo_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvComputerInfo_FK3" reference-table-name="InvRAMMemoryRange" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RAM_MEMORY_ID</fk-local-column>
						<fk-reference-column>RAM_MEMORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvComputerInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvComputerInfo_IDX2">
				<index-column>NAME</index-column>
			</index>
			<index name="InvComputerInfo_IDX3">
				<index-column>DOMAIN</index-column>
			</index>
		</indexes>
	</table>
	<!-- Table ends for storing general information of a computer resource -->



	<!-- Table started for storing Software information -->
	<table name="InvSoftware">
		<description>
			<![CDATA[
		This table will hold the list of softwares stored in Inventory.
		]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each software in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvSoftware.SOFTWARE_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="SOFTWARE_NAME">
				<description>Particular software name.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_VERSION">
				<description>Version of given software.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DETECTED_TIME">
				<description>The time at which the software is detected for FIRST time in the network.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMMENTS">
				<description>Comments about the given software.</description>
				<data-type>NCHAR</data-type>
				<max-size>2000</max-size>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSoftware_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<indexes>
			<index name="InvSoftware_IDX1">
				<index-column>SOFTWARE_NAME</index-column>
			</index>
			<index name="InvSoftware_IDX2">
				<index-column>SOFTWARE_VERSION</index-column>
			</index>
		</indexes>
	</table>
	<!-- Table ends for storing Software information -->

	<!-- Table Starts for storing Software Category information -->
	<!-- Table needs to be depricated as duplicate table exists -->
	<table name="InvSoftwareCategory">
		<description>
			<![CDATA[
		This table will hold the list of softwares groups in Inventory.
		]]>
		</description>
		<columns>
			<column name="SW_CATEGORY_ID">
				<description>Unique id for each software group in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvSoftwareCategory.SW_CATEGORY_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="SW_CATEGORY_NAME">
				<description>Software group name.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSoftwareCategory_PK">
			<primary-key-column>SW_CATEGORY_ID</primary-key-column>
		</primary-key>
		<indexes>
			<index name="InvSoftwareCategory_IDX1">
				<index-column>SW_CATEGORY_NAME</index-column>
			</index>
		</indexes>
	</table>

	<table name="InvSwtoCategoryRel">
		<description>
			<![CDATA[
		This table will relate Software groups and software in Inventory.
		]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each software in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_CATEGORY_ID">
				<description>Unique id for each software group in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="IInvCategoryToSwRel_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCategoryToSwRel_FK1" reference-table-name="InvSoftwareCategory"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SW_CATEGORY_ID</fk-local-column>
						<fk-reference-column>SW_CATEGORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvGroupToSwRel_FK2" reference-table-name="InvSoftware" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing Software Category information -->

	<!-- Table started for storing Software count information -->
	<table name="InvSoftwareCount">
		<description>
			<![CDATA[
		This table will hold the count of softwares stored in Inventory.
		]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each software in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_COUNT">
				<description>Count of a particular software in the inventory.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSoftwareCount_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSoftwareCount_FK" reference-table-name="InvSoftware" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing Software count information -->

	<!-- Table started for storing relation between Software, its manufacturer and its identification number -->
	<table name="InvSWtoManufacturerRel">
		<description>
			<![CDATA[
		This table contains the relation between softwares and manufacturers w.r.t each entry in InvResource table.
		]]>
		</description>
		<columns>
			<column name="INVENTORY_ID">
				<description>Unique id for each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_ID">
				<description>Unique id for each software.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MANUFACTURER_ID">
				<description>Unique id for each manufacturer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ID_NUMBER">
				<description>Identification number for each software.</description>
				<data-type>CHAR</data-type>
				<max-size>500</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWtoManufacturerRel_PK">
			<primary-key-column>INVENTORY_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWtoManufacturerRel_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSWtoManufacturerRel_FK2" reference-table-name="InvSoftware" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSWtoManufacturerRel_FK3" reference-table-name="InvManufacturer"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>MANUFACTURER_ID</fk-local-column>
						<fk-reference-column>MANUFACTURER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing relation between Software, its manufacturer and its identification number -->

	<!-- Table started for storing software usage information -->
	<table name="InvSWUsage">
		<description>
			<![CDATA[
		This table contains the ids for software usages. Eg: Frequently = 1, Occasionally = 2, Rarely = 3, Not Known = 4.
		]]>
		</description>
		<columns>
			<column name="SW_USAGE_ID">
				<description>Unique id for each software usage.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_USAGE">
				<description>Software usages like frequently, occasionally, frequently and not known.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWUsage_PK">
			<primary-key-column>SW_USAGE_ID</primary-key-column>
		</primary-key>
		<indexes>
			<index name="InvSWUsage_IDX1">
				<index-column>SOFTWARE_USAGE</index-column>
			</index>
		</indexes>
	</table>
	<!-- Table ends for storing software usage information -->

	<!-- Table started for storing software information -->
	<table name="InvSoftwareInfo">
		<description>
			<![CDATA[
		This table will hold the inventory software details.
		]]>
		</description>
		<columns>
			<column name="INV_REF_ID">
				<description>Unique id for the each audit that is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>Unique id for each Software.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VERSION">
				<description>The version of the Software.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_DATE">
				<description>The installed date of the software.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_USAGE_ID">
				<description>The id for each addition / updation of an inventory object.</description>
				<data-type>INTEGER</data-type>
				<default-value>4</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSoftwareInfo_PK">
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSoftwareInfo_FK1" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSoftwareInfo_FK2" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSoftwareInfo_FK3" reference-table-name="InvSWUsage" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SW_USAGE_ID</fk-local-column>
						<fk-reference-column>SW_USAGE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing software information -->

	<!-- Table started for storing client and inventory audit relation information -->
	<table name="InvAudit">
		<description>
			<![CDATA[
		This table audit information about each scan.
		]]>
		</description>
		<columns>
			<column name="AUDIT_ID">
				<description>Unique id for each audit made on the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvAudit.AUDIT_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="RESOURCE_ID">
				<description>The resource id of a given computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="AUDIT_TIME">
				<description>The time during which the audit is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="AUDIT_STATUS">
				<description>The status of the audit whether it is Successful/Failure.</description>
				<data-type>BOOLEAN</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="AUDIT_DIFF">
				<description>Indicates whether any updatation has occured or not.</description>
				<data-type>BOOLEAN</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvAudit_PK">
			<primary-key-column>AUDIT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvAudit_FK1" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing client and inventory audit relation information -->

	<!-- Table started for storing inventory audit trial information -->
	<table name="InvAuditTrial">
		<description>
			<![CDATA[
		This table audit information about each scan.
		]]>
		</description>
		<columns>
			<column name="AUDIT_ID">
				<description>Unique id for each audit made on the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INV_REF_ID">
				<description>The id for each addition / updation of an inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVENTORY_ID">
				<description>The id for each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OPERATION_TYPE">
				<description>The type of operation made as whether an object is added/updated/deleted/nochange. Value 1
					-> newly added object, 2 - object properties updated, 3 - object deleted/removed, 4 - properties of
					objects didn't change
				</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvAuditTrial_PK">
			<primary-key-column>AUDIT_ID</primary-key-column>
			<primary-key-column>INV_REF_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvAuditTrial_FK1" reference-table-name="InvAudit" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>AUDIT_ID</fk-local-column>
						<fk-reference-column>AUDIT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvAuditTrial_FK2" reference-table-name="InvResource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INVENTORY_ID</fk-local-column>
						<fk-reference-column>INVENTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvAuditTrial_FK3" reference-table-name="InvReferenceID" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_REF_ID</fk-local-column>
						<fk-reference-column>INV_REF_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing inventory audit trial information -->

	<!-- Table started for storing client and current audit relation information -->
	<table name="InvCurrentAudit">
		<description>
			<![CDATA[
		This table contains the information about inventory objects present in current scan.
		]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>Unique id for each computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="AUDIT_ID">
				<description>The id for each addition / updation of an inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCurrentAudit_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCurrentAudit_FK1" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCurrentAudit_FK2" reference-table-name="InvAudit" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>AUDIT_ID</fk-local-column>
						<fk-reference-column>AUDIT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing client and current audit relation information -->

	<!-- Table started for storing client and software usage relation information -->
	<table name="InvResourceToSWUsageRel">
		<description>
			<![CDATA[
		This table contains the information about inventory objects present in current scan.
		]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>Unique id for each computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_ID">
				<description>Unique id for each software.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="AUDIT_ID">
				<description>The id for each addition / updation of an inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_USAGE_ID">
				<description>The id for each addition / updation of an inventory object.</description>
				<data-type>INTEGER</data-type>
				<default-value>4</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvResourceToSWUsageRel_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
			<primary-key-column>SOFTWARE_ID</primary-key-column>
			<primary-key-column>AUDIT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvResourceToSWUsageRel_FK1" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvResourceToSWUsageRel_FK2" reference-table-name="InvAudit" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>AUDIT_ID</fk-local-column>
						<fk-reference-column>AUDIT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvResourceToSWUsageRel_FK3" reference-table-name="InvSoftware" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvResourceToSWUsageRel_FK4" reference-table-name="InvSWUsage" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SW_USAGE_ID</fk-local-column>
						<fk-reference-column>SW_USAGE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing client and software usage relation information -->

	<!-- Table started for storing software type -->
	<table name="InvSWType">
		<description>
			<![CDATA[
		The table contains relation between the softwares in the inventory and their type.
		]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each audit made on the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_TYPE">
				<description>The category of the software. 0 - UnIndentified, 1 - Commercial, 2 - Non Commercial
				</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWType_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWType_FK1" reference-table-name="InvSoftware" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing software type -->

	<!-- Table started for storing prohibited software information -->
	<table name="InvProhibitedSW">
		<description>
			<![CDATA[
		The table contains softwares that are allowed to be used and prohibited to be used in the inventory.
		]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each audit made on the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_USAGE_PROHIBITED">
				<description>Indicates whether a software is prohibited for usage or not. 0-Not Assigned, 1-Allowed,
					2-Prohibited
				</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvProhibitedSW_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvProhibitedSW_FK1" reference-table-name="InvSoftware" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing prohibited software information -->

	<!-- Table started for storing software license information -->
	<table name="InvSWLicenseInfo">
		<description>
			<![CDATA[
		The table contains license details for commercial softwares.
		]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each audit made on the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LICENSED_TO">
				<description>The user / organization to whom the license is registered to.</description>
				<data-type>NCHAR</data-type>
				<max-size>200</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NO_OF_COPIES">
				<description>Total number of purchased license copies.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LIC_PURCHASE_DATE">
				<description>Purchase date of the license.</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LIC_EXPIRY_DATE">
				<description>Expiry date of the license.</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REMARKS">
				<description>Any remarks regarding the license.</description>
				<data-type>NCHAR</data-type>
				<max-size>200</max-size>
				<default-value>Not Available</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWLicenseInfo_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWLicenseInfo_FK1" reference-table-name="InvSoftware" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing software license information -->

	<!-- Table started for storing software license status information -->
	<table name="InvSWLicenseStatus">
		<description>
			<![CDATA[
		The table contains license details for commercial softwares.
		]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each audit made on the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_COPIES">
				<description>Totally used license copies.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REMAINING_COPIES">
				<description>Unused license copies.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPLIANT_STATUS">
				<description>The compliance status of the license as -1 - Not Available, 0 - Under Licensed, 1 - Over
					Licensed, 2 - License Compliant
				</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_LICENSE_EXPIRED">
				<description>Is the user account is disabled ?.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWLicenseStatus_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWLicenseStatus_FK1" reference-table-name="InvSoftware" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing software license status information -->

	<!-- Table started for storing inventory summary details -->
	<table name="InvSummaryInfo">
		<description>
			<![CDATA[
		The table contains all summary informations which are to be shown in different pages especially in inventory home page.
		]]>
		</description>
		<columns>
			<column name="SUMMARY_ID">
				<description>Unique id for each summary info by domain.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvSummaryInfo.SUMMARY_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="DOMAIN_NETBIOS_NAME">
				<description>Column to store all managed domains.</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MANAGED_COMPUTER">
				<description>Total managed computer count.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_SUCCESS_COUNT">
				<description>Total successfully scanned systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_FAILED_COUNT">
				<description>Total scanning failed systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NOT_SCANNED_COUNT">
				<description>Total not scanned systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_VISTA">
				<description>Total windows vista systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_XP">
				<description>Total windows XP systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_2000">
				<description>Total windows 2000 systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERVER_OS">
				<description>Total Server systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNKNOWN_OS">
				<description>Total Unknown systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_HW">
				<description>Total hardware.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HW_VENDORS">
				<description>Total hardware vendors.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HW_TYPES">
				<description>Total hardware types.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SW">
				<description>Total software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMMERCIAL_SW">
				<description>Total commercial software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NON_COMMERCIAL_SW">
				<description>Total non-commercial software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PROHIBITED_SW">
				<description>Total prohibited software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSummaryInfo_PK">
			<primary-key-column>SUMMARY_ID</primary-key-column>
		</primary-key>

	</table>
	<!-- Table ends for storing software license status information -->

	<!-- Table started for storing inventory summary details -->
	<table name="InvSummary">
		<description>
			<![CDATA[
		The table contains all summary informations which are to be shown in different pages especially in inventory home page.
		]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>Domain Resource ID</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MANAGED_COMPUTER">
				<description>Total managed computer count.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_SUCCESS_COUNT">
				<description>Total successfully scanned systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_FAILED_COUNT">
				<description>Total scanning failed systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NOT_SCANNED_COUNT">
				<description>Total not scanned systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_VISTA">
				<description>Total windows vista systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_XP">
				<description>Total windows XP systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_2000">
				<description>Total windows 2000 systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERVER_OS">
				<description>Total Server systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNKNOWN_OS">
				<description>Total Unknown systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SW">
				<description>Total software detected in network.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMMERCIAL_SW">
				<description>Total commercial software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NON_COMMERCIAL_SW">
				<description>Total non-commercial software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PROHIBITED_SW">
				<description>Total prohibited software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNDER_LICENSED">
				<description>Total under-licensed software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OVER_LICENSED">
				<description>Total over-licensed software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IN_COMPLIANCE">
				<description>Total license in-compliance software..</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LIC_EXPIRED">
				<description>Total license expired software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SW_INSTALLATIONS">
				<description>Total software installations.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSummary_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSummary_FK1" reference-table-name="ManagedDomain" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing software license status information -->

	<!--table name ="InvCompleteSummary">
		<description>
		<![CDATA[
		The table contains all summary informations which are to be shown in different pages especially in inventory home page.
		]]>
		</description>
		<columns>
			<column name="SUMMARY_ID">
				<description>Unique id for each summary info by domain. </description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
                <uniquevalue-generation>
					<generator-name>InvCompleteSummary.SUMMARY_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="MANAGED_COMPUTER">
				<description>Total managed computer count. </description>
				<data-type>INTEGER</data-type>
                    <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
               <column name="SCAN_SUCCESS_COUNT">
				<description>Total successfully scanned systems. </description>
				<data-type>INTEGER</data-type>
                    <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
               <column name="SCAN_FAILED_COUNT">
				<description>Total scanning failed systems. </description>
				<data-type>INTEGER</data-type>
                    <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
               <column name="NOT_SCANNED_COUNT">
				<description>Total not scanned systems. </description>
				<data-type>INTEGER</data-type>
                    <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_VISTA">
				<description>Total windows vista systems. </description>
				<data-type>INTEGER</data-type>
                    <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
               <column name="WIN_XP">
				<description>Total windows XP systems. </description>
				<data-type>INTEGER</data-type>
                    <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
               <column name="WIN_2000">
				<description>Total windows 2000 systems. </description>
				<data-type>INTEGER</data-type>
                    <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
               <column name="SERVER_OS">
				<description>Total Server systems. </description>
				<data-type>INTEGER</data-type>
                    <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
               <column name="UNKNOWN_OS">
				<description>Total Unknown systems. </description>
				<data-type>INTEGER</data-type>
                    <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
            <column name="TOTAL_SW">
				<description>Total software detected in network. </description>
				<data-type>INTEGER</data-type>
                <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
           	<column name="COMMERCIAL_SW">
				<description>Total commercial software. </description>
				<data-type>INTEGER</data-type>
                    <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
		     </column>
               <column name="NON_COMMERCIAL_SW">
				<description>Total non-commercial software. </description>
				<data-type>INTEGER</data-type>
                    <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
               <column name="PROHIBITED_SW">
				<description>Total prohibited software. </description>
				<data-type>INTEGER</data-type>
                    <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNDER_LICENSED">
				<description>Total under-licensed software.</description>
				<data-type>INTEGER</data-type>
                    <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
               <column name="OVER_LICENSED">
				<description>Total over-licensed software. </description>
				<data-type>INTEGER</data-type>
                    <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
            <column name="IN_COMPLIANCE">
				<description>Total license in-compliance software.. </description>
				<data-type>INTEGER</data-type>
                    <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LIC_EXPIRED">
				<description>Total license expired software. </description>
				<data-type>INTEGER</data-type>
                    <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SW_INSTALLATIONS">
				<description>Total software installations. </description>
				<data-type>INTEGER</data-type>
                <default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCompleteSummary_PK">
			<primary-key-column>SUMMARY_ID</primary-key-column>
		</primary-key>
	</table-->

	<table name="InvRecentSWSummary">
		<description>
			<![CDATA[
		This table contains the informations about the recently installed software in the network
		]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>software id from invsoftware</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_TIME">
				<description>The most recent installation time of this software in the network</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_COMPUTER">
				<description>Computer in which this software has been installed recently</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvRecentSWSummary_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvRecentSWSummary_FK1" reference-table-name="InvSoftware" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<!-- Table ends for Inventory Queue info -->

	<table name="InvSWToParentRel">
		<description>
			<![CDATA[
		This table will relate Software and its parent Software name.
		]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each software in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PARENT_SW_ID">
				<description>Unique id for each software group in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWToParentRel_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
			<primary-key-column>PARENT_SW_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWToParentRel_FK1" reference-table-name="InvSoftware" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>PARENT_SW_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSWToParentRel_FK2" reference-table-name="InvSoftware" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvComputerToParentSWRel">
		<description>
			<![CDATA[
		This table will relate Software and its parent Software name.
		]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>Unique id for each software in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PARENT_SW_ID">
				<description>Unique id for each software group in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvComputerToParentSWRel_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
			<primary-key-column>PARENT_SW_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvComputerToParentSWRel_FK1" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvComputerToParentSWRel_FK2" reference-table-name="InvSoftware" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>PARENT_SW_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvSWGroup">
		<description>
			<![CDATA[
		This table will relate Software and its parent Software name.
		]]>
		</description>
		<columns>
			<column name="PARENT_SW_ID">
				<description>Unique id for each software in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWGroup_PK">
			<primary-key-column>PARENT_SW_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWGroup_FK1" reference-table-name="InvSoftware" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>PARENT_SW_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////// -->
	<!-- ////////////////////////        NEW INVENTORY TABLES STARTS      //////////////////////////////// -->
	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////// -->

	<!-- Table started for storing InvParams -->
	<table name="InvParams">
		<description>
			<![CDATA[
		This table will contain the inventory parameters. As the values would be in Key-Value format, this table structure captures the same.
		]]>
		</description>
		<columns>
			<column name="INV_PARAM_ID">
				<description>Unique id generated for each parameter.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvParams.INV_PARAM_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="PARAM_NAME">
				<description>Key name of the parameter.</description>
				<data-type>CHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PARAM_VALUE">
				<description>Value of the parameter.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvParams_PK">
			<primary-key-column>INV_PARAM_ID</primary-key-column>
		</primary-key>
		<indexes>
			<index name="InvParams_IDX1">
				<index-column>PARAM_NAME</index-column>
			</index>
		</indexes>
	</table>
	<!-- Table ended for storing InvParams -->

	<!-- Table started for storing component type -->
	<table name="InvComponentType">
		<description>
			<![CDATA[
			This table will hold the type of hardwares.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_TYPE">
				<description>Unique id for each type of inventory component.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPONENT_LABEL">
				<description>Type of a hardware such as Network Adapters/Sound Device/Monitor etc.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvComponentType_PK">
			<primary-key-column>COMPONENT_TYPE</primary-key-column>
		</primary-key>
		<indexes>
			<index name="InvComponentType_IDX1">
				<index-column>COMPONENT_LABEL</index-column>
			</index>
		</indexes>
	</table>
	<!-- Table ended for storing component type -->

	<!-- Table started for storing component type extension values -->
	<table name="InvComponentTypeExtn">
		<description>
			<![CDATA[
			This table will hold the type of hardwares extended property values.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_TYPE">
				<description>Unique id for each type of inventory component referred from InvComponentType table.
				</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_USER_SPECIFIC">
				<description>specifies whether the hardware can be of user specific or not.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvComponentTypeExtn_PK">
			<primary-key-column>COMPONENT_TYPE</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvComponentTypeExtn_FK" reference-table-name="InvComponentType" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_TYPE</fk-local-column>
						<fk-reference-column>COMPONENT_TYPE</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ended for storing component type -->

	<table name="InvComputer">
		<description>
			<![CDATA[
			This table will hold the computer information.
			]]>
		</description>
		<columns>
			<column name="COMPUTER_ID">
				<description>The resource id of the computer for which the inventory information is stored.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="BOOT_UP_STATE">
				<description>The boot up state of the Computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>NA</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CAPTION">
				<description>The caption of the Computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DESCRIPTION">
				<description>The description of the Computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<!--column name="DOMAIN_NAME">
				<description>The domain of te Computer. </description>
				<data-type>CHAR</data-type>
				<max-size>250</max-size>
				<default-value>-</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column-->
			<column name="DOMAIN_ROLE">
				<description>The role of the computer in the domain.</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_INFRARED_SUPPORTED">
				<description>Indicates whether infrared is supported or not.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MODEL">
				<description>The model of the computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<!--column name="NAME">
				<description>The name of the computer. </description>
				<data-type>CHAR</data-type>
				<max-size>250</max-size>
				<default-value>-</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column-->
			<column name="NO_OF_PROCESSORS">
				<description>The number of processors in the computer.</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SYSTEM_TYPE">
				<description>The system type of the computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RAM_MEMORY">
				<description>Total size of RAM or Physical memory in bytes.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="TOTAL_RAM_MEMORY_MB">
				<description>Total size of RAM or Physical memory in MB. </description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="TOTAL_RAM_MEMORY_GB">
				<description>Total size of RAM or Physical memory in GB. </description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="COMPUTER_TYPE">
				<description>Describes the type of computer as Desktop/laptop/palmtop..etc. Default value is 2 -
					unknown
				</description>
				<data-type>INTEGER</data-type>
				<default-value>2</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MANUFACTURER_ID">
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERVICETAG">
				<description>Will contain the system information regarding manufacturing. The Service tag will be unique
					across all workstations and this can be used to uniquely identify a particular system.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>The current status of computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="TOTAL_SIZE_GB">
				<description>The total size of the hard disk in GB.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_SPACE_GB">
				<description>The free space of the hard disk in GB.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DISK_USED_PERCENTAGE">
				<description>The percentage of hard disk used.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DISK_FREE_PERCENTAGE">
				<description>The percentage of hard disk free.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRIMARY_OWNER_NAME">
				<description>Name of the primary system owner.</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ASSET_TAG">
				<description>Will contain the system information regarding manufacturing. The Asset tag will be unique
					across all workstations and this can be used to uniquely identify a particular system.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="YEAR_OF_INSTALLATION">
				<description>The year in which bios is installed.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvComputer_PK">
			<primary-key-column>COMPUTER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvComputer_FK1" reference-table-name="ManagedComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvComputer_FK2" reference-table-name="InvManufacturer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>MANUFACTURER_ID</fk-local-column>
						<fk-reference-column>MANUFACTURER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvComponent">
		<description>
			<![CDATA[
			This table contains the basic details of Inventory resources like Operating System, Hardware and Software corresponding to computers in SOM.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvComponent.COMPONENT_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="COMPUTER_ID">
				<description>The resource id of a given computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPONENT_CATEGORY">
				<description>The category of inventory object as 1 = OS, 2 = Hardware and 3 = Software.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvComponent_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvComponent_FK1" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvComponent_IDX1">
				<index-column>COMPONENT_CATEGORY</index-column>
			</index>
		</indexes>
	</table>


	<table name="InvHW">
		<description>
			<![CDATA[
			This table contains the name and type of a hardware.
			]]>
		</description>
		<columns>
			<column name="HW_ID">
				<description>Unique id for each hardware component.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvHW.HW_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="HW_NAME">
				<description>Name of the hardware component.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MANUFACTURER_ID">
				<description>Id to represent the manufacturer of this inventory component.</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPONENT_TYPE">
				<description>The type of inventory object to say keyboard, usb, mouse, etc.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DETECTED_TIME">
				<description>The time at which the hardware is detected for FIRST time in the network.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for storing customer specific softwares</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvHW_PK">
			<primary-key-column>HW_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvHW_FK1" reference-table-name="InvComponentType" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_TYPE</fk-local-column>
						<fk-reference-column>COMPONENT_TYPE</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvHW_FK2" reference-table-name="InvManufacturer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>MANUFACTURER_ID</fk-local-column>
						<fk-reference-column>MANUFACTURER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvHW_FK3" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvHWComponent">
		<description>
			<![CDATA[
			This table contains the specific details of harware components.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each inventory component.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTER_ID">
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HW_ID">
				<description>Unique id for each hardware component.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPONENT_STATUS">
				<description>The status of the component.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPONENT_DESC">
				<description>Description of the component.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_ID">
				<description>Unique id for each hardware.</description>
				<data-type>NCHAR</data-type>
				<max-size>500</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPONENT_STATUS_DESCRIPTION">
				<description>The status description in detail of the component.</description>
				<data-type>NCHAR</data-type>
				<max-size>128</max-size>
				<default-value>Not Available</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvHWComponent_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvHWComponent_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvHWComponent_FK2" reference-table-name="InvHW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>HW_ID</fk-local-column>
						<fk-reference-column>HW_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvHWComponent_FK3" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<!-- InvComputerOS table isn't used now instead of this table we are using InvComputerOSRel table to store OS Details -->

	<table name="InvComputerOS">
		<description>
			<![CDATA[
			This table will hold the computer Operating System information.
			]]>
		</description>
		<columns>
			<column name="COMPUTER_ID">
				<description>The id of the component for which the inventory information is stored.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_NAME">
				<description>Name of the OS.</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VERSION">
				<description>The version of the Operating System.</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERVICE_PACK">
				<description>The service pack applied on the Operating System.</description>
				<data-type>CHAR</data-type>
				<max-size>75</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REGISTERED_USER">
				<description>The user for whom the Operating System is registered.</description>
				<data-type>CHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_CD_KEY">
				<description>The OS CD key of the Operating System.</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERIAL_NUMBER">
				<description>The Serial number of Operating System.</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VIRTUAL_MEMORY">
				<description>The virtual memory of the computer in KB.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_VIRTUAL_MEMORY">
				<description>The free virtual memory of the computer in KB.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="VIRTUAL_MEMORY_MB">
				<description>The virtual memory of the computer in MB.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_VIRTUAL_MEMORY_MB">
				<description>The free virtual memory of the computer in MB.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="VISIBLE_MEMORY">
				<description>The visible or physical memory of the computer in KB.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_VISIBLE_MEMORY">
				<description>The free visible or physical memory of the computer in KB.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="VISIBLE_MEMORY_MB">
				<description>The visible or physical memory of the computer in MB.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_VISIBLE_MEMORY_MB">
				<description>The free visible or physical memory of the computer in MB.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<!-- Columns For SDP -->
			<column name="BUILD_NUMBER">
				<description>Build number of an operating system.</description>
				<data-type>CHAR</data-type>
				<max-size>16</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERVICE_PACK_MAJOR_VERSION">
				<description>Major version number of the service pack installed on the computer system.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERVICE_PACK_MINOR_VERSION">
				<description>Minor version number of the service pack installed on the computer system.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvComputerOS_PK">
			<primary-key-column>COMPUTER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvComputerOS_FK1" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

<table name="InvOSLicenseStatus">
		<description>
			<![CDATA[
			This table will hold the Operating System License Status.
			]]>
		</description>
		<columns>
			<column name="LICENSE_STATUS_ID">
				<description>Unique ID for the license status.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
			</column>
			<column name="LICENSE_STATUS">
				<description>License status name.</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
			</column>
		</columns>
		<primary-key name="InvOSLicenseStatus_PK">
            <primary-key-column>LICENSE_STATUS_ID</primary-key-column>
        </primary-key>
</table>

	<table name="InvBios">
		<description>
			<![CDATA[
			This table will hold the Bios information. Only one BIOS is present in a system, so computer's resource id is used as PK.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id of each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VERSION">
				<description>The version of the Bios.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="RELEASE_DATE">
				<description>The date in which bios is released.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="YEAR_OF_INSTALLATION">
				<description>The year in which bios is installed.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SMBIOS_VERSION">
				<description>The version of the SMBios.(Manufacturer updation)</description>
				<data-type>CHAR</data-type>
				<max-size>64</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FIRMWARE_TYPE">
				<description>Firmware Type of BIOS UEFI/Legacy.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvBios_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvBios_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvPhysicalMemory">
		<description>
			<![CDATA[
			This table will have RAM data in managed computers.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id of each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CAPACITY">
				<description>The maximum capacity of the RAM in bytes.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MEMORY_TYPE">
				<description>The type of Memory like DRAM / SRAM / Flash memory etc.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_LOCATOR">
				<description>The locator tag like DIMM 1 / 2 / 3 / 4 or SIMM 1 / 2 / 3 / 4.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SPEED">
				<description>RAM speed in nanoseconds.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREQUENCY">
				<description>RAM speed in GHz</description>
				<data-type>DOUBLE</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="BANK_LABEL">
				<description>Physically-labeled bank where the memory is located.</description>
				<data-type>NCHAR</data-type>
				<max-size>32</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvPhysicalMemory_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvPhysicalMemory_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvPhysicalMemorySlot">
		<description>
			<![CDATA[
			This table will have RAM slots data in managed computers.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id of each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LOCATION">
				<description>Physical location of memory arry like Systemboard / PCI add-on card / PCMCIA add-on card
					etc.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CAPACITY">
				<description>The maximum memory capacity of the slot array in KB.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CAPACITY_IN_GB">
				<description>The maximum memory capacity of the slot array in GB.</description>
				<data-type>DOUBLE</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NO_OF_SLOTS">
				<description>Total number of memory slots in the memory array.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USED_SLOTS">
				<description>Total number of memory slots in use.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_SLOTS">
				<description>Total number of memory slots free.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MEMORY_TYPE">
				<description>The type of Memory like System memory, Flash memory etc.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvPhysicalMemorySlot_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvPhysicalMemorySlot_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvProcessor">
		<description>
			<![CDATA[
			This table holds the inventory data of Processors in computers under SoM.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CLOCK_SPEED">
				<description>The speed of the processor in MegaHertz.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STEPPING">
				<description>The stepping level of the processor.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FAMILY">
				<description>The family of the processor.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CHIP_SOCKET_TYPE">
				<description>The chip socket type of the processor.</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VOLTAGE_CAPABILITY">
				<description>The voltage capability of the processor.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VERSION">
				<description>The version of the processor.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NO_OF_CORES">
				<description>Total number of cores in the processor.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvProcessor_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvProcessor_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvVideoController">
		<description>
			<![CDATA[
			This table will hold the Video Controller information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each Video Controller.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPATIBILITY">
				<description>The compatibility of the video controller.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ADAPTER_RAM">
				<description>The adapter RAM size of video controller.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HORIZONTAL_RESOLUTION">
				<description>The horizontal resolution of the video controller in pixels.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VERTICAL_RESOLUTION">
				<description>The vertical resolution of the video controllerin pixels.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DRIVER_VERSION">
				<description>The driver version of the video controller.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALL_DATE">
				<description>The vertical resolution of the video controllerin pixels.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VIDEO_PROCESSOR">
				<description>Free-form string describing the video processor.</description>
				<data-type>NCHAR</data-type>
				<max-size>128</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvVideoController_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvVideoController_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvKeyboard">
		<description>
			<![CDATA[
			This table will hold the keyboard information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each keyboard.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DRIVER_INF_DATE">
				<description>driver info date of keyboard.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HARDWARE_ID">
				<description>hardware identifier of keyboard.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LOCATION_INFORMATION">
				<description>Information about the location of keyboard</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LOCATION_PATH">
				<description>Location path of the keyboard.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvKeyboard_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="Invkeyboard_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvUSBHub">
		<description>
			<![CDATA[
			This table will hold the usb hub information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each usb hub.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DRIVER_INF_DATE">
				<description>driver info date of usb hub.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HARDWARE_ID">
				<description>hardware identifier of usb hub.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LOCATION_INFORMATION">
				<description>Information about the location of usb hub</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LOCATION_PATH">
				<description>Location path of the usb hub.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvUSBHub_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvUSBHub_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvMouse">
		<description>
			<![CDATA[
			This table will hold the Pointing Device (Mouse, Touch pad..) information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each Pointing Device.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NUMBER_OF_BUTTONS">
				<description>The number of buttons in the pointing device.</description>
				<data-type>INTEGER</data-type>
				<default-value>2</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HANDEDNESS">
				<description>The handedness of the pointing device as a right/left handed. Default value '0' means
					'Unknown' handedness. The other handedness mappings are in pointingdevice-handedness.xml
				</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_INTERFACE">
				<description>The device interface of pointing device. Default value '2' means 'Unknown' device
					interface. The other device interface mappings are in pointingdevice-interfaces.xml
				</description>
				<data-type>INTEGER</data-type>
				<default-value>2</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="POINTING_TYPE">
				<description>The type of the pointing device such as Mouse/Touch Pad etc. Default value '2' means
					'Unknown' pointing type. The other device type mappings are in pointingdevice-types.xml
				</description>
				<data-type>INTEGER</data-type>
				<default-value>2</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DRIVER_INF_DATE">
				<description>DRIVER_INF_DATE.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HARDWARE_ID">
				<description>HARDWARE_ID of mouse.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LOCATION_INFORMATION">
				<description>Information about the location of mouse</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LOCATION_PATH">
				<description>Location path of the mouse.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvMouse_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvMouse_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvPOTSModem">
		<description>
			<![CDATA[
			This table will hold the POTS modem information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each POTS.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TYPE">
				<description>The type of modem (internal/external).</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ATTACHED_TO_PORT">
				<description>Port to which the POTS modem is attached.</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MAX_BAUD_RATE_TO_PHONE">
				<description>Maximum settable communication speed for accessing the phone system in bits per second.
				</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MAX_BAUD_RATE_TO_PORT">
				<description>Maximum settable communication speed to the COM port for an external modem in bits per
					second.
				</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MODEL">
				<description>The model of the POTS modem.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvPOTSModem_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvPOTSModem_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvPCMCIAController">
		<description>
			<![CDATA[
			This table will hold the PCMCIA Controller information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each PCMCIA Controller.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ERROR_CODE">
				<description>The error code of PCMCIA Controller. Deafult value '0' means 'Working Properly'. Other
					error code mappings are in pcmcia-errorcode.xml
				</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_USER_CONFIG">
				<description>Is PCMCIA Controller is configured by user or not.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvPCMCIAController_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvPCMCIAController_FK" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvCDROMDrive">
		<description>
			<![CDATA[
			This table will hold the CD-ROM Drive information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each CD-ROM Drive.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DRIVE_NAME">
				<description>The name the CD-ROM Drive.</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCDROMDrive_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCDROMDrive_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvDiskDrive">
		<description>
			<![CDATA[
			This table will hold the Disk Drive information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each hard disk object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SIZE">
				<description>The total size of the hard disk in Bytes.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_SPACE">
				<description>The free space of the hard disk in Bytes.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SIZE_GB">
				<description>The total size of the hard disk.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_SPACE_GB">
				<description>The free space of the hard disk.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_CYLINDERS">
				<description>Total number of cylinders on the physical disk drive.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="BYTES_PER_SECTOR">
				<description>Number of bytes in each sector for the physical disk drive.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SECTOR_PER_TRACK">
				<description>Number of sectors in each track for this physical disk drive.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CAPTION">
				<description>Label by which the disk drive is known.</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERIAL_NUMBER">
				<description>Label by which the disk drive is known.</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvDiskDrive_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvDiskDrive_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvLogicalDisk">
		<description>
			<![CDATA[
			This table will hold the Logical Disk information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each Logical Disk.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NAME">
				<description>The logical disk partition name such as C: or D: or E:</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DRIVE_TYPE">
				<description>The type of drive such as 'Local Disk' or 'Network Disk' or 'Compact Disc' or 'Ram Disk'
					etc. Default value '0' means 'Unknown' drive type.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MEDIA_TYPE">
				<description>The media type such as 'Removable Media' or 'Fixed hard disk' etc. Default value '0' means
					'Unknown' media type.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILE_SYSTEM">
				<description>The file system of the logical disk.</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SIZE">
				<description>The size of the Logical Disk in Bytes.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="SIZE_GB">
				<description>The size of the Logical Disk in Bytes.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="FREE_SPACE">
				<description>The free space available in Bytes.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_SPACE_GB">
				<description>The free space available in Bytes.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USED_PERCENTAGE">
				<description>The percentage of drive used.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_PERCENTAGE">
				<description>The percentage of drive free.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VOLUME_SERIAL_NUMBER">
				<description>The volume serial number of the Logical Disk.</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HD_DEVICE_ID">
				<description>Device ID of the DiskDrive.</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>--</default-value>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvLogicalDisk_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvLogicalDisk_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvSerialPort">
		<description>
			<![CDATA[
			This table will hold the Serial Port information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each Serial Port.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_ID">
				<description>The device ID of the Serial Port.</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_BINARY_DATA_TRANSFERED">
				<description>If TRUE, the serial port is configured for binary data transfer.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MAX_BAUD_RATE">
				<description>The maximum baud rate of Serial Port in bits/second.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSerialPort_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSerialPort_FK" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvMonitor">
		<description>
			<![CDATA[
			This table will hold the Desktop Monitor information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each Desktop Monitor.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MONITOR_TYPE">
				<description>The monitor type of the Desktop Monitor.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCREEN_HEIGHT">
				<description>The screen height of the desktop monitor.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCREEN_WIDTH">
				<description>The screen width of the desktop monitor.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PIXELS_PER_INCH_HORIZONTAL">
				<description>Resolution along the X axis (horizontal direction) of the monitor.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PIXELS_PER_INCH_VERTICAL">
				<description>Resolution along the Y axis (vertical direction) of the monitor.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PNP_DEVICE_ID">
				<description>PNP Device Id of the Desktop Monitor.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERIAL_NUMBER">
				<description>Serial Number of the Desktop Monitor.</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_WEEK">
				<description>Week when the monitor was installed.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_YEAR">
				<description>Year when the monitor was installed.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MONITOR_SIZE">
				<description>Size of the monitor.</description>
				<data-type>NCHAR</data-type>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvMonitor_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvMonitor_FK" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvNetworkAdapter">
		<description>
			<![CDATA[
			This table will hold the Network adapter information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each Network Adapter.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DNS_DOMAIN">
				<description>The dns domain of the computer where this network adapter is used.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DNS_HOST_NAME">
				<description>The name of the computer in which the adapter is used.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_DHCP_ENABLED">
				<description>Is DHCP enabled for the computer ?.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>
			<column name="DHCP_EXPIRED">
				<description>Expired date of DHCP.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DHCP_LEASE_OBTAINED">
				<description>DHCP lease obtained date.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DHCP_SERVER">
				<description>DHCP server name.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IP_ADDR">
				<description>IP address of the computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IP_SUBNET">
				<description>IP subnet for the computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEFAULT_IP_GATEWAY">
				<description>IP address of the computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INDEX">
				<description>ndex number of the Windows network adapter configuration.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DNS_SERVER_SEARCH_ORDER">
				<description>Array of server IP addresses to be used in querying for DNS servers.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NET_CONNECTION_STATUS">
				<description>Net connection status of the network adapter.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvNetworkAdapter_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvNetworkAdapter_FK" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvPrinter">
		<description>
			<![CDATA[
			This table will hold the Printer information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each Printer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DRIVER_NAME">
				<description>The driver name of the printer.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PORT_NAME">
				<description>The port name of the printer.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HORIZONTAL_RESOLUTION">
				<description>The horizontal resolution of the printer.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VERTICAL_RESOLUTION">
				<description>The vertical resolution of the printer.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LOCATION">
				<description>The location of the printer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRINTER_STATE">
				<description>The current state of the printer like busy/printing/waiting etc.</description>
				<data-type>INTEGER</data-type>
				<default-value>13</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRINTER_STATUS">
				<description>The status of the printer like idle/offline etc.</description>
				<data-type>INTEGER</data-type>
				<default-value>2</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_SHARED_PRINTER">
				<description>Indicates whether the printer is shared in network or is it a local one.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>
			<column name="SERVER_NAME">
				<description>The name of the server that controller the printer.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEFAULT">
				<description>If TRUE, the printer is the default printer.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>
			<column name="COMMENT">
				<description>Comment for a print queue.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NETWORK">
				<description>If TRUE, the printer is a network printer. If both the Local and Network properties are set
					to TRUE, then the printer is a network printer.
				</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>
			<column name="LOCAL">
				<description>If TRUE, the printer is not attached to a network.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>
			<column name="CAPTION">
				<description>Short description of an object?a one-line string.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvPrinter_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvPrinter_FK" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvSystemUsers">
		<description>
			<![CDATA[
			This table will hold the Local Users information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each system user.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTER_ID">
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ACCOUNT_TYPE">
				<description>Flags that describe the characteristics of a Windows user account.</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CAPTION">
				<description>Domain and UserName of the account.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DESCRIPTION">
				<description>Description of a local user.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_DISABLED">
				<description>Indicates whether the user account is diasbled or not.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>
			<column name="DOMAIN">
				<description>Name of the Windows domain to which a user account belongs.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FULL_NAME">
				<description>Full name of a local user.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_LOCAL_ACCOUNT">
				<description>Indicates whether the account is defined on the local computer.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>true</default-value>
				<nullable>false</nullable>
			</column>
			<column name="IS_LOCKOUT">
				<description>Indicates whether the user account is locked out of the Windows operating system.
				</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>
			<column name="NAME">
				<description>Name of the Windows user account on the domain.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_PASSWORD_CHANGEABLE">
				<description>Indicates whether the password on this user account can be changed.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>
			<column name="PASSWORD_EXPIRES">
				<description>Indicates whether the password on this user expires.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>
			<column name="IS_PASSWORD_REQUIRED">
				<description>Indicates whether a password is required for the user.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>true</default-value>
				<nullable>false</nullable>
			</column>
			<column name="SID">
				<description>Security identifier (SID) for the user account.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SID_TYPE">
				<description>Enumerated value that specifies the type of SID.</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>Status of local user.</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CUSTOM_POPULATED">
				<description>Was local user was populated as part of Group member and not ClassID 29.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>
		</columns>
		<primary-key name="InvSystemUsers_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSystemUsers_FK" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSystemUsers_FK1" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvServices">
		<description>
			<![CDATA[
			This table will hold the Services information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each service.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTER_ID">
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DISPLAY_NAME">
				<description>Short description of the service.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DESCRIPTION">
				<description>Description of the service.</description>
				<data-type>NCHAR</data-type>
				<max-size>3001</max-size>
				<default-value></default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NAME">
				<description>Unique identifier of the service.</description>
				<data-type>NCHAR</data-type>
				<max-size>128</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PATH_NAME">
				<description>Fully-qualified path to the service binary file that implements the service.</description>
				<data-type>NCHAR</data-type>
				<max-size>500</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERVICE_TYPE">
				<description>Type of service provided to calling processes.</description>
				<data-type>NCHAR</data-type>
				<max-size>32</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="START_MODE">
				<description>Start mode of the Windows base service.</description>
				<data-type>NCHAR</data-type>
				<max-size>16</max-size>
				<default-value>Manual</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LOGON_NAME">
				<description>Account name under which a service runs.</description>
				<data-type>NCHAR</data-type>
				<max-size>128</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATE">
				<description>State of the base service.</description>
				<data-type>NCHAR</data-type>
				<max-size>32</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvServices_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvServices_FK" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvServices_FK1" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvGroups">
		<description>
			<![CDATA[
			This table will hold the Group Account information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each group account.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTER_ID">
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DESCRIPTION">
				<description>Description of the group account.</description>
				<data-type>NCHAR</data-type>
				<max-size>2000</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NAME">
				<description>Name of the Windows group account on the domain specified by the Domain property of this
					class.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN_NAME">
				<description>Domain name where the group participates.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_LOCAL_GROUP">
				<description>Specifies whether the group is locally created or not.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>true</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SID">
				<description>Security identifier (SID) for this account.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>Current status of the object.</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvGroups_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvGroups_FK" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvGroups_FK1" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvGroupMembers">
		<description>
			<![CDATA[
			This table will hold the Group Members information.
			]]>
		</description>
		<columns>
			<column name="GROUP_COMPONENT_ID">
				<description>Reference id for group account.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_COMPONENT_ID">
				<description>Reference id for users account.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MEMBER_TYPE">
				<description>1 - User, 2 - Group.</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvGroupMembers_PK">
			<primary-key-column>GROUP_COMPONENT_ID</primary-key-column>
			<primary-key-column>USER_COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvGroupMembers_FK1" reference-table-name="InvGroups" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>GROUP_COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvShares">
		<description>
			<![CDATA[
			This table will hold the Shares information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each share.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTER_ID">
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TYPE">
				<description>Type of resource being shared.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PATH">
				<description>Local path of the Windows share</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DESCRIPTION">
				<description>Description of the shared resource.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_LIMIT">
				<description>Maximum simultaneous connection allowed for the share.</description>
				<data-type>NCHAR</data-type>
				<max-size>8</max-size>
				<default-value>Maximum</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NAME">
				<description>Alias given to a path set up as a share on a computer system running Windows.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

		</columns>
		<primary-key name="InvShares_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvShares_FK" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvShares_FK1" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<table name="InvSharePermissions">
		<description>
			<![CDATA[
			This table will hold the Share Permissions information.
			]]>
		</description>
		<columns>
			<column name="PERMISSION_ID">
				<description>Unique id for each share permissions.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvSharePermissions.PERMISSION_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="COMPONENT_ID">
				<description>Unique id for each share permissions.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SHARE_NAME">
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SHARE_USER_NAME">
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="READ">
				<data-type>NCHAR</data-type>
				<max-size>6</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WRITE">
				<data-type>NCHAR</data-type>
				<max-size>6</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FULL_CONTROL">
				<data-type>NCHAR</data-type>
				<max-size>6</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSharePermissions_PK">
			<primary-key-column>PERMISSION_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSharePermissions_FK" reference-table-name="InvShares" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<table name="InvParallelPort">
		<description>
			<![CDATA[
			This table will hold the Parallel port information.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each parallel port.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CAPTION">
				<description>Short description of the parallel port?a one-line string.</description>
				<data-type>NCHAR</data-type>
				<max-size>128</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_ID">
				<description>Identifier of the parallel port</description>
				<data-type>NCHAR</data-type>
				<max-size>32</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>Current status of the parallel port.</description>
				<data-type>NCHAR</data-type>
				<max-size>10</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvParallelPort_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvParallelPort_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////// -->
	<!-- ///////////                  SOFTWARE TABLES STARTED                      /////////////////////// -->
	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////// -->
	<table name="InvSW">
		<description>
			<![CDATA[
			This table will hold the list of softwares stored in Inventory.
			]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each software in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvSW.SOFTWARE_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="SOFTWARE_NAME">
				<description>Particular software name.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_VERSION">
				<description>Version of given software.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DISPLAY_NAME">
				<description>Display name of a software.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MANUFACTURER_ID">
				<description></description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DETECTED_TIME">
				<description>The time at which the software is detected for FIRST time in the network.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_USAGE_PROHIBITED">
				<description>Indicates whether a software is prohibited for usage or not. 0-Not Assigned, 1-Allowed,
					2-Prohibited
				</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_TYPE">
				<description>The category of the software. 0 - UnIndentified, 1 - Commercial, 2 - Non Commercial
				</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_UNINSTALLABLE">
				<description>Indicates whether a S/W can be uninstallable or not. Stored Values: NA / Yes / No
				</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>Not Available</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_FORMAT">
				<description>Indicates S/W installed formats. Stored Values: NA / MSI / EXE / MSI and EXE.</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>Not Available</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMMENTS">
				<description>Comments about the given software.</description>
				<data-type>NCHAR</data-type>
				<max-size>2000</max-size>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_IN_USE">
				<description>Whether the software is in use in current network.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>true</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for storing customer specific softwares</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UPDATE_SOURCE">
				<description>Indicate how the software is added into this table. 0 - Automatic, 1 - Manual, 2 - Manual
					to Automatic
				</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="SW_FAMILY">
				<description>Indicate 1 as Software, 2 as OS, 3 as Metro Apps</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="EDITION_TYPE">
				<description>Edition of the installed product, such as Standard, Enterprise etc.</description>
				<data-type>NCHAR</data-type>
				<max-size>128</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UPDATE_TYPE">
				<description>Software attribute update type 0-manual 1-automatic 2-undefined</description>
				<data-type>INTEGER</data-type>
				<default-value>2</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UPDATED_TIME">
				<description>The time at which the software license is updated.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSW_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSW_FK1" reference-table-name="InvManufacturer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>MANUFACTURER_ID</fk-local-column>
						<fk-reference-column>MANUFACTURER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSW_FK2" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvSW_IDX1">
				<index-column>SOFTWARE_NAME</index-column>
			</index>
			<index name="InvSW_IDX2">
				<index-column>SW_TYPE</index-column>
			</index>
			<index name="InvSW_IDX3">
				<index-column>IS_IN_USE</index-column>
			</index>
			<index name="InvSW_IDX4">
				<index-column>SW_FAMILY</index-column>
			</index>
		</indexes>
	</table>

	<table name="InvSWToOSRel">
		<description>
			<![CDATA[
			This table will hold the list of softwares stored in Inventory.
			]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>software id from invsw</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_PLATFORM">
				<description>OS platform of computer.1-windows,2-mac,3-linux</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWToOSRel_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
			<primary-key-column>OS_PLATFORM</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWToOSRel_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvSWToOSRel_IDX4">
				<index-column>OS_PLATFORM</index-column>
			</index>
		</indexes>
	</table>

	<table name="InvRecentlyInstalledSW">
		<description>
			<![CDATA[
			This table contains the informations about the recently installed software in the network
			]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>software id from invsoftware</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_TIME">
				<description>The most recent installation time of this software in the network</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_COMPUTER">
				<description>Computer in which this software has been installed recently</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvRecentlyInstalledSW_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvRecentlyInstalledSW_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvCustRecentlyInstalledSW">
		<description>
			<![CDATA[
			This table contains the informations about the recently installed software in the network
			]]>
		</description>
		<columns>
			<column name="CUSTOMER_ID">
				<description>Customer ID for whom the summary is being generated</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_ID">
				<description>software id from invsoftware</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_TIME">
				<description>The most recent installation time of this software in the network</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_COMPUTER">
				<description>Computer in which this software has been installed recently</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCustRecentlyInstalledSW_PK">
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>SOFTWARE_ID</primary-key-column>
			<primary-key-column>INSTALLED_COMPUTER</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCustRecentlyInstalledSW_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustRecentlyInstalledSW_FK2" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvCustTechRecentlyInstalledSW">
		<description>
			<![CDATA[
			This table contains the informations about the recently installed software in the network
			]]>
		</description>
		<columns>
			<column name="CUSTOMER_ID">
				<description>Customer ID for whom the summary is being generated</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_ID">
				<description>software id from invsoftware</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_TIME">
				<description>The most recent installation time of this software in the network</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_COMPUTER">
				<description>Computer in which this software has been installed recently</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCustTechRecentlyInstalledSW_PK">
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
			<primary-key-column>SOFTWARE_ID</primary-key-column>
			<primary-key-column>INSTALLED_COMPUTER</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCustTechRecentlyInstalledSW_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechRecentlyInstalledSW_FK2" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechRecentlyInstalledSW_FK3" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvManagedSW">
		<description>
			<![CDATA[
			This table will hold the list of softwares stored in Inventory.
			]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each software in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MANAGED_SW_ID">
				<description>Unique id (parent id) of software in the inventory, to denote this SW as parent.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvManagedSW_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvManagedSW_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvManagedSW_FK2" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>MANAGED_SW_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvSWCategory">
		<description>
			<![CDATA[
			This table will hold the list of softwares groups in Inventory.
			]]>
		</description>
		<columns>
			<column name="SW_CATEGORY_ID">
				<description>Unique id for each software group in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvSWCategory.SW_CATEGORY_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="SW_CATEGORY_NAME">
				<description>Software group name.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CREATION_TIME">
				<description>The time at which the category us created.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DESCRIPTION">
				<description>The description about the category.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for storing customer specific software group</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWCategory_PK">
			<primary-key-column>SW_CATEGORY_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWCategory_FK" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvSWCategory_IDX1">
				<index-column>SW_CATEGORY_NAME</index-column>
			</index>
		</indexes>
	</table>

	<table name="InvDefaultSWCategory">
		<description>
			<![CDATA[
			This table will hold the list of default softwares groups in Inventory.
			]]>
		</description>
		<columns>
			<column name="SW_CATEGORY_ID">
				<description>Unique id for each software group in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvDefaultSWCategory.SW_CATEGORY_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="SW_CATEGORY_NAME">
				<description>Software group name.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvDefaultSWCategory_PK">
			<primary-key-column>SW_CATEGORY_ID</primary-key-column>
		</primary-key>
		<indexes>
			<index name="InvDefaultSWCategory_IDX1">
				<index-column>SW_CATEGORY_NAME</index-column>
			</index>
		</indexes>
	</table>

	<table name="InvSWCategoryRel">
		<description>
			<![CDATA[
			This table will relate Software groups and software in Inventory.
			]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each software in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_CATEGORY_ID">
				<description>Unique id for each software group in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWCategoryRel_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWCategoryRel_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSWCategoryRel_FK2" reference-table-name="InvSWCategory" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SW_CATEGORY_ID</fk-local-column>
						<fk-reference-column>SW_CATEGORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvSWUsageType">
		<description>
			<![CDATA[
			This table contains the ids for software usages. Eg: Frequently = 1, Occasionally = 2, Rarely = 3, Not Known = 4.
			]]>
		</description>
		<columns>
			<column name="SW_USAGE_ID">
				<description>Unique id for each software usage.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_USAGE_TYPE">
				<description>Software usages like frequently, occasionally, frequently and not known.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWUsageType_PK">
			<primary-key-column>SW_USAGE_ID</primary-key-column>
		</primary-key>
	</table>

	<table name="InvSWExtn">
		<description>
			<![CDATA[
			This table will hold the inventory software architecture details.
			]]>
		</description>
		<columns>
			<column name="SOFTWARE_EXTN_ID">
				<description>Unique id for each extended software details.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvSWExtn.SOFTWARE_EXTN_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="SOFTWARE_ID">
				<description>Unique id for the each software referred from InvSW table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ARCHITECTURE">
				<description>Architecture of software(32-bit/64-bit).</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWExtn_PK">
			<primary-key-column>SOFTWARE_EXTN_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWExtn_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvSWInstalled">
		<description>
			<![CDATA[
			This table will hold the inventory software details.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each sw component of a computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTER_ID">
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_ID">
				<description>Unique id for the each software.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_DATE">
				<description>The installed date of the software.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_DATE_STR">
				<description>The installed date of the software as fetched from registry.</description>
				<data-type>CHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_USAGE_ID">
				<description>The id for each addition / updation of an inventory object.</description>
				<data-type>INTEGER</data-type>
				<default-value>4</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNINSTALL_STRING">
				<description>The uninstall string for the installed SW in a given computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>500</max-size>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
			<column name="KEY">
				<description>Product key of the software.</description>
				<data-type>NCHAR</data-type>
				<max-size>128</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LOCATION">
				<description>Location of the installed software.</description>
				<data-type>NCHAR</data-type>
				<max-size>2000</max-size>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_USERS_LOGIN">
				<description>Users who were logged in to the computer while installing the software.</description>
				<data-type>NCHAR</data-type>
				<max-size>2000</max-size>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_EXTN_ID">
				<description>Software extension id referred from invswextn table.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNINSTALL_STATUS">
				<description>Status of the uninstallation.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
			<column name="UNINSTALL_REMARKS">
				<description>Remarks/details about uninstallation.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
			<column name="DETECTED_TIME">
				<description>Time when the software was deteced in the computer. This will the current time during insertion in table</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWInstalled_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWInstalled_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSWInstalled_FK2" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSWInstalled_FK3" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvSWInstalled_IDX2">
				<index-column>SW_USAGE_ID</index-column>
			</index>
			<index name="InvSWInstalled_IDX3">
				<index-column>DETECTED_TIME</index-column>
			</index>
		</indexes>
	</table>

	<table name="InvComputerOSRel">
		<description>
			<![CDATA[
			This table will hold the computer Operating System information.
			]]>
		</description>
		<columns>
			<column name="COMPUTER_ID">
				<description>The id of the component for which the inventory information is stored.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="COMPONENT_ID">
				<description>Unique id for each sw component of a computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="SOFTWARE_ID">
				<description>software id from invsoftware</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="OS_VERSION">
				<description>The version of the Operating System.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="SERVICE_PACK">
				<description>The service pack applied on the Operating System.</description>
				<data-type>NCHAR</data-type>
				<max-size>75</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REGISTERED_USER">
				<description>The user for whom the Operating System is registered.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="VIRTUAL_MEMORY">
				<description>The virtual memory of the computer in KB.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_VIRTUAL_MEMORY">
				<description>The free virtual memory of the computer in KB.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="VIRTUAL_MEMORY_MB">
				<description>The virtual memory of the computer in MB.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_VIRTUAL_MEMORY_MB">
				<description>The free virtual memory of the computer in MB.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="VISIBLE_MEMORY">
				<description>The visible or physical memory of the computer in KB.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_VISIBLE_MEMORY">
				<description>The free visible or physical memory of the computer in KB.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="VISIBLE_MEMORY_MB">
				<description>The visible or physical memory of the computer in MB.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_VISIBLE_MEMORY_MB">
				<description>The free visible or physical memory of the computer in MB.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<!-- Columns For SDP -->
			<column name="BUILD_NUMBER">
				<description>Build number of an operating system.</description>
				<data-type>NCHAR</data-type>
				<max-size>16</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERVICE_PACK_MAJOR_VERSION">
				<description>Major version number of the service pack installed on the computer system.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERVICE_PACK_MINOR_VERSION">
				<description>Minor version number of the service pack installed on the computer system.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_DATE">
				<description>The installed date of the software.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SYSTEM_DRIVE">
				<description>OS installed drive name</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
			</column>
			<column name="LANGUAGE_ID">
				<description>OS language</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
			</column>
			<column name="LICENSE_STATUS_ID">
				<description>License status of the OS</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
			</column>
			<column name="LICENSE_TYPE">
				<description>License Type of OS</description>
				<data-type>CHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
			</column>
		</columns>
		<primary-key name="InvComputerOSRel_PK">
			<primary-key-column>COMPUTER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvComputerOSRel_FK1" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvComputerOSRel_FK2" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvComputerOSRel_FK3" reference-table-name="InvSWInstalled" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>

		</foreign-keys>
	</table>
	
	<table name="InvOSLanguage">
		<description>
			<![CDATA[
			This table will hold the Os language details
			]]>
		</description>
		<columns>
			<column name="LANGUAGE_ID">
				<description>Unique id for each OS language</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
			</column>
			<column name="DESCRIPTION">
				<description>Description for the OS language</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
			</column>
			<column name="ABBREVIATION">
				<description>Abbrevation for the os language</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
			</column>
		</columns>
		<primary-key name="InvOSLanguage_PK">
			<primary-key-column>LANGUAGE_ID</primary-key-column>
		</primary-key>
	</table>
	
	<table name="InvSWInstalledCDKey">
		<description>
			<![CDATA[
			This table will hold the Microsoft SW details.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each sw component of a computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CD_KEY">
				<description>The CD Key for MS product in a given computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_ID">
				<description>The product ID of MS product.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALL_TYPE">
				<description>The installation type of MS product like Trial / Licensed / Basic.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWInstalledCDKey_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWInstalledCDKey_FK1" reference-table-name="InvSWInstalled" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvComputerToManagedSWRel">
		<description>
			<![CDATA[
			This table will hold the one-to-one relation between Computer and Managed Software
			]]>
		</description>
		<columns>
			<column name="COMPUTER_ID">
				<description>Unique id for each computer in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MANAGED_SW_ID">
				<description>Unique id (parent id) of software in the inventory, to denote this SW as parent.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLATION_COUNT">
				<description>Total installed count.</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvComputerToManagedSWRel_PK">
			<primary-key-column>COMPUTER_ID</primary-key-column>
			<primary-key-column>MANAGED_SW_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvComputerToManagedSWRel_FK1" reference-table-name="InvComputer"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<!--foreign-key name="InvComputerToManagedSWRel_FK2" reference-table-name="InvManagedSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>MANAGED_SW_ID</fk-local-column>
						<fk-reference-column>MANAGED_SW_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key-->
		</foreign-keys>
	</table>

	<table name="InvGroupedSW">
		<description>
			<![CDATA[
			This table will have entries for SW groups
			]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each computer in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvGroupedSW_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvGroupedSW_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<table name="InvSWVersionGrouping">
		<description>
			<![CDATA[
			This table will have entries for SW groups auto version
			]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each computer in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_AUTO_GROUPING_ENABLED">
				<description>To check whether automatic grouping is enabled for the SW Group</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VERSION_REGEX">
				<description>Grouping Version</description>
				<data-type>NCHAR</data-type>
				<max-size>20</max-size>
				<default-value>*</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWVersionGrouping_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWVersionGrouping_FK1" reference-table-name="InvGroupedSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<table name="InvSWLicense">
		<description>
			<![CDATA[
			The table contains license details for commercial softwares.
			]]>
		</description>
		<columns>
			<column name="LICENSE_ID">
				<description>Unique id for each license.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvSWLicense.LICENSE_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="LICENSE_OWNER">
				<description>Owner of the License.</description>
				<data-type>NCHAR</data-type>
				<max-size>200</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_COPIES">
				<description>Total number of purchased license copies.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_MULTIPLE">
				<description>To check License having single or Multiple License</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for storing customer specific commercial softwares</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWLicense_PK">
			<primary-key-column>LICENSE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWLicense_FK" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvSWLicenseDetails">
		<description>
			<![CDATA[
			The table contains license details for commercial softwares.
			]]>
		</description>
		<columns>
			<column name="LICENSE_DETAILS_ID">
				<description>Unique id for each license.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvSWLicenseDetails.LICENSE_DETAILS_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="LICENSE_ID">
				<description>Unique id for each license.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LICENSED_TO">
				<description>The user / organization to whom the license is registered to.</description>
				<data-type>NCHAR</data-type>
				<max-size>200</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LICENSE_NAME">
				<description>Name of the License</description>
				<data-type>NCHAR</data-type>
				<max-size>200</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NO_OF_COPIES">
				<description>Total number of purchased license copies.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PURCHASE_DATE">
				<description>Purchase date of the license.</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="EXPIRY_DATE">
				<description>Expiry date of the license.</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REMARKS">
				<description>Any remarks regarding the license.</description>
				<data-type>NCHAR</data-type>
				<max-size>2000</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LICENSE_KEY">
				<description>The license key (optional).</description>
				<data-type>NCHAR</data-type>
				<max-size>200</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LICENSE_FILE_NAME">
				<description>The license file name which is uploaded</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LICENSE_FILE_PATH">
				<description>The complete path of the license file which is stored (for internal purpose, to give
					download link)
				</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LICENSE_CANONICAL_PATH">
				<description>The complete path of the license file which is stored (for internal purpose, to give
					download link)
				</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVOICE_FILE_NAME">
				<description>The invoice file name which is uploaded</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVOICE_FILE_PATH">
				<description>The complete path of the invoice file which is stored (for internal purpose, to give
					download link)
				</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INVOICE_CANONICAL_PATH">
				<description>The complete path of the invoice file which is stored (for internal purpose, to give
					download link)
				</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWLicenseDetails_PK">
			<primary-key-column>LICENSE_DETAILS_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvLicenseDetails_FK1" reference-table-name="InvSWLicense" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>LICENSE_ID</fk-local-column>
						<fk-reference-column>LICENSE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvSWLicToResourceRel">
		<description>
			<![CDATA[
        This table can be used to map License with Computer.
        ]]>
		</description>
		<columns>
			<column name="LICENSE_DETAILS_ID">
				<description>LicenseDetails ID of the InvSWLicense</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="RESOURCE_ID">
				<description>Resource ID of a mananged computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWLicToResourceRel_PK">
			<primary-key-column>LICENSE_DETAILS_ID</primary-key-column>
			<primary-key-column>RESOURCE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWLicToResourceRel_FK1" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSWLicToResourceRel_FK2" reference-table-name="InvSWLicenseDetails"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>LICENSE_DETAILS_ID</fk-local-column>
						<fk-reference-column>LICENSE_DETAILS_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvSWLicToResourceSummary">
		<description>
			<![CDATA[
        This table can be used to store Mapping count. It means,count of the resources mapped to the particular license.
        ]]>
		</description>
		<columns>
			<column name="LICENSE_DETAILS_ID">
				<description>LicenseDetails ID of the InvSWLicense</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MAPPED_RESOURCE_COUNT">
				<description>The number of resource mapped to the particular license.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWLicToResourceSummary_PK">
			<primary-key-column>LICENSE_DETAILS_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWLicToResourceSummary_FK1" reference-table-name="InvSWLicenseDetails"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>LICENSE_DETAILS_ID</fk-local-column>
						<fk-reference-column>LICENSE_DETAILS_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>

		</foreign-keys>
	</table>





	<table name="InvLicenseToSWRel">
		<description>
			<![CDATA[
			This table will hold the list of softwares stored in Inventory.
			]]>
		</description>
		<columns>
			<column name="LICENSE_ID">
				<description>Unique id for each license in the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MANAGED_SW_ID">
				<description>Unique id (parent id) of software in the inventory, to denote this SW as parent.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvLicenseToSWRel_PK">
			<primary-key-column>LICENSE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvLicenseToSWRel_FK1" reference-table-name="InvSWLicense" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>LICENSE_ID</fk-local-column>
						<fk-reference-column>LICENSE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvLicenseToSWRel_FK2" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>MANAGED_SW_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvSWComplianceType">
		<description>
			<![CDATA[
			The table contains license details for commercial softwares.
			]]>
		</description>
		<columns>
			<column name="COMPLIANCE_ID">
				<description>Unique id for each compliance type.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPLIANCE_TYPE">
				<description>The compliance status of the license as -1 - Not Available, 0 - Under Licensed, 1 - Over
					Licensed, 2 - License Compliant
				</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DESCRIPTION">
				<description>Any description regarding the compliance type.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>Not Available</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWComplianceType_PK">
			<primary-key-column>COMPLIANCE_ID</primary-key-column>
		</primary-key>
	</table>


	<table name="InvSWLicenseUsage">
		<description>
			<![CDATA[
			The table contains license details for commercial softwares.
			]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each audit made on the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_COPIES">
				<description>Totally used license copies.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REMAINING_COPIES">
				<description>Unused license copies.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPLIANT_STATUS">
				<description>The compliance status of the license as -1 - Not Available, 0 - Under Licensed, 1 - Over
					Licensed, 2 - License Compliant
				</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_LICENSE_EXPIRED">
				<description>Is SW license Expired or not?.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWLicenseUsage_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWLicenseUsage_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvProhibitedSWDetails">
		<description>
			<![CDATA[
		The table contains softwares that are allowed to be used and prohibited to be used in the inventory.
		]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each audit made on the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
			</column>

		</columns>
		<primary-key name="InvProhibitedSWDetails_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvProhibitedSWDetails_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="BlockExecutableDetails">
        <description>Table to store App ID of Application blocked</description>
        <columns>
            <column name="APP_ID">
                <description>Unique ID for each Application</description>
                <data-type>BIGINT</data-type>
                <nullable>false</nullable>
                <unique>true</unique>
            </column>
		</columns>
        <primary-key name="BlockExecutableDetails_PK">
            <primary-key-column>APP_ID</primary-key-column>
        </primary-key>
        <foreign-keys>
            <foreign-key name="BlockExecutableDetails_FK1" reference-table-name="ApplicationDetails" isbidirectional="false">
                <fk-columns>
                    <fk-column>
                        <fk-local-column>APP_ID</fk-local-column>
                        <fk-reference-column>APP_ID</fk-reference-column>
                    </fk-column>
                </fk-columns>
                <fk-constraints>ON-DELETE-CASCADE</fk-constraints>
            </foreign-key>
        </foreign-keys>
    </table>

	<table name="InvAuditEntry">
		<description>
			<![CDATA[
			This table contains audit information:
			]]>
		</description>
		<columns>
			<column name="AUDIT_ID">
				<description>Unique id for each audit made on the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvAuditEntry.AUDIT_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="AUDIT_START_TIME">
				<description>The time during which the audit is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="AUDIT_END_TIME">
				<description>The time during which the audit is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="AUDIT_TYPE">
				<description>The type of audit [1 -> OnDemand audit / 2 -> Scheduledaudit]</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="AUDIT_COMPUTER_COUNT">
				<description>The total number of computers that are involved in the current scan.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="AUDIT_COMPLETION_STATUS">
				<description>The status of audit that indicates whether it is 0 - NOT COMPLETED or 1 - COMPLETED.
				</description>
				<data-type>BOOLEAN</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvAuditEntry_PK">
			<primary-key-column>AUDIT_ID</primary-key-column>
		</primary-key>
	</table>


	<table name="InvAuditToComputerRel">
		<description>
			<![CDATA[
			This table relates the audit IDs with corresponding computer IDs that are scanned in particular time.
			]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>Unique id for each computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="AUDIT_ID">
				<description>The id for each addition / updation of an inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="AUDIT_TIME">
				<description>The time during which the audit is made.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_STATUS">
				<description>The status of inventory scan [-1 - Not done, 0 - Success, 1 - Failed].</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvAuditToComputerRel_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
			<primary-key-column>AUDIT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvAuditToComputerRel_FK1" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvAuditToComputerRel_FK2" reference-table-name="InvAuditEntry" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>AUDIT_ID</fk-local-column>
						<fk-reference-column>AUDIT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvAuditHistory">
		<description>
			<![CDATA[
			This table audit information about each scan.
			]]>
		</description>
		<columns>
			<column name="INV_AUDIT_HISTORY_ID">
				<description>Unique id for each audit made on the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvAuditHistory.INV_AUDIT_HISTORY_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="COMPUTER_ID">
				<description>The resource id of a given computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="AUDIT_ID">
				<description>The id for each addition / updation of an inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OPERATION_TYPE">
				<description>The type of operation made as whether an object is added/updated/deleted/nochange. Value 1
					-> newly added object, 2 - object properties updated, 3 - object deleted/removed, 4 - properties of
					objects didn't change
				</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvAuditHistory_PK">
			<primary-key-column>INV_AUDIT_HISTORY_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvAuditHistory_FK1" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvAuditHistory_FK2" reference-table-name="InvAuditEntry" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>AUDIT_ID</fk-local-column>
						<fk-reference-column>AUDIT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvHWAuditHistory">
		<description>
			<![CDATA[
			This table audit information about each scan.
			]]>
		</description>
		<columns>
			<column name="INV_AUDIT_HISTORY_ID">
				<description>Unique id for each audit made on the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HARDWARE_TYPE">
				<description></description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HARDWARE_NAME">
				<description></description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>Not Available</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HARDWARE_DESC">
				<description></description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>Not Available</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MANUFACTURER_NAME">
				<description>The name of the inventory object.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HW_DETAILS">
				<description></description>
				<data-type>NCHAR</data-type>
				<max-size>2000</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPONENT_ID">
				<description>the component id of the hardware</description>
				<data-type>BIGINT</data-type>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvHWAuditHistory_PK">
			<primary-key-column>INV_AUDIT_HISTORY_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvHWAuditHistory_FK1" reference-table-name="InvAuditHistory" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_AUDIT_HISTORY_ID</fk-local-column>
						<fk-reference-column>INV_AUDIT_HISTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvSWAuditHistory">
		<description>
			<![CDATA[
			This table audit information about each scan.
			]]>
		</description>
		<columns>
			<column name="INV_AUDIT_HISTORY_ID">
				<description>Unique id for each audit made on the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_ID">
				<description></description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_USAGE_TYPE">
				<description></description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_DATE">
				<description></description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWAuditHistory_PK">
			<primary-key-column>INV_AUDIT_HISTORY_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWAuditHistory_FK1" reference-table-name="InvAuditHistory" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_AUDIT_HISTORY_ID</fk-local-column>
						<fk-reference-column>INV_AUDIT_HISTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSWAuditHistory_FK2" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvHWDomainSummary">
		<description>
			<![CDATA[
			This table contains the count of each hardware present in managed domain.
			]]>
		</description>
		<columns>
			<column name="HW_ID">
				<description>Unique id for each hardware component.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN_ID">
				<description>Unique id for each managed domain.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HW_COUNT">
				<description>The total number of hardware present in the domain.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvHWDomainSummary_PK">
			<primary-key-column>HW_ID</primary-key-column>
			<primary-key-column>DOMAIN_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvHWDomainSummary_FK1" reference-table-name="InvHW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>HW_ID</fk-local-column>
						<fk-reference-column>HW_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvHWDomainSummary_FK2" reference-table-name="ManagedDomain" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>DOMAIN_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvHWBranchSummary">
		<description>
			<![CDATA[
			This table contains the count of each hardware present in managed domain.
			]]>
		</description>
		<columns>
			<column name="HW_ID">
				<description>Unique id for each hardware component.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="BRANCH_OFFICE_ID">
				<description>Unique id for each Branch office.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HW_COUNT">
				<description>The total number of hardware present in the domain.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvHWBranchSummary_PK">
			<primary-key-column>HW_ID</primary-key-column>
			<primary-key-column>BRANCH_OFFICE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvHWBranchSummary_FK1" reference-table-name="InvHW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>HW_ID</fk-local-column>
						<fk-reference-column>HW_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvHWBranchSummary_FK2" reference-table-name="BranchOfficeDetails"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>BRANCH_OFFICE_ID</fk-local-column>
						<fk-reference-column>BRANCH_OFFICE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvHWSummary">
		<description>
			<![CDATA[
			This table contains the count of each hardware present in a network.
			]]>
		</description>
		<columns>
			<column name="HW_ID">
				<description>Unique id for each hardware component.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HW_COUNT">
				<description>The total number of hardware present in the domain.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvHWSummary_PK">
			<primary-key-column>HW_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvHWSummary_FK1" reference-table-name="InvHW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>HW_ID</fk-local-column>
						<fk-reference-column>HW_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvSWDomainSummary">
		<description>
			<![CDATA[
			This table contains the count of each software present in managed domain.
			]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each software component.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN_ID">
				<description>Unique id for each managed domain.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_COUNT">
				<description>The total number of software present in the domain.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWDomainSummary_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
			<primary-key-column>DOMAIN_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWDomainSummary_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSWDomainSummary_FK2" reference-table-name="ManagedDomain" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>DOMAIN_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvSWBranchSummary">
		<description>
			<![CDATA[
			This table contains the count of each software present in managed domain.
			]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each software component.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="BRANCH_OFFICE_ID">
				<description>Unique id for each branch office.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_COUNT">
				<description>The total number of software present in the domain.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWBranchSummary_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
			<primary-key-column>BRANCH_OFFICE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWBranchSummary_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSWBranchSummary_FK2" reference-table-name="BranchOfficeDetails"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>BRANCH_OFFICE_ID</fk-local-column>
						<fk-reference-column>BRANCH_OFFICE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>


	<table name="InvSWSummary">
		<description>
			<![CDATA[
			This table contains the count of each software present in a network.
			]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each hardware component.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_COUNT">
				<description>The total number of hardware present in the domain.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWSummary_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWSummary_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="DefaultOSType">
		<description>
			<![CDATA[
			The is a pre-populated table containing the OS types supported.
			]]>
		</description>
		<columns>
			<column name="OS_TYPE_ID">
				<description>Unique id for each OS type.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>DefaultOSType.OS_TYPE_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="OPERATING_SYSTEM_TYPE">
				<description>Pre-defined Operating System type.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="DefaultOSType_PK">
			<primary-key-column>OS_TYPE_ID</primary-key-column>
		</primary-key>
	</table>

	<table name="InvCompleteSummary">
		<description>
			<![CDATA[
			The table contains all summary informations which are to be shown in different pages especially in inventory home page.
			]]>
		</description>
		<columns>
			<column name="SUMMARY_ID">
				<description>Unique id for each summary info by domain.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvCompleteSummary.SUMMARY_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="MANAGED_COMPUTER">
				<description>Total managed computer count.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_SUCCESS_COUNT">
				<description>Total successfully scanned systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_FAILED_COUNT">
				<description>Total scanning failed systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NOT_SCANNED_COUNT">
				<description>Total not scanned systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_VISTA">
				<description>Total windows vista systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_XP">
				<description>Total windows XP systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_2000">
				<description>Total windows 2000 systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERVER_OS">
				<description>Total Server systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_SEVEN">
				<description>Total Server systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNKNOWN_OS">
				<description>Total Unknown systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SW">
				<description>Total software detected in network.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMMERCIAL_SW">
				<description>Total commercial software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NON_COMMERCIAL_SW">
				<description>Total non-commercial software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PROHIBITED_SW">
				<description>Total prohibited software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNDER_LICENSED">
				<description>Total under-licensed software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OVER_LICENSED">
				<description>Total over-licensed software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IN_COMPLIANCE">
				<description>Total license in-compliance software..</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LIC_EXPIRED">
				<description>Total license expired software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SW_INSTALLATIONS">
				<description>Total software installations.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for storing customer segmented inventory details</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
			</column>
		</columns>
		<primary-key name="InvCompleteSummary_PK">
			<primary-key-column>SUMMARY_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCompleteSummary_FK" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvCompleteOSSummary">
		<description>
			<![CDATA[
			This table holds the count summary of all OS discovered in the network.
			]]>
		</description>
		<columns>
			<column name="CUSTOMER_ID">
				<description>Customer ID from InvCompleteOSSummary table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_TYPE">
				<description>Type of OS discovered for summarizing</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_COUNT">
				<description>Number of specific type of OS discovered while summarizing</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCompleteOSSummary_PK">
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>OS_TYPE</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCompleteOSSummary_FK1" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvDomainSummary">
		<description>
			<![CDATA[
			The table contains all summary informations which are to be shown in different pages especially in inventory home page.
			]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>Domain Resource ID</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MANAGED_COMPUTER">
				<description>Total managed computer count.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_SUCCESS_COUNT">
				<description>Total successfully scanned systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_FAILED_COUNT">
				<description>Total scanning failed systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NOT_SCANNED_COUNT">
				<description>Total not scanned systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_VISTA">
				<description>Total windows vista systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_XP">
				<description>Total windows XP systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_2000">
				<description>Total windows 2000 systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERVER_OS">
				<description>Total Server systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_SEVEN">
				<description>Total Server systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNKNOWN_OS">
				<description>Total Unknown systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SW">
				<description>Total software detected in network.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMMERCIAL_SW">
				<description>Total commercial software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NON_COMMERCIAL_SW">
				<description>Total non-commercial software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PROHIBITED_SW">
				<description>Total prohibited software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNDER_LICENSED">
				<description>Total under-licensed software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OVER_LICENSED">
				<description>Total over-licensed software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IN_COMPLIANCE">
				<description>Total license in-compliance software..</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LIC_EXPIRED">
				<description>Total license expired software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvDomainSummary_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvDomainSummary_FK1" reference-table-name="ManagedDomain" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvDomainOSSummary">
		<description>
			<![CDATA[
			This table holds the OS count summary of all domains in the network.
			]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>Resource ID from InvDomainSummary table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_TYPE">
				<description>Type of OS discovered for summarizing</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_COUNT">
				<description>Number of specific type of OS discovered while summarizing</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvDomainOSSummary_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
			<primary-key-column>OS_TYPE</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvDomainOSSummary_FK1" reference-table-name="InvDomainSummary" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvBranchSummary">
		<description>
			<![CDATA[
			The table contains all summary informations which are to be shown in different pages especially in inventory home page.
			]]>
		</description>
		<columns>
			<column name="BRANCH_OFFICE_ID">
				<description>Branch office ID</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MANAGED_COMPUTER">
				<description>Total managed computer count.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_SUCCESS_COUNT">
				<description>Total successfully scanned systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_FAILED_COUNT">
				<description>Total scanning failed systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NOT_SCANNED_COUNT">
				<description>Total not scanned systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_VISTA">
				<description>Total windows vista systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_XP">
				<description>Total windows XP systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_2000">
				<description>Total windows 2000 systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERVER_OS">
				<description>Total Server systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WIN_SEVEN">
				<description>Total Server systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNKNOWN_OS">
				<description>Total Unknown systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SW">
				<description>Total software detected in network.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMMERCIAL_SW">
				<description>Total commercial software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NON_COMMERCIAL_SW">
				<description>Total non-commercial software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PROHIBITED_SW">
				<description>Total prohibited software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNDER_LICENSED">
				<description>Total under-licensed software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OVER_LICENSED">
				<description>Total over-licensed software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IN_COMPLIANCE">
				<description>Total license in-compliance software..</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LIC_EXPIRED">
				<description>Total license expired software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvBranchSummary_PK">
			<primary-key-column>BRANCH_OFFICE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvBranchSummary_FK1" reference-table-name="BranchOfficeDetails" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>BRANCH_OFFICE_ID</fk-local-column>
						<fk-reference-column>BRANCH_OFFICE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvBranchOSSummary">
		<description>
			<![CDATA[
			This table holds the OS count summary of all remote offices in the network.
			]]>
		</description>
		<columns>
			<column name="BRANCH_OFFICE_ID">
				<description>Branch office ID from InvBranchSummary table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_TYPE">
				<description>Type of OS discovered for summarizing</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_COUNT">
				<description>Number of specific type of OS discovered while summarizing</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvBranchOSSummary_PK">
			<primary-key-column>BRANCH_OFFICE_ID</primary-key-column>
			<primary-key-column>OS_TYPE</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvBranchOSSummary_FK1" reference-table-name="InvBranchSummary" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>BRANCH_OFFICE_ID</fk-local-column>
						<fk-reference-column>BRANCH_OFFICE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvCustTechAuditTimeInt">
		<description>
			<![CDATA[
			This table stores the time interval of previous and current audit time.
			]]>
		</description>
		<columns>
			<column name="AUDIT_ID">
				<description>The audit ID of a perticular scan.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for whom the summary is being generated</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PREV_AUDIT_TIME">
				<description>Scanning time for the audit scan.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CURR_AUDIT_TIME">
				<description>Scanning time for the audit scan.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CURR_AUDIT_TIME_LONG">
				<description>Scanning time for the audit scan.</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_SCHEDULED_SCAN">
				<description>stores whether the audit done is scheduled or not</description>
				<data-type>BOOLEAN</data-type>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCustTechAuditTimeInt_PK">
			<primary-key-column>AUDIT_ID</primary-key-column>
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCustTechAuditTimeInt_FK1" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>

			<foreign-key name="InvCustTechAuditTimeInt_FK2" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>

			<foreign-key name="InvCustTechAuditTimeInt_FK3" reference-table-name="InvAuditEntry" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>AUDIT_ID</fk-local-column>
						<fk-reference-column>AUDIT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvCustTechScanSummary">
		<description>
			<![CDATA[
			This table stores the latest inventory scan summary in each computers.
			]]>
		</description>
		<columns>
			<column name="CUSTOMER_ID">
				<description>Customer ID for whom the summary is being generated</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN_NETBIOS_NAME">
				<description>The netbios or Pre Windows2000 name of a domain.</description>
				<data-type>NCHAR</data-type>
				<max-size>30</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_COMPUTERS_COUNT">
				<description>The total number of computers in SoM.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_SUCCESS_COUNT">
				<description>The total number of computers in which current inventory scan was successful.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_FAILED_COUNT">
				<description>The total number of computers in which current inventory scan failed.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_NOT_DONE_COUNT">
				<description>The total number of computers in which inventory scan was not done currently.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCustTechScanSummary_PK">
			<primary-key-column>DOMAIN_NETBIOS_NAME</primary-key-column>
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCustTechScanSummary_FK1" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechScanSummary_FK2" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvCustTechPSWSummary">
		<description>
			<![CDATA[
			Table for storing prohibited software summary.
			]]>
		</description>
		<columns>
			<column name="CUSTOMER_ID">
				<description>Customer ID for whom the summary is being generated</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN_NETBIOS_NAME">
				<description>The netbios or Pre Windows2000 name of a domain.</description>
				<data-type>NCHAR</data-type>
				<max-size>30</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_NAME">
				<description>Particular software name.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_VERSION">
				<description>Version of given software.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_INSTALL_COUNT">
				<description>The installation count of particular prohibited SW identified in all the computers in
					SoM.
				</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CURRSCAN_INSTALL_COUNT">
				<description>The installation count of particular prohibited SW identified in the set of computers that
					are currenly scanned.
				</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTERS_TRIMMED">
				<description>computer names trimmed.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALLED_COMPUTERS">
				<description>computer names.</description>
				<data-type>NCHAR</data-type>
				<max-size>1000</max-size>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCustTechPSWSummary_PK">
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
			<primary-key-column>DOMAIN_NETBIOS_NAME</primary-key-column>
			<primary-key-column>SOFTWARE_NAME</primary-key-column>
			<primary-key-column>SOFTWARE_VERSION</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCustTechPSWSummary_FK1" reference-table-name="InvCustTechScanSummary"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>DOMAIN_NETBIOS_NAME</fk-local-column>
						<fk-reference-column>DOMAIN_NETBIOS_NAME</fk-reference-column>
					</fk-column>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>TECH_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechPSWSummary_FK2" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechPSWSummary_FK3" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvCustTechNewlyDetectedSW">
		<description>
			<![CDATA[
		  Table for storing newly detected SW in a network.
		  ]]>
		</description>
		<columns>
			<column name="CUSTOMER_ID">
				<description>Customer ID for whom the summary is being generated</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN_NETBIOS_NAME">
				<description>The netbios or Pre Windows2000 name of a domain.</description>
				<data-type>NCHAR</data-type>
				<max-size>30</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_NAME">
				<description>Particular software name.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_VERSION">
				<description>Version of given software.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DETECTED_COUNT">
				<description>The installation count of particular SW identified in computers that are currently
					scanned.
				</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTERS_TRIMMED">
				<description>The detected computers.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
			<column name="DETECTED_COMPUTERS">
				<description>The detected computers.</description>
				<data-type>NCHAR</data-type>
				<max-size>1000</max-size>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCustTechNewlyDetectedSW_PK">
			<primary-key-column>DOMAIN_NETBIOS_NAME</primary-key-column>
			<primary-key-column>SOFTWARE_NAME</primary-key-column>
			<primary-key-column>SOFTWARE_VERSION</primary-key-column>
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCustTechNewlyDetectedSW_FK1" reference-table-name="InvCustTechScanSummary"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>DOMAIN_NETBIOS_NAME</fk-local-column>
						<fk-reference-column>DOMAIN_NETBIOS_NAME</fk-reference-column>
					</fk-column>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>TECH_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechNewlyDetectedSW_FK2" reference-table-name="CustomerInfo"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechNewlyDetectedSW_FK3" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvCustTechNewlyInstalledSW">
		<description>
			<![CDATA[
		  Table for storing summary or count data of computers in which already detected SW installation is identified in current scan.
		  ]]>
		</description>
		<columns>
			<column name="CUSTOMER_ID">
				<description>Customer ID for whom the summary is being generated</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN_NETBIOS_NAME">
				<description>The netbios or Pre Windows2000 name of a domain.</description>
				<data-type>NCHAR</data-type>
				<max-size>30</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_NAME">
				<description>Particular software name.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_VERSION">
				<description>Version of given software.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="RECENTLY_INSTALLED_RESID">
				<description>Unique id of a computer in which the software installation is identified.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_INSTALL_COUNT">
				<description>The installation count of newly installed SW, identified in all the computers in SoM.
				</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CURRSCAN_INSTALL_COUNT">
				<description>The count of newly installed SW, identified in a set of computers that are currenly
					scanned.
				</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCustTechNewlyInstalledSW_PK">
			<primary-key-column>DOMAIN_NETBIOS_NAME</primary-key-column>
			<primary-key-column>SOFTWARE_NAME</primary-key-column>
			<primary-key-column>SOFTWARE_VERSION</primary-key-column>
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCustTechNewlyInstalledSW_FK1" reference-table-name="InvCustTechScanSummary"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>DOMAIN_NETBIOS_NAME</fk-local-column>
						<fk-reference-column>DOMAIN_NETBIOS_NAME</fk-reference-column>
					</fk-column>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>TECH_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechNewlyInstalledSW_FK2" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RECENTLY_INSTALLED_RESID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechNewlyInstalledSW_FK3" reference-table-name="CustomerInfo"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechNewlyInstalledSW_FK4" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvCustTechUnInstalledSW">
		<description>
			<![CDATA[
		  Table for storing summary of uninstalled Software in SoM computers during current inventory scan.
		  ]]>
		</description>
		<columns>
			<column name="CUSTOMER_ID">
				<description>Customer ID for whom the summary is being generated</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN_NETBIOS_NAME">
				<description>The netbios or Pre Windows2000 name of a domain.</description>
				<data-type>NCHAR</data-type>
				<max-size>30</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_NAME">
				<description>Particular software name.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_VERSION">
				<description>Version of given software.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="RESOURCE_ID">
				<description>Unique id of a computer in which the prohibited software is recently identified.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCustTechUnInstalledSW_PK">
			<primary-key-column>DOMAIN_NETBIOS_NAME</primary-key-column>
			<primary-key-column>SOFTWARE_NAME</primary-key-column>
			<primary-key-column>SOFTWARE_VERSION</primary-key-column>
			<primary-key-column>RESOURCE_ID</primary-key-column>
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCustTechUnInstalledSW_FK1" reference-table-name="InvCustTechScanSummary"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>DOMAIN_NETBIOS_NAME</fk-local-column>
						<fk-reference-column>DOMAIN_NETBIOS_NAME</fk-reference-column>
					</fk-column>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>TECH_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechUnInstalledSW_FK2" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechUnInstalledSW_FK3" reference-table-name="CustomerInfo"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechUnInstalledSW_FK4" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvCustTechNewlyIdentifiedHW">
		<description>
			<![CDATA[
		  Table for storing newly detected HW in a network.
		  ]]>
		</description>
		<columns>
			<column name="CUSTOMER_ID">
				<description>Customer ID for whom the summary is being generated</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN_NETBIOS_NAME">
				<description>The netbios or Pre Windows2000 name of a domain.</description>
				<data-type>NCHAR</data-type>
				<max-size>30</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HW_NAME">
				<description>Name of the hardware component.</description>
				<data-type>NCHAR</data-type>
				<max-size>150</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HW_TYPE">
				<description>The type of inventory object to say keyboard, usb, mouse, etc.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DETECTED_COUNT">
				<description>The count of particular HW identified in computers that are currently scanned.
				</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTERS_TRIMMED">
				<description>The detected computers.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
			<column name="DETECTED_COMPUTERS">
				<description>The detected computers.</description>
				<data-type>NCHAR</data-type>
				<max-size>1000</max-size>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCustTechNewlyIdentifiedHW_PK">
			<primary-key-column>DOMAIN_NETBIOS_NAME</primary-key-column>
			<primary-key-column>HW_NAME</primary-key-column>
			<primary-key-column>HW_TYPE</primary-key-column>
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCustTechNewlyIdentifiedHW_FK1" reference-table-name="InvCustTechScanSummary"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>DOMAIN_NETBIOS_NAME</fk-local-column>
						<fk-reference-column>DOMAIN_NETBIOS_NAME</fk-reference-column>
					</fk-column>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>TECH_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechNewlyIdentifiedHW_FK2" reference-table-name="CustomerInfo"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechNewlyIdentifiedHW_FK3" reference-table-name="AaaLogin"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvCustTechRemovedHW">
		<description>
			<![CDATA[
		  Table for storing the removed HW summary in SoM computers during current inventory scan.
		  ]]>
		</description>
		<columns>
			<column name="CUSTOMER_ID">
				<description>Customer ID for whom the summary is being generated</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN_NETBIOS_NAME">
				<description>The netbios or Pre Windows2000 name of a domain.</description>
				<data-type>NCHAR</data-type>
				<max-size>30</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HW_NAME">
				<description>Name of the hardware component.</description>
				<data-type>NCHAR</data-type>
				<max-size>150</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HW_TYPE">
				<description>The type of inventory object to say keyboard, usb, mouse, etc.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="RESOURCE_ID">
				<description>Unique id of a computer in which the prohibited software is recently identified.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCustTechRemovedHW_PK">
			<primary-key-column>DOMAIN_NETBIOS_NAME</primary-key-column>
			<primary-key-column>HW_NAME</primary-key-column>
			<primary-key-column>HW_TYPE</primary-key-column>
			<primary-key-column>RESOURCE_ID</primary-key-column>
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCustTechRemovedHW_FK1" reference-table-name="InvCustTechScanSummary"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>DOMAIN_NETBIOS_NAME</fk-local-column>
						<fk-reference-column>DOMAIN_NETBIOS_NAME</fk-reference-column>
					</fk-column>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>TECH_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechRemovedHW_FK2" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechRemovedHW_FK3" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechRemovedHW_FK4" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<!-- Table for Under-Licensed data w.r.t network -->

	<table name="InvCustTechUnderLicSWAlert">
		<description>
			<![CDATA[
		  Table for storing Under Licensed SW alerts.
		  ]]>
		</description>
		<columns>
			<column name="SUMMARY_ID">
				<description>Unique id for each inventory object w.r.t addition or updation.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvCustTechUnderLicSWAlert.SUMMARY_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for whom the summary is being generated</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_NAME">
				<description>Particular software name.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_VERSION">
				<description>Version of given software.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PURCHASED_COUNT">
				<description>The totally purchased license count.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USED_COUNT">
				<description>The count of license that is used in the Network.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SHORTAGE_COUNT">
				<description>The shortage count of license that is used in the Network.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCustTechUnderLicSWAlert_PK">
			<primary-key-column>SUMMARY_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCustTechUnderLicSWAlert_FK1" reference-table-name="CustomerInfo"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<!-- Table for Expired SW License data w.r.t network -->

	<table name="InvCustTechExpiredLicAlert">
		<description>
			<![CDATA[
		  Table for storing Expired SW License alerts.
		  ]]>
		</description>
		<columns>
			<column name="SUMMARY_ID">
				<description>Unique id for each inventory object w.r.t addition or updation.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvCustTechExpiredLicAlert.SUMMARY_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for whom the summary is being generated</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_NAME">
				<description>Particular software name.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_VERSION">
				<description>Version of given software.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PURCHASED_DATE">
				<description>The date on which software license is purchased.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="EXPIRY_DATE">
				<description>The license expiry date.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PURCHASED_COUNT">
				<description>The totally purchased license count.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USED_COUNT">
				<description>The count of license that is used in the Network.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SHORTAGE_COUNT">
				<description>The shortage count of license that is used in the Network.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCustTechExpiredLicAlert_PK">
			<primary-key-column>SUMMARY_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCustTechExpiredLicAlert_FK1" reference-table-name="CustomerInfo"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<!-- Table for Expired SW License data w.r.t network -->
	<table name="InvDBMigrationDetails">
		<description>
			<![CDATA[
		  Table for storing DB migration status for each computer.
		  ]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>Resource ID of a mananged computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MIGRATION_STATUS">
				<description>The status of migration. 0 -> Migration not done, 1 -> Migration successful, 2 -> Migration
					failed.
				</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvDBMigrationDetails_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvDBMigrationDetails_FK" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvSWAccessType">
		<description>
			<![CDATA[
			This table contains the ids for software Access. Eg:  0-Not Assigned, 1-Allowed, 2-Prohibited.
			]]>
		</description>
		<columns>
			<column name="SW_ACCESS_ID">
				<description>Unique id for each software usage.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_ACCESS_TYPE">
				<description>Software access type like Not Assigned, Allowed, Prohibited.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWAccessType_PK">
			<primary-key-column>SW_ACCESS_ID</primary-key-column>
		</primary-key>
	</table>

	<table name="InvSWTypeInfo">
		<description>
			<![CDATA[
		       The table contains details of the software type.
		]]>
		</description>
		<columns>
			<column name="SW_TYPE_ID">
				<description>Unique id for each audit made on the inventory.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_TYPE">
				<description>The category of the software. 0 - UnIndentified, 1 - Commercial, 2 - Non Commercial
				</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWTypeInfo_PK">
			<primary-key-column>SW_TYPE_ID</primary-key-column>
		</primary-key>

	</table>

	<table name="UninstallSWRemarks">
		<description>
			<![CDATA[
			Table for storing uninstalled S/W remarks from client computers during startup.
			]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique ID for each SW.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTER_ID">
				<description>Unique ID for each Computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TIMESTAMP">
				<description>Timestamp when the uninstall SW status was reported.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNINSTALLATION_STATUS">
				<description>Mode of switch addition 0-Success, 1-Failure.</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REMARKS">
				<description>SW uninstall remarks.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REMARKS_ARGS">
				<description>SW uninstall remarks.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
			<column name="REMARKS_EN">
				<description>SW uninstall remarks.</description>
				<data-type>NCHAR</data-type>
				<max-size>500</max-size>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="UninstallSWRemarks_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
			<primary-key-column>COMPUTER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="UninstallSWRemarks_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="UninstallSWRemarks_FK2" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<table name="UninstallSWSummary">
		<description>
			<![CDATA[
			Table for storing summary of software uninstalled for a computer.
			]]>
		</description>
		<columns>
			<column name="COMPUTER_ID">
				<description>Unique ID for each Computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_COUNT">
				<description>Number of software uninstalled for a computer</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="UninstallSWSummary_PK">
			<primary-key-column>COMPUTER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="UninstallSWSummary_FK1" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="FilterToInvSW">
		<description>
			<![CDATA[
		A Collection must be associated with a Filter to find the exact targets for which the configurations to be applied. This table captures the relation between the Collection and the Filter. Each Collection can be associated with one or more filters which inturn captures any kind of complex criteria.
		]]>
		</description>
		<columns>
			<column name="FILTER_ID">
				<description>Filter Id</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_ID">
				<description>Software Id</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILTER_INDEX">
				<description>Index of each filter in case of multiple filters defined for a collection.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="FilterToInvSW_PK">
			<primary-key-column>FILTER_ID</primary-key-column>
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>

		<foreign-keys>
			<foreign-key name="FilterToInvSW_FK1" reference-table-name="Filter" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>FILTER_ID</fk-local-column>
						<fk-reference-column>FILTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="FilterToInvSW_FK2" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<!-- Tables starts for DCQueueInvInfo -->
	<table name="DCQueueInvInfo">
		<description>
			<![CDATA[
			This table holds the information about the inventory XML files sent from agent.
			]]>
		</description>
		<columns>
			<column name="QINFO_ID">
				<description>Unique Id for each queue data.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>DCQueueInvInfo.QINFO_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="POST_TIME">
				<description>Unique time when the queue data is POSTED in server.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DATA_FILE_NAME">
				<description>The file name in which the data is stored in the file system.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="QUEUE_DATA_TYPE">
				<description>Specific type about the queue data. Example Power Update, Refresh Update, etc</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="QUEUE_DATA_STATE">
				<description>Two states of file are identified 1 -> Data is present in file system and DB, 2 -> Data is
					present in memory and DB. The row is deleted when the data is populated in DB.
				</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REQUEST_ID">
				<description>Logging thread local value.</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<default-value>NA</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_PRIORITY">
				<description>Priority for Queue.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="DCQueueInvInfo_PK">
			<primary-key-column>QINFO_ID</primary-key-column>
		</primary-key>
	</table>

	<table name="DCQueueInvInfoExtn">
		<description>
			<![CDATA[
			This table holds the information about the inventory XML to resource mapping.
			]]>
		</description>
		<columns>
			<column name="QINFO_ID">
				<description>Unique Id for each queue data.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
			</column>
			<column name="RESOURCE_ID">
				<description>Unique id for each computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="AUDIT_ID">
				<description>Unique id for each audit made on the inventory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="DCQueueInvInfoExtn_PK">
			<primary-key-column>QINFO_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="DCQueueInvInfoExtn_FK1" reference-table-name="DCQueueInvInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>QINFO_ID</fk-local-column>
						<fk-reference-column>QINFO_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="DCQueueInvRefInfo">
		<description>
			<![CDATA[
			This table holds the information about the inventory queue to resource mapping.
			]]>
		</description>
		<columns>
			<column name="QINFO_ID">
				<description>Unique Id for each queue data.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
			</column>
			<column name="REFERENCE_ID">
				<description>Unique id for each computer.RESOURCE_ID to be used.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="DCQueueInvRefInfo_PK">
			<primary-key-column>QINFO_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="DCQueueInvRefInfo_FK1" reference-table-name="DCQueueInvInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>QINFO_ID</fk-local-column>
						<fk-reference-column>QINFO_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Tables ends for DCQueueInvInfo -->

	<table name="DCQueueUSBInfo">
		<description>
			<![CDATA[
			This table holds the information about the inventory XML files sent from agent.
			]]>
		</description>
		<columns>
			<column name="QINFO_ID">
				<description>Unique Id for each queue data.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>DCQueueUSBInfo.QINFO_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="POST_TIME">
				<description>Unique time when the queue data is POSTED in server.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DATA_FILE_NAME">
				<description>The file name in which the data is stored in the file system.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="QUEUE_DATA_TYPE">
				<description>Specific type about the queue data. Example Power Update, Refresh Update, etc</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="QUEUE_DATA_STATE">
				<description>Two states of file are identified 1 -> Data is present in file system and DB, 2 -> Data is
					present in memory and DB. The row is deleted when the data is populated in DB.
				</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REQUEST_ID">
				<description>Logging thread local value.</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<default-value>NA</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_PRIORITY">
				<description>Priority for Queue.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="DCQueueUSBInfo_PK">
			<primary-key-column>QINFO_ID</primary-key-column>
		</primary-key>
	</table>
	<!-- Tables ends for DCQueueInvInfo -->

	<!-- Tables starts for DCQueueInvSWMInfo -->
	<table name="DCQueueInvSWMInfo">
		<description>
			<![CDATA[
			This table holds the information about the inventory software metering XML files sent from agent.
			]]>
		</description>
		<columns>
			<column name="QINFO_ID">
				<description>Unique Id for each queue data.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>DCQueueInvSWMInfo.QINFO_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="POST_TIME">
				<description>Unique time when the queue data is POSTED in server.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DATA_FILE_NAME">
				<description>The file name in which the data is stored in the file system.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="QUEUE_DATA_TYPE">
				<description>Specific type about the queue data. Example Power Update, Refresh Update, etc</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="QUEUE_DATA_STATE">
				<description>Two states of file are identified 1 -> Data is present in file system and DB, 2 -> Data is
					present in memory and DB. The row is deleted when the data is populated in DB.
				</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REQUEST_ID">
				<description>Logging thread local value.</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<default-value>NA</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_PRIORITY">
				<description>Priority for Queue.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="DCQueueInvSWMInfo_PK">
			<primary-key-column>QINFO_ID</primary-key-column>
		</primary-key>
	</table>
	<!-- Tables ends for DCQueueInvSWMInfo -->

	<!-- Tables starts for DCQueueInvWarrantyInfo -->
	<table name="DCQueueInvWarrantyInfo">
		<description>
			<![CDATA[
			This table holds the data of Inventory Warranty Scan in queue.
			]]>
		</description>
		<columns>
			<column name="QINFO_ID">
				<description>Unique Id for each queue data.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>DCQueueInvWarrantyInfo.QINFO_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="POST_TIME">
				<description>Unique time when the queue data is POSTED in server.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DATA_FILE_NAME">
				<description>The file name in which the data is stored in the file system.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="QUEUE_DATA_TYPE">
				<description>Specific type about the queue data. Example Power Update, Refresh Update, etc</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="QUEUE_DATA_STATE">
				<description>Two states of file are identified 1 -> Data is present in file system and DB, 2 -> Data is
					present in memory and DB. The row is deleted when the data is populated in DB.
				</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REQUEST_ID">
				<description>Logging thread local value.</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<default-value>NA</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_PRIORITY">
				<description>Priority for Queue.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="DCQueueInvWarrantyInfo_PK">
			<primary-key-column>QINFO_ID</primary-key-column>
		</primary-key>
	</table>

	<table name="DCQueueInvWarrantyRefInfo">
		<description>
			<![CDATA[
			This table holds the information about the InvWarranty queue to resource mapping.
			]]>
		</description>
		<columns>
			<column name="QINFO_ID">
				<description>Unique Id for each queue data.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
			</column>
			<column name="REFERENCE_ID">
				<description>Unique id for each computer.RESOURCE_ID to be used.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="DCQueueInvWarrantyRefInfo_PK">
			<primary-key-column>QINFO_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="DCQueueInvWarrantyRefInfo_FK1" reference-table-name="DCQueueInvWarrantyInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>QINFO_ID</fk-local-column>
						<fk-reference-column>QINFO_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Tables ends for DCQueueInvWarrantyInfo -->

	<table name="InvWMIClassVersion">
		<description>
			<![CDATA[
			This table will contain the meta data parameters. Thease parameters will be generated along with the configuration meta data.
			]]>
		</description>
		<columns>
			<column name="ID">
				<description>Unique id generated for each parameter.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvWMIClassVersion.ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="VERSION">
				<description>Key name of the parameter.</description>
				<data-type>NCHAR</data-type>
				<max-size>25</max-size>
				<nullable>false</nullable>
			</column>
		</columns>
		<primary-key name="InvWMIClassVersion_PK">
			<primary-key-column>ID</primary-key-column>
		</primary-key>

	</table>
	<!-- Table starts for prohibited software exclusion request data for communication between server and agent, and to store them -->
	<table name="InvSWProhibitedExcReq">
		<description>
			<![CDATA[
		Table for agent server communication which will have software details
		]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>Unique id for each computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_ID">
				<description>software id from invsoftware</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_NAME">
				<description>Particular software name.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_VERSION">
				<description>Version of given software.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REQUESTED_AT">
				<description>Time when the request for approval has been sent</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REQUESTED_USER_NAME">
				<description>User who has requested for the approval.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REQUEST_MESSAGE">
				<description>Request Message from the user.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CC_LIST">
				<description>List of member to whom the reuset has been sent.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="APPROVAL_STATUS">
				<description>status of the request. depricated column for I18N usage 80021</description>
				<data-type>NCHAR</data-type>
				<max-size>32</max-size>
				<default-value>Waiting for Approval</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="EXC_PERIOD_START_AT">
				<description>Time from when the exclusion starts</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="EXC_PERIOD_IN_DAYS">
				<description>Number of days foe which the exclusion is applicable</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LAST_MODIFIED_TIME">
				<description>Time when the request was last modified.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ADMIN_MESSAGE">
				<description>Message to user from admin.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PSW_APPROVAL_STATUS">
				<description>status of the request.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

		</columns>
		<primary-key name="InvSWProhibitedExcReq_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWProhibitedExcReq_FK1" reference-table-name="ManagedComputer"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSWProhibitedExcReq_FK2" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<table name="PswApprovalStatus">
		<columns>
			<column name="APPROVAL_ID">
				<description>status of the request.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="APPROVAL_TYPE">
				<description>status of the request.</description>
				<data-type>NCHAR</data-type>
				<max-size>32</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="APPROVAL_LABEL">
				<description>status of the request.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="PswApprovalStatus_PK">
			<primary-key-column>APPROVAL_ID</primary-key-column>
		</primary-key>
	</table>

	<table name="SDPProhSWMapping">
		<description>
			<![CDATA[
        This table is used to store the parameters related to SDP prohibited SW requests
        ]]>
		</description>
		<columns>
			<column name="REQUEST_MAPPING_ID">
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="RESOURCE_ID">
				<description>Unique id for each computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_ID">
				<description>software id from invsoftware</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

		</columns>
		<primary-key name="SDPProhSWMapping_PK">
			<primary-key-column>REQUEST_MAPPING_ID</primary-key-column>
		</primary-key>

	</table>
	<!-- Table ends for software data for communication between server and agent -->

	<table name="InvSWProhibited">
		<description>
			<![CDATA[
			This table will hold the prohibited sw exc version details.
			]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>software id from invsoftware</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="EXCLUSION_TARGET_VERSION">
				<description>Time when the request was last modified.</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VERSION">
				<description>Time when the request was modified.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="XML_PATH">
				<description>Path of the software exclusion XML.</description>
				<data-type>NCHAR</data-type>
				<max-size>500</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="XML_FILE_NAME">
				<description>file name of software exclusion XML.</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWProhibited_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWProhibited_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="EmailDetails">
		<description>
			<![CDATA[
			This table will hold the details about the email to be sent like to, subject and message.
			]]>
		</description>
		<columns>
			<column name="EMAIL_ID">
				<description>Auto generated ID for mail details</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>EmailDetails.EMAIL_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for storing customer specific email details</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="EMAIL_TO">
				<description>To address to which the mail has to be sent.</description>
				<data-type>NCHAR</data-type>
				<max-size>500</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SENDER_NAME">
				<description>To address to which the mail has to be sent.</description>
				<data-type>NCHAR</data-type>
				<max-size>128</max-size>
				<default-value>noreply</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MESSAGE">
				<description>Message to be sent to the mail address.</description>
				<data-type>NCHAR</data-type>
				<max-size>500</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SUBJECT">
				<description>Subject of the mail to be sent.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="EMAIL_TYPE">
				<description>Type of Email to be send either to or cc.</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SEND_EMAIL_TO">
				<description>Email to be sent to whom.</description>
				<data-type>NCHAR</data-type>
				<max-size>32</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SEND_EMAIL_ENABLED">
				<description>Is the mail alert enabled to be sent</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>
		</columns>
		<primary-key name="EmailDetails_PK">
			<primary-key-column>EMAIL_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="EmailDetails_FK" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvSWProhibitedAudit">
		<description>
			<![CDATA[
			This table will hold the prohibited sw exc version details.
			]]>
		</description>
		<columns>
			<column name="EVENT_LOG_ID">
				<description>Unique id for each event log entry.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
			</column>
			<column name="COMPONENT_ID">
				<description>Unique id for each sw component of a computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REQUESTED_BY">
				<description>user who requested for approval or denial of a software.</description>
				<data-type>NCHAR</data-type>
				<max-size>32</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="APPROVED_BY">
				<description>user who performed approval or denial of the request.</description>
				<data-type>NCHAR</data-type>
				<max-size>32</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="AUDIT_TIME">
				<description>Time when the request was last modified.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REMARKS">
				<description>Audit Remarks.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REMARKS_ARGS">
				<description>Audit Remarks arguments.</description>
				<data-type>NCHAR</data-type>
				<max-size>512</max-size>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWProhibitedAudit_PK">
			<primary-key-column>EVENT_LOG_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWProhibitedAudit_FK1" reference-table-name="EventLog" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>EVENT_LOG_ID</fk-local-column>
						<fk-reference-column>EVENT_LOG_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvProhSWCompWiseSummary">
		<description>
			<![CDATA[
			This is a table for agent to store the computer wise
			prohibited software count.
			]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>resource id from managed computer</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_PROHIBITED_COUNT">
				<description>Total prohibited sw in the computer.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="APPROVED_PROHIBITED_COUNT">
				<description>Total prohibited sw approved for the computer.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REJECTED_PROHIBITED_COUNT">
				<description>Total prohibited sw rejected for the computer.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PENDING_APPROVAL_COUNT">
				<description>Total prohibited sw in waiting for approval state.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_REQUESTED_COUNT">
				<description>Total prohibited sw request received.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NOT_REQUESTED_COUNT">
				<description>Total prohibited sx for which no req is received.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvProhSWCompWiseSummary_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvProhSWCompWiseSummary_FK1" reference-table-name="ManagedComputer"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvProhibitedSWParams">
		<description>
			<![CDATA[
		This table will contain the inventory prohibited software auto uninstallation parameters.
		]]>
		</description>
		<columns>
			<column name="CUSTOMER_ID">
				<description>Customer ID for storing customer specific softwares</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
			</column>
			<column name="ENABLE_SW_UNINSTALLATION">
				<description>Enable auto uninstall.</description>
				<data-type>CHAR</data-type>
				<max-size>10</max-size>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_UNINSTALL_COUNT">
				<description>Number of software to uninstall during start up.</description>
				<data-type>NCHAR</data-type>
				<max-size>10</max-size>
				<default-value>5</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ENABLE_NATIVE_ALERT">
				<description>Show alert to the user.</description>
				<data-type>NCHAR</data-type>
				<max-size>10</max-size>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNINSTALL_ALERT_MESSAGE">
				<description>Alert messgae to be shown for auto uninstall.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DAYS_TO_WAIT">
				<description>Days to wait before automatically uninstalling.</description>
				<data-type>NCHAR</data-type>
				<max-size>10</max-size>
				<default-value>3</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvProhibitedSWParams_PK">
			<primary-key-column>CUSTOMER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvProhibitedSWParams_FK" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvProhibitedSWAlertMail">
		<description>
			<![CDATA[
		This table will contain the inventory prohibited software details for alert mails.
		]]>
		</description>
		<columns>
			<column name="ID">
				<description>Unique Id for each alert mail data.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvProhibitedSWAlertMail.ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="COMPUTER_NAME">
				<description>Name of the computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN_NAME">
				<description>Domain Name of the computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>128</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_NAME">
				<description>Name of the prohibited software.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_VERSION">
				<description>Versin of the prohibited software detected</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DETECTED_TIME">
				<description>Time when the software was detected in the network.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REMARKS">
				<description>Remarks.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvProhibitedSWAlertMail_PK">
			<primary-key-column>ID</primary-key-column>
		</primary-key>
	</table>

	<!-- No FK is specified for this table because this will be used to delete the unused XML periodically -->
	<table name="ResourceToProhibitedXMLRel">
		<description>
			<![CDATA[
		This table will contain the inventory prohibited software approved/rejected xml details for periodic clean up.
		]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>The resource id of a given computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
			</column>
			<column name="XML_PATH">
				<description>Path of approved/rejected XML.</description>
				<data-type>NCHAR</data-type>
				<max-size>500</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CREATED_TIME">
				<description>Time when the software was detected in the network.</description>
				<data-type>CHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

		</columns>
		<primary-key name="ResourceToProhibitedXMLRel_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="ResourceToProhibitedXMLRel_FK" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="PSWExclusionToFilterRel">
		<description>
			<![CDATA[
		This table will contain the relationship between exclusion filters and customers.
		]]>
		</description>
		<columns>
			<column name="EXC_TO_FILTER_ID">
				<description>Unique Id for each exclusion to filter relationship data.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>PSWExclusionToFilterRel.EXC_TO_FILTER_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for storing customer specific filter entries</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILTER_ID">
				<description>Filter Id</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="EXCLUSION_TYPE">
				<description>Exclusion type, 1 for Global Exclusion and 2 for Normal Exclusions</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="PSWExclusionToFilterRel_PK">
			<primary-key-column>EXC_TO_FILTER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="PSWExclusionToFilterRel_FK1" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="PSWExclusionToFilterRel_FK2" reference-table-name="Filter" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>FILTER_ID</fk-local-column>
						<fk-reference-column>FILTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<!-- New table added for storing commercial software details sent to the server -->
	<table name="InvCommercialSWDetails">
		<description>
			<![CDATA[
		This table will contain the sw ids of the software marked as commercial and sent as a mail
		]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>software id from invsoftware</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SEND_OPTION">
				<description>send mail option. 0-Always, 1-Once, 2-Never</description>
				<data-type>INTEGER</data-type>
				<default-value>2</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MAIL_SENT">
				<description>send mail option. 0-True, 1-False</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCommercialSWDetails_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCommercialSWDetails_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvCommercialSWParams">
		<description>
			<![CDATA[
		This table will contain the params that are required for sending commercial software details from customer
		]]>
		</description>
		<columns>
			<column name="ID">
				<description>Unique Id for each commercial sw entry.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvCommercialSWParams.ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="COMMERCIAL_SW_ALERT">
				<description>Frequency set by the user to send the commercial sw details to DC DB</description>
				<data-type>CHAR</data-type>
				<max-size>10</max-size>
				<default-value>once</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UPDATES_CHECK_STATUS">
				<description>Update status of the commercial ticket, whether it is updated correctly..</description>
				<data-type>CHAR</data-type>
				<max-size>10</max-size>
				<default-value>failure</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="API_KEY">
				<description>API Key for submitting data</description>
				<data-type>CHAR</data-type>
				<max-size>64</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="API_TICKET">
				<description>API Ticket for submitting data</description>
				<data-type>CHAR</data-type>
				<max-size>64</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="POST_PATH">
				<description>Path to post data from customer</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>once</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TICKET_LAST_UPDATED">
				<description>Timestamp when the ticket was last updated</description>
				<data-type>CHAR</data-type>
				<max-size>32</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TICKET_NEXT_UPDATE_BEFORE">
				<description>Timestamp befor which the next update should be done</description>
				<data-type>CHAR</data-type>
				<max-size>32</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCommercialSWParams_PK">
			<primary-key-column>ID</primary-key-column>
		</primary-key>
	</table>

	<!-- /////////////////////////////////////////////////////////////////////////////////-->
	<!-- ///////////////////////////Software Metering Tables starts///////////////////////-->
	<!-- /////////////////////////////////////////////////////////////////////////////////-->

	<table name="InvAlertHistory">
		<description>
			<![CDATA[
                     This table contains the history of the alerts which are send repeatedly.
             ]]>
		</description>
		<columns>
			<column name="INV_ALERT_HISTORY_ID">
				<description>Unique Inventory Alert History Id.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<uniquevalue-generation>
					<generator-name>InvAlertHistory.INV_ALERT_HISTORY_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="ALERT_TYPE_ID">
				<description>Reference Alert Type Id from DCAlertType.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INV_ALERT_TIME">
				<description>The time at which the alert history entry is made.</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvAlertHistory_PK">
			<primary-key-column>INV_ALERT_HISTORY_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvAlertHistory_FK1" reference-table-name="DCAlertType" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>ALERT_TYPE_ID</fk-local-column>
						<fk-reference-column>ALERT_TYPE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<table name="InvSWAlertHistory">
		<description>
			<![CDATA[
                     This table contains the history of the Software alerts which are send repeatedly.
             ]]>
		</description>
		<columns>
			<column name="INV_ALERT_HISTORY_ID">
				<description>Reference Alert Type Id from InvAlertHistory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_ID">
				<description>Reference Alert Type Id from InvSW.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTER_ID">
				<description>Reference Alert Type Id from Resource.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWAlertHistory_PK">
			<primary-key-column>INV_ALERT_HISTORY_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWAlertHistory_FK1" reference-table-name="InvAlertHistory" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_ALERT_HISTORY_ID</fk-local-column>
						<fk-reference-column>INV_ALERT_HISTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSWAlertHistory_FK2" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSWAlertHistory_FK3" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<table name="InvLicAlertHistory">
		<description>
			<![CDATA[
                     This table contains the history of the Software alerts which are send repeatedly.
             ]]>
		</description>
		<columns>
			<column name="INV_ALERT_HISTORY_ID">
				<description>Reference Alert Type Id from InvAlertHistory.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_ID">
				<description>Reference Alert Type Id from InvSW.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvLicAlertHistory_PK">
			<primary-key-column>INV_ALERT_HISTORY_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvLicAlertHistory_FK1" reference-table-name="InvAlertHistory" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>INV_ALERT_HISTORY_ID</fk-local-column>
						<fk-reference-column>INV_ALERT_HISTORY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvLicAlertHistory_FK2" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<table name="InvLicPercent">
		<description>
			<![CDATA[
             The Over and Under License alert is send by checking this user specified percentage.
             ]]>
		</description>
		<columns>
			<column name="ALERT_TYPE_ID">
				<description>Reference Alert Type Id from DCAlertType.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for storing customer specific filter entries</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LIC_PERCENTAGE">
				<description>Alerts will be send by checking this user specified percentage.</description>
				<data-type>INTEGER</data-type>
				<default-value>25</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvLicPercent_PK">
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>ALERT_TYPE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvLicPercent_FK1" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvLicPercent_FK2" reference-table-name="DCAlertType" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>ALERT_TYPE_ID</fk-local-column>
						<fk-reference-column>ALERT_TYPE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvDiskSpaceAlertPercent">
		<description>
			<![CDATA[
            	Disk Free space Lower than the specified threshold alert configuration
             ]]>
		</description>
		<columns>
			<column name="ALERT_TYPE_ID">
				<description>Reference Alert Type Id from DCAlertType.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for storing customer specific filter entries</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DISK_SPACE_ALERT_PERCENT">
				<description>Alerts will be send by checking this user specified percentage.</description>
				<data-type>INTEGER</data-type>
				<default-value>25</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvDiskSpaceAlertPercent_PK">
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>ALERT_TYPE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvDiskSpaceAlertPercent_FK1" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvDiskSpaceAlertPercent_FK2" reference-table-name="DCAlertType" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>ALERT_TYPE_ID</fk-local-column>
						<fk-reference-column>ALERT_TYPE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<table name="InvHwAlertExclusion">
		<description>
			<![CDATA[
             The table contains list of Component types of Hardware Alerts to be excluded.
             ]]>
		</description>
		<columns>
			<column name="COMPONENT_TYPE">
				<description>Reference Alert Type Id from InvComponentType.</description>
				<data-type>INTEGER</data-type>
				<nullable>true</nullable>
				<unique>true</unique>
			</column>
		</columns>
		<primary-key name="InvHwAlertExclusion_PK">
			<primary-key-column>COMPONENT_TYPE</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvHwAlertExclusion_FK1" reference-table-name="InvComponentType" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_TYPE</fk-local-column>
						<fk-reference-column>COMPONENT_TYPE</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="AppDefinitionDetails">
		<description>
			<![CDATA[
		This table will contain the details to populate the rules which is used to monitor the applications on the managed computer.
		]]>
		</description>
		<columns>
			<column name="APP_DEFINITION_ID">
				<description>Unique Id for each definition.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>AppDefinitionDetails.APP_DEFINITION_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="DEFINITION_NAME">
				<description>Name which will be used to identify the rule. The name should be unique.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>true</unique>
			</column>
			<column name="FILE_NAME">
				<description>The file name used to execute the application.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ORIGINAL_FILE_NAME">
				<description>The original file name from the header information?s of the file properties.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILE_VERSION">
				<description>The file version details from the header information?s of the file properties.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPANY_NAME">
				<description>The publisher for the software obtained from the header information?s of the file
					properties.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_NAME">
				<description>The product name obtained from the header information?s of the file properties.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_VERSION">
				<description>The product version obtained from the header information?s of the file properties. Need to
					watch since it changes.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMMAND_LINE">
				<description>The command line used for executing the application.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMMENTS">
				<description>The file version details from the header information?s of the file properties.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ADDED_BY">
				<description>user who added the rule.</description>
				<data-type>NCHAR</data-type>
				<max-size>32</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="POPULATION_MODE">
				<description>Whether populated automatically or modified by user. 0-Automatic, 1-Automatically Generated
					and added by user, 2-User Modified
				</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ADDED_TIME">
				<description>Time when the rule was added</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MODIFIED_TIME">
				<description>Time when the rule was modified</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MODIFIED_BY">
				<description>User who has modified the rule</description>
				<data-type>NCHAR</data-type>
				<max-size>32</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="AppDefinitionDetails_PK">
			<primary-key-column>APP_DEFINITION_ID</primary-key-column>
		</primary-key>
	</table>

	<table name="AppDefDetailsToCustomerRel">
		<description>
			<![CDATA[
		This table maintains the relation-ship between the application definition details and software.
		]]>
		</description>
		<columns>
			<column name="APP_DEFINITION_ID">
				<description>unique id from AppDefinitionDetails</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_ID">
				<description>Unique id for the each software.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for enabling customer specific rules</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="APP_DEFINITION_STATUS">
				<description>To maintain whether this rule need to be applied or not.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>true</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="AppDefDetailsToCustomerRel_PK">
			<primary-key-column>APP_DEFINITION_ID</primary-key-column>
			<primary-key-column>CUSTOMER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="AppDefDetailsToCustomerRel_FK1" reference-table-name="AppDefinitionDetails"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>APP_DEFINITION_ID</fk-local-column>
						<fk-reference-column>APP_DEFINITION_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="AppDefDetailsToCustomerRel_FK2" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="AppDefDetailsToCustomerRel_FK3" reference-table-name="CustomerInfo"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="SystemAppUsage">
		<description>
			<![CDATA[
			This table schema is used by the agent to send the software metering details
			]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>Unique resource ID from Resource. </description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="APP_DEFINITION_ID">
				<description>Unique ID from AppDefinitionDetails. </description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_NAME">
				<description>Username</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN">
				<description>Domain name of the user</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_SID">
				<description>The SID of the user</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LAST_USED">
				<description>date and time for the application when it is last used.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_COUNT">
				<description>Maintains the total usage count for the specified period of days.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_TIME">
				<description>Maintains the total duration for the specified period of days the application is used.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_DENIED_COUNT">
				<description>Maintains the denied event count.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILE_VERSION">
				<description>The file version details from the header information?s of the file properties.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_NAME">
				<description>The product name obtained from the header information of the file properties.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_VERSION">
				<description>The product version  obtained from the header information of the file properties. Need to watch since it changes.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UPDATED_TIME">
				<description>Maintains the date and time when the last summary has been generated on the agent  side.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="SystemAppUsage_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
			<primary-key-column>APP_DEFINITION_ID</primary-key-column>
			<primary-key-column>USER_NAME</primary-key-column>
			<primary-key-column>USER_SID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="SystemAppUsage_FK" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>



	<!--
	this table is not populated anywhere in server.
	it is used for converting the data asent by agent to DataObject
	-->
	<table name="InvAppDefinitionUsage">
		<description>
			<![CDATA[
			This table schema is used by the agent to send the software metering summary details
			]]>
		</description>
		<columns>
			<column name="APP_DEFINITION_ID">
				<description>Unique ID from AppDefinitionDetails. </description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
				<column name="USER_SID">
				<description>The SID of the user</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LAST_USED">
				<description>date and time for the application when it is last used.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_COUNT">
				<description>Maintains the total usage count for the specified period of days.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_TIME">
				<description>Maintains the total duration for the specified period of days the application is used.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILE_VERSION">
				<description>The file version details from the header information?s of the file properties.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_NAME">
				<description>The product name obtained from the header information of the file properties.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_VERSION">
				<description>The product version  obtained from the header information of the file properties. Need to watch since it changes.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvAppDefinitionUsage_PK">
			<primary-key-column>APP_DEFINITION_ID</primary-key-column>
			<primary-key-column>USER_SID</primary-key-column>
			<primary-key-column>LAST_USED</primary-key-column>
		</primary-key>
	</table>


	<!--
	this table is not populated anywhere in server.
	it is used for converting the data asent by agent to DataObject
	-->
	<table name="InvAppDefinitionUsageSummary">
		<description>
			<![CDATA[
			This table schema is used by the agent to send the software metering details
			]]>
		</description>
		<columns>
			<column name="APP_DEFINITION_ID">
				<description>Unique ID from AppDefinitionDetails. </description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
				<column name="USER_SID">
				<description>The SID of the user</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LAST_USED">
				<description>date and time for the application when it is last used.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_COUNT">
				<description>Maintains the total usage count for the specified period of days.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_TIME">
				<description>Maintains the total duration for the specified period of days the application is used.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILE_VERSION">
				<description>The file version details from the header information?s of the file properties.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_NAME">
				<description>The product name obtained from the header information of the file properties.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_VERSION">
				<description>The product version  obtained from the header information of the file properties. Need to watch since it changes.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvAppDefinitionUsageSummary_PK">
			<primary-key-column>APP_DEFINITION_ID</primary-key-column>
			<primary-key-column>USER_SID</primary-key-column>
		</primary-key>
	</table>

	<table name="SystemAppDefUsageSummary">
		<description>
			<![CDATA[
			This table maintains the managed app definition usage count and the total duration for the specified period of days with respect to managed resource.
			]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>Unique resource ID from Resource.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="APP_DEFINITION_ID">
				<description>Unique ID from AppDefinitionDetails.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_RESOURCE_ID">
				<description>Unique resource ID for each user.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_SID">
				<description>The SID of the user</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LAST_USED">
				<description>date and time for the application when it is last used.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_COUNT">
				<description>Maintains the total usage count for the specified period of days.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_TIME">
				<description>Maintains the total duration for the specified period of days the application is used.
				</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_DENIED_COUNT">
				<description>Maintains the denied event count.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILE_VERSION">
				<description>The file version details from the header information?s of the file properties.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_NAME">
				<description>The product name obtained from the header information of the file properties.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_VERSION">
				<description>The product version obtained from the header information of the file properties. Need to
					watch since it changes.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UPDATED_TIME">
				<description>Maintains the date and time when the last summary has been generated on the agent side.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="SystemAppDefUsageSummary_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
			<primary-key-column>APP_DEFINITION_ID</primary-key-column>
			<primary-key-column>USER_RESOURCE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="SystemAppDefUsageSummary_FK1" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="SystemAppDefUsageSummary_FK2" reference-table-name="AppDefinitionDetails"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>APP_DEFINITION_ID</fk-local-column>
						<fk-reference-column>APP_DEFINITION_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="SystemAppEventData">
		<description>
			<![CDATA[
			This table is used to store the correlated events of the monitored applications in each resources.
			]]>
		</description>
		<columns>
			<column name="APP_EVENT_DATA_ID">
				<description>Unique Id for each event.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>SystemAppEventData.APP_EVENT_DATA_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="APP_DEFINITION_ID">
				<description>Unique ID from AppDefinitionDetails.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="RESOURCE_ID">
				<description>Unique resource ID from Resource.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ORIGINAL_FILE_NAME">
				<description>The original file name from the header information of the file properties.</description>
				<data-type>CHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="START_TIME">
				<description>Start time of the application.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="END_TIME">
				<description>End time of the application.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_TIME">
				<description>Maintains the total duration for the specified period of days the application is used, in
					Seconds.
				</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DENIED_EVENT">
				<description>Maintains the event type.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_NAME">
				<description>The name of the user account from which the event started.</description>
				<data-type>CHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_SID">
				<description>The SID of the user account from which the event started.</description>
				<data-type>CHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILE_VERSION">
				<description>The file version details from the header information?s of the file properties.
				</description>
				<data-type>CHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_NAME">
				<description>The product name obtained from the header information of the file properties.</description>
				<data-type>CHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_VERSION">
				<description>The product version obtained from the header information of the file properties. Need to
					watch since it changes.
				</description>
				<data-type>CHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="EVENT_ADDED_TIME">
				<description>Time when the event is added in this table</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="SystemAppEventData_PK">
			<primary-key-column>APP_EVENT_DATA_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="SystemAppEventData_FK1" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="SystemAppEventData_FK2" reference-table-name="AppDefinitionDetails"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>APP_DEFINITION_ID</fk-local-column>
						<fk-reference-column>APP_DEFINITION_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvSWMeteringRulesSummary">
		<description>
			<![CDATA[
			This table is used to store the summary of usage of the rules added for monitoring a software.
			]]>
		</description>
		<columns>
			<column name="APP_DEFINITION_ID">
				<description>ID from app definition table describibg a rule.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for enabling customer specific rules</description>
				<data-type>BIGINT</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_COUNT">
				<description>Maintains the total run count of the rules for the specified period of days.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_TIME">
				<description>Maintains the total duration the rule was run during the specified period.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LAST_USED">
				<description>date and time for the application when it is last used.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UPDATED_TIME">
				<description>Maintains the date and time when the last summary has been generated on the agent side.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SWM_DISCOVERED_COUNT">
				<description>Number of computers where the metering rules are implemented.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWMeteringSummary_PK">
			<primary-key-column>APP_DEFINITION_ID</primary-key-column>
			<primary-key-column>CUSTOMER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWMeteringSummary_FK1" reference-table-name="AppDefinitionDetails" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>APP_DEFINITION_ID</fk-local-column>
						<fk-reference-column>APP_DEFINITION_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSWMeteringSummary_FK2" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvSWMeteringSettings">
		<description>
			<![CDATA[
			This table is used to store the settings for software metering
			]]>
		</description>
		<columns>
			<column name="CUSTOMER_ID">
				<description>Customer ID for which the settings are added</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_METERING_ENABLED">
				<description>Indicates whether software metering is enabled or not.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWMeteringSettings_PK">
			<primary-key-column>CUSTOMER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWMeteringSettings_FK1" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>



	<!-- /////////////////////////////////////////////////////////////////////////////////-->
	<!-- ///////////////////////////Software Metering Tables ends/////////??//////////////-->
	<!-- /////////////////////////////////////////////////////////////////////////////////-->

	<!-- /////////////////////////////////////////////////////////////////////////////////-->
	<!-- ///////////////////////////Warranty Scan Tables starts///////////////////////////-->
	<!-- /////////////////////////////////////////////////////////////////////////////////-->

	<table name="InvWarrantyVendorsDetails">
		<description>
			<![CDATA[
		This table will hold the vendor details for inventory warranty scan
		]]>
		</description>
		<columns>
			<column name="VENDOR_NAME">
				<description>Vendor name for whom the warranty details will be fetched</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CLASS_NAME">
				<description>Class name specific to vendor implementing the warranty scan interface</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="POST_PATH">
				<description>Path to post the serial number and product number to fetch the warranty details
				</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LAST_RESPONSE_CODE">
				<description>Last response code when trying to fetch the warranty.</description>
				<data-type>NCHAR</data-type>
				<max-size>10</max-size>
				<default-value>2XX</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="RETRY_COUNT_PER_DAY">
				<description>Number of times the URL has been hit in one day.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="RETRIED_DAYS_COUNT">
				<description>Number of days URL has not been in contact.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvWarrantyVendorsDetails_PK">
			<primary-key-column>VENDOR_NAME</primary-key-column>
		</primary-key>
		<indexes>
			<index name="InvWarrantyVendorsDetails_IDX">
				<index-column>CLASS_NAME</index-column>
			</index>
		</indexes>
	</table>

	<table name="InvComputerExtn">
		<description>
			<![CDATA[
			This table is used to store the computer specific data which can be either updated automatically or manually. This is for warranty scanning
			]]>
		</description>
		<columns>
			<column name="COMPUTER_ID">
				<description>The resource id of the computer for which the inventory information is stored.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_NUMBER">
				<description>Product number of a computer. This is either added automatically or updated manually
				</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_NUMBER_UPDATE_TYPE">
				<description>How the entry was added/updated 0-Automatic, 1-Manual.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SHIPPING_DATE">
				<description>Date when the computer was shipped. This can be added automatically or manually.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
			<column name="SHIPPING_DATE_UPDATE_TYPE">
				<description>How the entry was added/updated 0-Automatic, 1-Manual.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WARRANTY_EXPIRY_DATE">
				<description>Specifies the expiry date of a computers warranty. Added manually or automatically
				</description>
				<data-type>BIGINT</data-type>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
			<column name="EXPIRY_DATE_UPDATE_TYPE">
				<description>How the entry was added/updated 0-Automatic, 1-Manual.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WARRANTY_STATUS">
				<description>Status of warranty. 0-In Compliance, 1-Expired, 2-UnIdentified</description>
				<data-type>INTEGER</data-type>
				<default-value>2</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MODEL_NUMBER">
				<description>Model number of a computer. This is updated automatically
				</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MAC_SIP_ENABLED">
				<description>SIP status in macOS</description>
				<data-type>NCHAR</data-type>
				<max-size>20</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvComputerExtn_PK">
			<primary-key-column>COMPUTER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvComputerExtn_FK1" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvComputerAuditRel">
		<description>
			<![CDATA[
			This table is used to store the audit id's specific to computer
			]]>
		</description>
		<columns>
			<column name="COMPUTER_ID">
				<description>The resource id of the computer for which the inventory information is stored.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="AUDIT_ID">
				<description>Audit id for the scan failed.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>

		<primary-key name="InvComputerAuditRel_PK">
			<primary-key-column>COMPUTER_ID</primary-key-column>
			<primary-key-column>AUDIT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvComputerAuditRel_FK1" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvComputerScan">
		<description>
			<![CDATA[
			This table is used to store the computer specific scanning information
			]]>
		</description>
		<columns>
			<column name="COMPUTER_ID">
				<description>The resource id of the computer for which the inventory information is stored.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LAST_SCAN_TYPE">
				<description>Last scan type of the computer. 0 - Diff Scan, 1 - Full Scan.</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FULL_SCAN_DATA_COUNT">
				<description>Number of times full scan data is received from agent continuously.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="EMPTY_SCAN_DATA_COUNT">
				<description>Number of times empty scan data is received from agent.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PREVIOUS_SCAN_TIME">
				<description>Specifies the previous diff scan time.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CURRENT_SCAN_TIME">
				<description>Specifies the current diff scan time.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_FIRST_SCAN">
				<description>Specifies whether the current scan is first scan or not.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>true</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_LAST_SCAN_FAILED">
				<description>Specifies whether the last scan failed or not.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_FULL_SCAN_INITIATED">
				<description>Column which indicates full scan is already initiated or not.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvComputerScan_PK">
			<primary-key-column>COMPUTER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvComputerScan_FK1" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvSWNotificationInfo">
		<description>
			<![CDATA[
			This table is used to store the information for software notification
			]]>
		</description>
		<columns>
			<column name="CUSTOMER_ID">
				<description>The customer id of the customer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MAXIMUM_COUNT">
				<description>Number of software notification for the specified time limit.</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TIME_LIMIT">
				<description>Time limit to check how long the software notification has to be checked.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_NOTIFICATION_ENABLE">
				<description>Specifies whether the software notification is enabled or not.</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWNotificationInfo_PK">
			<primary-key-column>CUSTOMER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWNotificationInfo_FK1" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvWarrantyInfo">
		<description>
			<![CDATA[
			This table is used to store the details of when the warranty details was last updated and next update schedule
			]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>The resource id of the computer for which the inventory information is stored.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WARRANTY_LAST_UPDATED">
				<description>Date when the warranty details were last updated.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="WARRANTY_NEXT_UPDATE">
				<description>Date when the next update should be done.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LAST_UPDATE_TYPE">
				<description>How the entry was added/updated 0-Automatic, 1-Manual.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvWarrantyInfo_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvWarrantyInfo_FK1" reference-table-name="InvComputerExtn" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvSWSwitches">
		<description>
			<![CDATA[
			This table is used to store the silent switches that are used for uninstalling exe applications
			]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Software ID for which the silent switch is added.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SILENT_SWITCH">
				<description>Silent switch used to uninstall the software</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MODE">
				<description>Mode of switch addition 0-Automatic, 1-Manual.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWSwitches_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWSwitches_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- /////////////////////////////////////////////////////////////////////////////////-->
	<!-- ///////////////////////////Warranty Scan Tables ends/////////////////////////////-->
	<!-- /////////////////////////////////////////////////////////////////////////////////-->



	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////// -->
	<!-- ////////////////////////          NEW INVENTORY TABLES ENDS      //////////////////////////////// -->
	<!-- ///////////////////////////////////////////////////////////////////////////////////////////////// -->


	<!-- Tables starts for DCQueueSDPInvInfo -->
	<table name="DCQueueSDPInvInfo">
		<description>
			<![CDATA[
			This table holds the information about the SDP Inventory XML files.
			]]>
		</description>
		<columns>
			<column name="QINFO_ID">
				<description>Unique Id for each queue data.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>DCQueueSDPInvInfo.QINFO_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="POST_TIME">
				<description>Unique time when the queue data is POSTED in server.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DATA_FILE_NAME">
				<description>The file name in which the data is stored in the file system.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="QUEUE_DATA_TYPE">
				<description>Specific type about the queue data. Example Power Update, Refresh Update, etc</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="QUEUE_DATA_STATE">
				<description>Two states of file are identified 1 -> Data is present in file system and DB, 2 -> Data is
					present in memory and DB. The row is deleted when the data is populated in DB.
				</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REQUEST_ID">
				<description>Logging thread local value.</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<default-value>NA</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_PRIORITY">
				<description>Priority for Queue.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="DCQueueSDPInvInfo_PK">
			<primary-key-column>QINFO_ID</primary-key-column>
		</primary-key>
	</table>

	<table name="DCQueueSDPInvRefInfo">
		<description>
			<![CDATA[
			This table holds the information about the SDPInv queue to resource mapping.
			]]>
		</description>
		<columns>
			<column name="QINFO_ID">
				<description>Unique Id for each queue data.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
			</column>
			<column name="REFERENCE_ID">
				<description>Unique id for each computer.RESOURCE_ID to be used.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="DCQueueSDPInvRefInfo_PK">
			<primary-key-column>QINFO_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="DCQueueSDPInvRefInfo_FK1" reference-table-name="DCQueueSDPInvInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>QINFO_ID</fk-local-column>
						<fk-reference-column>QINFO_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Tables ends for DCQueueSDPInvInfo -->

	<!-- Tables for USBReports  -->

	<table name="InvUSBDeviceTypes">
		<description>
			<![CDATA[
		This table contains the basic details of USB DeviceType
		]]>
		</description>
		<columns>
			<column name="DEVICE_TYPE_ID">
				<description>Holds unique Id generated for each Device Type.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvUSBDeviceTypes.DEVICE_TYPE_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="DEVICE_TYPE">
				<description>Type of the device. Ex Mouse, Keyboard etc.,</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>true</unique>
			</column>
		</columns>
		<primary-key name="InvUSBDeviceTypes_PK">
			<primary-key-column>DEVICE_TYPE_ID</primary-key-column>
		</primary-key>
	</table>
	<table name="InvUSBDeviceDetails">
		<description>
			<![CDATA[
		This table contains the basic details of Vendor.
		]]>
		</description>
		<columns>
			<column name="USB_DEVICE_ID">
				<description>Holds unique Id generated for each devices.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvUSBDeviceDetails.USB_DEVICE_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="DEVICE_TYPE_ID">
				<description>Type ID of the connected USB device From InvUSBDeviceType Table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_INSTANCE_ID">
				<description>Unique instance ID of the connected USB device.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_NAME">
				<description>Name of the connected USB device.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_MANUFACTURER">
				<description>Connected User.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_GUID">
				<description>Device Guid.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvUSBDeviceDetails_PK">
			<primary-key-column>USB_DEVICE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvUSBDeviceDetails_FK1" reference-table-name="InvUSBDeviceTypes"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>DEVICE_TYPE_ID</fk-local-column>
						<fk-reference-column>DEVICE_TYPE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvUSBDeviceEvents">
		<description>
			<![CDATA[
		This table contains the basic details of Vendor.
		]]>
		</description>
		<columns>
			<column name="UNIQUE_ID">
				<description>Holds unique Id generated for each devices.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvUSBDeviceEvents.UNIQUE_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="RESOURCE_ID">
				<description>Resource ID from Res table</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USB_DEVICE_ID">
				<description>Device ID from InvUSBDeviceDetails table</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_EVENT_TYPE">
				<description>Unique id for each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CONNECTED_USER">
				<description>Connected User.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_INSERTED_TIME">
				<description>Time when the USB device was inserted.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_REMOVED_TIME">
				<description>Time when the USB device was removed.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TIME_DURATION">
				<description>Time duration of USB device inserted and removed.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_EVENT_TIME">
				<description>Time when the USB device was removed.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_EVENT_DBUPDATED_TIME">
				<description>Time when the Event Updated in DB</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>Whether the device is blocked or unblocked.0 - Blocked , 1 - Unblocked.</description>
				<data-type>BIGINT</data-type>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvUSBDeviceEvents_PK">
			<primary-key-column>UNIQUE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvUSBDeviceEvents_FK1" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvUSBDeviceEvents_FK3" reference-table-name="InvUSBDeviceDetails"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>USB_DEVICE_ID</fk-local-column>
						<fk-reference-column>USB_DEVICE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvUSBDeviceEvents_IDX1">
				<index-column>DEVICE_EVENT_TIME</index-column>
			</index>
		</indexes>
	</table>
	<table name="InvAgentUSBDeviceEvents">
		<description>
			<![CDATA[
		This table contains the basic details of Vendor.
                This table is used for agent purpose.The value does not persist here, temporarily used.
		]]>
		</description>
		<columns>
			<column name="UNIQUE_ID">
				<description>Holds unique Id generated for each devices.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="RESOURCE_ID">
				<description>Resource ID from Res table</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_EVENT_TYPE">
				<description>Current status of the connected USB device.0-Inserted, 1-Removed 3- Manual.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_INSTANCE_ID">
				<description>Unique instance ID of the connected USB device.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PARENT_INSTANCE_ID">
				<description>Unique Parent Device instance ID of the connected USB device.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>			
			<column name="DEVICE_TYPE">
				<description>Type of the device. Ex Mouse, Keyboard etc.,</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>true</unique>
			</column>
			<column name="DEVICE_NAME">
				<description>Name of the Device.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_MANUFACTURER">
				<description>Manufacturer of the device.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_GUID">
				<description>Device Guid.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CONNECTED_USER">
				<description>Connected User.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_INSERTED_TIME">
				<description>Time when the USB device was inserted.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_REMOVED_TIME">
				<description>Time when the USB device was Removed.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TIME_DURATION">
				<description>Time duration of USB device inserted and removed.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_EVENT_TIME">
				<description>Time when the USB device was removed.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<!-- <column name="BLOCKING_SOURCE">
				<description>Device blocked by DC or Others.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column> -->
			<column name="STATUS">
				<description>Whether the device is blocked or unblocked.0 - Blocked , 1 - Unblocked.</description>
				<data-type>BIGINT</data-type>
				<nullable>true</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvAgentUSBDeviceEvents_PK">
			<primary-key-column>UNIQUE_ID</primary-key-column>
			<primary-key-column>RESOURCE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvAgentUSBDeviceEvents_FK1" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvUSBUsageSettings">
		<description>Usb Usage settings are stored in this table. These settings are specific to customer.</description>
		<columns>
			<column name="CUSTOMER_ID">
				<description>Customer ID</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
			</column>
			<column name="USB_REPORT_ENABLED">
				<description>Indicates whether Usb Usage report is enabled or not for sending the report.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>true</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DAYS_TO_MAINTAIN">
				<description>No. of days to maintain the reports.</description>
				<data-type>INTEGER</data-type>
				<default-value>30</default-value>
				<nullable>false</nullable>
			</column>
			<column name="DATA_COLLN_INTERVAL">
				<description>No. of days interval to fetch the usb data from the agent.</description>
				<data-type>INTEGER</data-type>
				<default-value>30</default-value>
				<nullable>false</nullable>
			</column>
		</columns>
		<primary-key name="InvUSBUsageSettings_PK">
			<primary-key-column>CUSTOMER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvUSBUsageSettings_FK1" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvSWInstalledToUserRel">
		<description>Table to store the users to software intstalled relationship</description>
		<columns>
			<column name="SW_INSTALLED_ID">
				<description>Reference id for installed software.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_COMPONENT_ID">
				<description>Reference id for system users account.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSWInstalledToUserRel_PK">
			<primary-key-column>USER_COMPONENT_ID</primary-key-column>
			<primary-key-column>SW_INSTALLED_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSWInstalledToUserRel_FK1" reference-table-name="InvSWInstalled"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SW_INSTALLED_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvSWInstalledToUserRel_FK2" reference-table-name="InvSystemUsers"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>USER_COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<table name="InvTechSWSummary">
		<description>
			<![CDATA[
                This table contains the count of each software present in a network.
                ]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each hardware component.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_COUNT">
				<description>The total number of hardware present in the domain.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTechSWSummary_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTechSWSummary_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTechSWSummary_FK2" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvTechSWSummary_IDX">
				<index-column>TECH_ID</index-column>
			</index>
		</indexes>
	</table>
	<table name="InvTechSWDomainSummary">
		<description>
			<![CDATA[
                This table contains the count of each software present in managed domain.
                ]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each software component.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN_ID">
				<description>Unique id for each managed domain.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_COUNT">
				<description>The total number of software present in the domain.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTechSWDomainSummary_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
			<primary-key-column>DOMAIN_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTechSWDomainSummary_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTechSWDomainSummary_FK2" reference-table-name="ManagedDomain" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>DOMAIN_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTechSWDomainSummary_FK3" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvTechSWDomainSummary_IDX">
				<index-column>TECH_ID</index-column>
			</index>
		</indexes>
	</table>
	<table name="InvTechSWBranchSummary">
		<description>
			<![CDATA[
                This table contains the count of each software present in managed domain.
                ]]>
		</description>
		<columns>
			<column name="SOFTWARE_ID">
				<description>Unique id for each software component.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="BRANCH_OFFICE_ID">
				<description>Unique id for each branch office.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SW_COUNT">
				<description>The total number of software present in the domain.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTechSWBranchSummary_PK">
			<primary-key-column>SOFTWARE_ID</primary-key-column>
			<primary-key-column>BRANCH_OFFICE_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTechSWBranchSummary_FK1" reference-table-name="InvSW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>SOFTWARE_ID</fk-local-column>
						<fk-reference-column>SOFTWARE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTechSWBranchSummary_FK2" reference-table-name="BranchOfficeDetails"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>BRANCH_OFFICE_ID</fk-local-column>
						<fk-reference-column>BRANCH_OFFICE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTechSWBranchSummary_FK3" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvTechSWBranchSummary_IDX">
				<index-column>TECH_ID</index-column>
			</index>
		</indexes>
	</table>
	<table name="InvTechHWSummary">
		<description>
			<![CDATA[
                This table contains the count of each hardware present in a network.
                ]]>
		</description>
		<columns>
			<column name="HW_ID">
				<description>Unique id for each hardware component.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HW_COUNT">
				<description>The total number of hardware present in the domain.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTechHWSummary_PK">
			<primary-key-column>HW_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTechHWSummary_FK1" reference-table-name="InvHW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>HW_ID</fk-local-column>
						<fk-reference-column>HW_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTechHWSummary_FK2" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvTechHWSummary_IDX">
				<index-column>TECH_ID</index-column>
			</index>
		</indexes>
	</table>
	<table name="InvTechHWDomainSummary">
		<description>
			<![CDATA[
                This table contains the count of each hardware present in managed domain.
                ]]>
		</description>
		<columns>
			<column name="HW_ID">
				<description>Unique id for each hardware component.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN_ID">
				<description>Unique id for each managed domain.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HW_COUNT">
				<description>The total number of hardware present in the domain.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTechHWDomainSummary_PK">
			<primary-key-column>HW_ID</primary-key-column>
			<primary-key-column>DOMAIN_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTechHWDomainSummary_FK1" reference-table-name="InvHW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>HW_ID</fk-local-column>
						<fk-reference-column>HW_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTechHWDomainSummary_FK2" reference-table-name="ManagedDomain" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>DOMAIN_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTechHWDomainSummary_FK3" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvTechHWDomainSummary_IDX">
				<index-column>TECH_ID</index-column>
			</index>
		</indexes>
	</table>
	<table name="InvTechHWBranchSummary">
		<description>
			<![CDATA[
                This table contains the count of each hardware present in managed domain.
                ]]>
		</description>
		<columns>
			<column name="HW_ID">
				<description>Unique id for each hardware component.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="BRANCH_OFFICE_ID">
				<description>Unique id for each Branch office.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HW_COUNT">
				<description>The total number of hardware present in the domain.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTechHWBranchSummary_PK">
			<primary-key-column>HW_ID</primary-key-column>
			<primary-key-column>BRANCH_OFFICE_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTechHWBranchSummary_FK1" reference-table-name="InvHW" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>HW_ID</fk-local-column>
						<fk-reference-column>HW_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTechHWBranchSummary_FK2" reference-table-name="BranchOfficeDetails"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>BRANCH_OFFICE_ID</fk-local-column>
						<fk-reference-column>BRANCH_OFFICE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTechHWBranchSummary_FK3" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvTechHWBranchSummary_IDX">
				<index-column>TECH_ID</index-column>
			</index>
		</indexes>
	</table>
	<table name="InvCustTechParams">
		<description>
			<![CDATA[
		This table will contain the inventory parameters. As the values would be in Key-Value format, this table structure captures the same.
		]]>
		</description>
		<columns>
			<column name="INV_PARAM_ID">
				<description>Unique id generated for each parameter.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvCustTechParams.INV_PARAM_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PARAM_NAME">
				<description>Key name of the parameter.</description>
				<data-type>CHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PARAM_VALUE">
				<description>Value of the parameter.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCustTechParams_PK">
			<primary-key-column>INV_PARAM_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCustTechParams_FK" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCustTechParams_FK1" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvCustTechParams_IDX1">
				<index-column>PARAM_NAME</index-column>
			</index>
		</indexes>
	</table>
	<table name="InvTechParams">
		<description>
			<![CDATA[
		This table will contain the inventory parameters. As the values would be in Key-Value format, this table structure captures the same.
		]]>
		</description>
		<columns>
			<column name="INV_PARAM_ID">
				<description>Unique id generated for each parameter.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvTechParams.INV_PARAM_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PARAM_NAME">
				<description>Key name of the parameter.</description>
				<data-type>CHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PARAM_VALUE">
				<description>Value of the parameter.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTechParams_PK">
			<primary-key-column>INV_PARAM_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTechParams_FK" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvTechParams_IDX1">
				<index-column>PARAM_NAME</index-column>
			</index>
		</indexes>
	</table>
	<table name="InvTechCompleteSummary">
		<description>
			<![CDATA[
			The table contains all summary informations which are to be shown in different pages especially in inventory home page.
			]]>
		</description>
		<columns>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MANAGED_COMPUTER">
				<description>Total managed computer count.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_SUCCESS_COUNT">
				<description>Total successfully scanned systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_FAILED_COUNT">
				<description>Total scanning failed systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NOT_SCANNED_COUNT">
				<description>Total not scanned systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SW">
				<description>Total software detected in network.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMMERCIAL_SW">
				<description>Total commercial software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NON_COMMERCIAL_SW">
				<description>Total non-commercial software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PROHIBITED_SW">
				<description>Total prohibited software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNDER_LICENSED">
				<description>Total under-licensed software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OVER_LICENSED">
				<description>Total over-licensed software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IN_COMPLIANCE">
				<description>Total license in-compliance software..</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LIC_EXPIRED">
				<description>Total license expired software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SW_INSTALLATIONS">
				<description>Total software installations.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for storing customer segmented inventory details</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTechCompleteSummary_PK">
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTechCompleteSummary_FK" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTechCompleteSummary_FK1" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvTechCompleteSummary_IDX">
				<index-column>TECH_ID</index-column>
			</index>
		</indexes>
	</table>
	<table name="InvTechCompleteOSSummary">
		<description>
			<![CDATA[
			This table holds the count summary of all OS discovered in the network.
			]]>
		</description>
		<columns>
			<column name="CUSTOMER_ID">
				<description>Customer ID from InvCompleteOSSummary table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_TYPE">
				<description>Type of OS discovered for summarizing</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_COUNT">
				<description>Number of specific type of OS discovered while summarizing</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTechCompleteOSSummary_PK">
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
			<primary-key-column>OS_TYPE</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTechCompleteOSSummary_FK1" reference-table-name="CustomerInfo"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTechCompleteOSSummary_FK2" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvTechCompleteOSSummary_IDX">
				<index-column>TECH_ID</index-column>
			</index>
		</indexes>
	</table>
	<table name="InvTechDomainSummary">
		<description>
			<![CDATA[
			The table contains all summary informations which are to be shown in different pages especially in inventory home page.
			]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>Domain Resource ID</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MANAGED_COMPUTER">
				<description>Total managed computer count.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_SUCCESS_COUNT">
				<description>Total successfully scanned systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_FAILED_COUNT">
				<description>Total scanning failed systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NOT_SCANNED_COUNT">
				<description>Total not scanned systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SW">
				<description>Total software detected in network.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMMERCIAL_SW">
				<description>Total commercial software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NON_COMMERCIAL_SW">
				<description>Total non-commercial software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PROHIBITED_SW">
				<description>Total prohibited software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNDER_LICENSED">
				<description>Total under-licensed software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OVER_LICENSED">
				<description>Total over-licensed software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IN_COMPLIANCE">
				<description>Total license in-compliance software..</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LIC_EXPIRED">
				<description>Total license expired software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTechDomainSummary_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTechDomainSummary_FK1" reference-table-name="ManagedDomain" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTechDomainSummary_FK2" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvTechDomainSummary_IDX">
				<index-column>TECH_ID</index-column>
			</index>
		</indexes>
	</table>
	<table name="InvTechDomainOSSummary">
		<description>
			<![CDATA[
			This table holds the OS count summary of all domains in the network.
			]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>Resource ID from InvDomainSummary table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_TYPE">
				<description>Type of OS discovered for summarizing</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_COUNT">
				<description>Number of specific type of OS discovered while summarizing</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTechDomainOSSummary_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
			<primary-key-column>OS_TYPE</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTechDomainOSSummary_FK1" reference-table-name="InvTechDomainSummary"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>TECH_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTechDomainOSSummary_FK2" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvTechDomainOSSummary_IDX">
				<index-column>TECH_ID</index-column>
			</index>
		</indexes>
	</table>
	<table name="InvTechBranchSummary">
		<description>
			<![CDATA[
			The table contains all summary informations which are to be shown in different pages especially in inventory home page.
			]]>
		</description>
		<columns>
			<column name="BRANCH_OFFICE_ID">
				<description>Branch office ID</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MANAGED_COMPUTER">
				<description>Total managed computer count.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_SUCCESS_COUNT">
				<description>Total successfully scanned systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SCAN_FAILED_COUNT">
				<description>Total scanning failed systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NOT_SCANNED_COUNT">
				<description>Total not scanned systems.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SW">
				<description>Total software detected in network.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMMERCIAL_SW">
				<description>Total commercial software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NON_COMMERCIAL_SW">
				<description>Total non-commercial software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PROHIBITED_SW">
				<description>Total prohibited software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UNDER_LICENSED">
				<description>Total under-licensed software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OVER_LICENSED">
				<description>Total over-licensed software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IN_COMPLIANCE">
				<description>Total license in-compliance software..</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LIC_EXPIRED">
				<description>Total license expired software.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTechBranchSummary_PK">
			<primary-key-column>BRANCH_OFFICE_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTechBranchSummary_FK1" reference-table-name="BranchOfficeDetails"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>BRANCH_OFFICE_ID</fk-local-column>
						<fk-reference-column>BRANCH_OFFICE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTechBranchSummary_FK2" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvTechBranchSummary_IDX">
				<index-column>TECH_ID</index-column>
			</index>
		</indexes>
	</table>
	<table name="InvTechBranchOSSummary">
		<description>
			<![CDATA[
			This table holds the OS count summary of all remote offices in the network.
			]]>
		</description>
		<columns>
			<column name="BRANCH_OFFICE_ID">
				<description>Branch office ID from InvBranchSummary table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_TYPE">
				<description>Type of OS discovered for summarizing</description>
				<data-type>NCHAR</data-type>
				<max-size>64</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_COUNT">
				<description>Number of specific type of OS discovered while summarizing</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTechBranchOSSummary_PK">
			<primary-key-column>BRANCH_OFFICE_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
			<primary-key-column>OS_TYPE</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTechBranchOSSummary_FK1" reference-table-name="InvTechBranchSummary"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>BRANCH_OFFICE_ID</fk-local-column>
						<fk-reference-column>BRANCH_OFFICE_ID</fk-reference-column>
					</fk-column>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>TECH_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvTechBranchOSSummary_FK2" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
		<indexes>
			<index name="InvTechBranchOSSummary_IDX">
				<index-column>TECH_ID</index-column>
			</index>
		</indexes>
	</table>

	<table name="InvMotherboard">
		<description>
			<![CDATA[
			This table holds the inventory data of mother boards in computers under SoM.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERIAL_NUMBER">
				<description>Manufacturer-allocated number used to identify the physical element.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="MODEL">
				<description>Name by which the physical element is known.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT">
				<description>Baseboard part number defined by the manufacturer.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VERSION">
				<description>Version of the physical element.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="INSTALL_DATE">
				<description>Date and time the object was installed.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PART_NUMBER">
				<description>Part number assigned by the organization responsible for producing or manufacturing the
					physical element.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HOSTING_BOARD">
				<description>If TRUE, the card is a motherboard, or a baseboard in a chassis.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>true</default-value>
				<nullable>false</nullable>
			</column>
			<column name="PRIMARY_BUS_TYPE">
				<description>Primary bus type of the motherboard.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SECONDARY_BUS_TYPE">
				<description>Secondary bus type of the motherboard.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvMotherboard_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvMotherboard_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<table name="InvMappedLogicalDisk">
		<description>
			<![CDATA[
			This table holds the inventory data of mapped logical drives in computers under SoM.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CONNECTION_STATE">
				<description>Current state of the network connection.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DISPLAY_TYPE">
				<description>Network object should be displayed in a network browsing user interface.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ACCESS_MASK">
				<description>List of access rights to the given file or directory held by the user or group on whose
					behalf the instance is returned.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PERSISTENT">
				<description>Connection will be reconnected automatically by the operating system on the next logon.
				</description>
				<data-type>BOOLEAN</data-type>
				<default-value>true</default-value>
				<nullable>false</nullable>
			</column>
			<column name="PROVIDER_NAME">
				<description>Name of the provider that owns the resource. This property can be NULL if the provider name
					is unknown.
				</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REMOTE_PATH">
				<description>Full path to the network resource.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="RESOURCE_TYPE">
				<description>Type of resource to enumerate or connect to.The values are: "Disk","Print","Any"
				</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_NAME">
				<description>User name or the default user name used to establish a network connection.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DEVICE_ID">
				<description>Unique identifier of the memory array.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILE_SYSTEM">
				<description>File system on the logical disk. E.g. NTFS</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_SPACE">
				<description>Space available on the logical disk.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SIZE">
				<description>Size of the logical disk.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FREE_SPACE_GB">
				<description>Space available on the logical disk in GB.</description>
				<data-type>DOUBLE</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SIZE_GB">
				<description>Size of the logical disk in GB.</description>
				<data-type>DOUBLE</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvMappedLogicalDisk_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvMappedLogicalDisk_FK1" reference-table-name="InvComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvTPM">
		<description>
			<![CDATA[
			This table holds the inventory data of TPM in computers under SoM.
			]]>
		</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_ACTIVATED">
				<description>Activation status of the TPM chip.</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
			</column>
			<column name="IS_ENABLED">
				<description>Enabled status of the TPM chip</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
			</column>
			<column name="IS_OWNED">
			    <description>Owned status of the TPM chip</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
			</column>
			<column name="MANUFACTURER_VERSION">
				<description>Manufacturer version of thr TPM chip</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
			</column>
			<column name="SPEC_VERSION">
				<description>Spec version of the TPM chip.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTPM_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTPM_FK1" reference-table-name="InvHWComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvHWInstalledToUserRel">
		<description>Table to store the users to software intstalled relationship</description>
		<columns>
			<column name="HW_INSTALLED_ID">
				<description>Reference id for HARDWARE.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_ACTIVATED">
				<description>Activation status of the TPM chip.</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
			</column>
			<column name="IS_ENABLED">
				<description>Enabled status of the TPM chip</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
			</column>
			<column name="IS_OWNED">
			    <description>Owned status of the TPM chip</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
			</column>
			<column name="MANUFACTURER_VERSION">
				<description>Manufacturer version of thr TPM chip</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
			</column>
			<column name="SPEC_VERSION">
				<description>Spec version of the TPM chip.</description>
				<data-type>NCHAR</data-type>
				<max-size>250</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvTPM_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvTPM_FK1" reference-table-name="InvHWComponent" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvHWInstalledToUserRel">
		<description>Table to store the users to software intstalled relationship</description>
		<columns>
			<column name="HW_INSTALLED_ID">
				<description>Reference id for HARDWARE.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_COMPONENT_ID">
				<description>Reference id for system users account.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvHWInstalledToUserRel_PK">
			<primary-key-column>USER_COMPONENT_ID</primary-key-column>
			<primary-key-column>HW_INSTALLED_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvHWInstalledToUserRel_FK1" reference-table-name="InvHWComponent"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>HW_INSTALLED_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvHWInstalledToUserRel_FK2" reference-table-name="InvSystemUsers"
						 isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>USER_COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<!-- Table started for storing the inventory post status to SDP for each clients -->
	<table name="DCSDPAssetPostStatus">
		<description>
			<![CDATA[
		This table is to check data post status from DC to SDP.
		]]>
		</description>
		<columns>
			<column name="RESOURCE_ID">
				<description>Unique id for each inventory object.</description>
				<data-type>BIGINT</data-type>
			</column>
			<column name="POSTED_TIME">
				<description>The time at which the process is started.</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
			</column>
			<column name="DATA_POST_STATUS">
				<description>Maintains the description of the last data that is posted.</description>
				<data-type>NCHAR</data-type>
			</column>
			<column name="IS_DATA_POSTED">
				<description>Maintains the status of the last data that is posted.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>
			<column name="SCAN_TYPE">
				<description>Last scan type of the computer. 0 - Diff Scan, 1 - Full Scan.</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LAST_SUCCESSFUL_POST">
				<description>The time at which Last successful scan done</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_FULL_SCAN_NEEDED">
				<description>Is full scan needed or not after delta scan</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>

		</columns>
		<primary-key name="DCSDPPostStatus_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="DCSDPPostStatus_FK1" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvUninstall">
		<description>Table to store the software uninstall data</description>
		<columns>
			<column name="COMPONENT_ID">
				<description>Unique id for each inventory object.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SOFTWARE_ID">
				<description>ID for the software.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTER_ID">
				<description>ID for the computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTER_NAME">
				<description>Name of the computer software installed.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTER_DOMAIN">
				<description>Domain name of the computer.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ARCHITECTURE">
				<description>Architecture of the software.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_NAME">
				<description>Name of the user to whom software is installed.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_DOMAIN">
				<description>Domain of the user.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SID">
				<description>SID of the user.</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvUninstall_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvUninstall_FK" reference-table-name="InvSWInstalled" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table ends for storing the inventory post status to SDP for each clients -->

	<!-- Tables for Inventory File Type Scanning -->

	<!-- InvFileScanRules -->
	<table name="InvFileScanRules">
		<description>Table to store the File Scan Rules</description>
		<columns>
			<column name="RULE_ID">
				<description>Unique id for each File scan Rule.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
				<uniquevalue-generation>
					<generator-name>InvFileScanRules.RULE_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="RULE_NAME">
				<description>Name of each file scan rule</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_RULE_ENABLED">
				<description>Indicates whether the File Scan Rule is enabled</description>
				<data-type>BOOLEAN</data-type>
				<default-value>true</default-value>
				<nullable>false</nullable>
			</column>
			<column name="PATH_TO_SCAN">
				<description>The Path in which the file scan should be performed</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>*</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ADDED_BY">
				<description>user who added the rule.</description>
				<data-type>NCHAR</data-type>
				<max-size>32</max-size>
				<default-value>Default Rule</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="ADDED_TIME">
				<description>Time when the rule was added</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="MODIFIED_BY">
				<description>User who has modified the rule</description>
				<data-type>NCHAR</data-type>
				<max-size>32</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>

			<column name="MODIFIED_TIME">
				<description>Time when the rule was modified</description>
				<data-type>BIGINT</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CUSTOMER_ID">
                    <description>Unique identifier of customer id</description>
                    <data-type>BIGINT</data-type>
                    <nullable>false</nullable>
                </column>
		</columns>
		<primary-key name="InvFileScanRules_PK">
			<primary-key-column>RULE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvFileScanRules_FK1" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<!-- InvFileScanRulesExtn -->
	<table name ="InvFileScanRulesExtn">
		<description>Table to relate Rule Id and file extentions</description>
		<columns>
			<column name="RULE_ID">
				<description>Unique id for each File scan Rule.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
			</column>
			<column name="FILE_EXTENSION">
				<data-type>CHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvFileScanRulesExtn_PK">
			<primary-key-column>RULE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvFileScanRulesExtn_FK1" reference-table-name="InvFileScanRules" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RULE_ID</fk-local-column>
						<fk-reference-column>RULE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<!-- InvFileTypes -->
	<table name="InvFileTypes">
		<description>Table to store the different File Types</description>
		<columns>
			<column name="FILE_TYPE_ID">
				<description>Unique id for each File Type.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
				<uniquevalue-generation>
					<generator-name>InvFileTypes.FILE_TYPE_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="FILE_NAME">
				<description>Name of the file</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>*</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILE_EXTENSION">
				<description>Extension of the file</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvFileTypes_PK">
			<primary-key-column>FILE_TYPE_ID</primary-key-column>
		</primary-key>
	</table>

	<!-- InvFileScanRulesToFileTypesRel -->
	<table name="InvFileScanRulesToFileTypesRel">
		<description>Table to store the relationship between File Scan Rules and File Types</description>
		<columns>
			<column name="RULE_ID">
				<description>Unique id for each File Type Rule.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILE_TYPE_ID">
				<description>Unique id for each File Type.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvFileScanRulesToFileTypesRel_PK">
			<primary-key-column>RULE_ID</primary-key-column>
			<primary-key-column>FILE_TYPE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvFileScanRulesToFileTypesRel_FK1" reference-table-name="InvFileScanRules" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RULE_ID</fk-local-column>
						<fk-reference-column>RULE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvFileScanRulesToFileTypesRel_FK2" reference-table-name="InvFileTypes" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>FILE_TYPE_ID</fk-local-column>
						<fk-reference-column>FILE_TYPE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- InvComputerFileScanRulesSummary -->
	<table name="InvComputerFileScanSummary">
		<description>Table to store the summary of file scan of each computer</description>
		<columns>
			<column name="RULE_ID">
				<description>Unique id for each File Type Rule.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTER_ID">
				<description>The resource id of a given computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LOGICAL_DRIVE">
				<description>Name of the logical drive</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NO_OF_FILES">
				<description>Total no of files.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SIZE">
				<description>Total size of the files.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvComputerFileScanSummary_PK">
			<primary-key-column>RULE_ID</primary-key-column>
			<primary-key-column>COMPUTER_ID</primary-key-column>
			<primary-key-column>LOGICAL_DRIVE</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvComputerFileScanSummary_FK1" reference-table-name="InvFileScanRules" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RULE_ID</fk-local-column>
						<fk-reference-column>RULE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvComputerFileScanSummary_FK2" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<!-- InvComputerFileTypesSummary -->
	<table name="InvComputerFileTypesSummary">
		<description>Table to store the different File Types</description>
		<columns>
			<column name="FILE_TYPE_ID">
				<description>Unique id for each File Type.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPUTER_ID">
				<description>The resource id of a given computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LOGICAL_DRIVE">
				<description>Name of the logical drive</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="NO_OF_FILES">
				<description>Total no of files.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_SIZE">
				<description>Total size of the files.</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvComputerFileTypesSummary_PK">
			<primary-key-column>FILE_TYPE_ID</primary-key-column>
			<primary-key-column>COMPUTER_ID</primary-key-column>
			<primary-key-column>LOGICAL_DRIVE</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvComputerFileTypesSummary_FK1" reference-table-name="InvFileTypes" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>FILE_TYPE_ID</fk-local-column>
						<fk-reference-column>FILE_TYPE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvComputerFileTypesSummary_FK2" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvComputerFileScanStatus">
		<description>This table stores the time when the file scanning was performed last</description>
		<columns>
			<column name="COMPUTER_ID">
				<description>The resource id of a given computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LAST_SUCCESSFUL_SCAN">
				<description>Time at which the scan was performed last</description>
				<data-type>BIGINT</data-type>
				<unique>false</unique>
			</column>
			<column name="PROCESS_START_TIME">
				<description>Time at which the scan was performed last</description>
				<data-type>BIGINT</data-type>
				<unique>false</unique>
			</column>
			<column name="PROCESS_END_TIME">
				<description>Time at which the scan was performed last</description>
				<data-type>BIGINT</data-type>
				<unique>false</unique>
			</column>
			<column name="REMARKS">
				<description>The file scan status remarks</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvComputerFileScanStatus_PK">
			<primary-key-column>COMPUTER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvComputerFileScanStatus_FK1" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<!-- Tables for Inventory File Type Scanning -->
	<!-- Tables starts for DCQueueFileTypeScanInfo -->
	<table name="DCQueueFileTypeScanInfo">
		<description>
			<![CDATA[
			This table holds the data of Inventory File Type Scan in queue.
			]]>
		</description>
		<columns>
			<column name="QINFO_ID">
				<description>Unique Id for each queue data.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>DCQueueFileTypeScanInfo.QINFO_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="POST_TIME">
				<description>Unique time when the queue data is POSTED in server.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DATA_FILE_NAME">
				<description>The file name in which the data is stored in the file system.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="QUEUE_DATA_TYPE">
				<description>Specific type about the queue data. Example Power Update, Refresh Update, etc</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="QUEUE_DATA_STATE">
				<description>Two states of file are identified 1 -> Data is present in file system and DB, 2 -> Data is
					present in memory and DB. The row is deleted when the data is populated in DB.
				</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REQUEST_ID">
				<description>Logging thread local value.</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<default-value>NA</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_PRIORITY">
				<description>Priority for Queue.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="DCQueueFileTypeScanInfo_PK">
			<primary-key-column>QINFO_ID</primary-key-column>
		</primary-key>
	</table>
	<!-- Tables ends for DCQueueFileTypeScanInfo -->
    <table name="InvBitlockerStatus">
        <description>
            <![CDATA[
		This table holds the information about the bitlocker status
		]]>
        </description>
        <columns>
            <column name="COMPUTER_ID">
                <description>The resource id of the computer for which the inventory information is stored.
                </description>
                <data-type>BIGINT</data-type>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="LOGICAL_DRIVE">
                <description>Name of the logical drive</description>
                <data-type>NCHAR</data-type>
                <max-size>30</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="PROTECTION_STATUS">
                <description>Bitlocker protection status of the drive</description>
                <data-type>NCHAR</data-type>
                <max-size>30</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="ENCRYPTION_STATUS">
                <description>Bitlocker encryption status of the drive</description>
                <data-type>NCHAR</data-type>
                <max-size>30</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="ENCRYPTION_METHOD">
                <description>Encryption method of the bitlocker</description>
                <data-type>NCHAR</data-type>
                <max-size>30</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
			<column name="LOCK_STATUS">
				<description>Lock status of the drive</description>
				<data-type>NCHAR</data-type>
				<max-size>30</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VOLUME_TYPE">
				<description>Volume type of the drive. It is Logical, System or Extenal drive</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="RECOVERY_KEY_STATUS">
				<description>Recovery key fetch status</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
			</column>
			<column name="LAST_UPDATED_TIME">
				<description>Recovery key fetch status last updated at</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
			</column>
        </columns>
        <primary-key name="InvBitlockerStatus_PK">
            <primary-key-column>COMPUTER_ID</primary-key-column>
            <primary-key-column>LOGICAL_DRIVE</primary-key-column>
        </primary-key>
        <foreign-keys>
            <foreign-key name="InvBitlockerStatus_FK1" reference-table-name="InvComputer" isbidirectional="false">
                <fk-columns>
                    <fk-column>
                        <fk-local-column>COMPUTER_ID</fk-local-column>
                        <fk-reference-column>COMPUTER_ID</fk-reference-column>
                    </fk-column>
                </fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
            </foreign-key>
        </foreign-keys>

    </table>
    
    <table name="InvBitlockerRecoveryKey">
        <description>
            <![CDATA[
		This table holds the information about the bitlocker recovery key
		]]>
        </description>
        <columns>
            <column name="COMPUTER_ID">
                <description>The resource id of the computer for which the inventory information is stored.
                </description>
                <data-type>BIGINT</data-type>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="LOGICAL_DRIVE">
                <description>Name of the logical drive</description>
                <data-type>NCHAR</data-type>
                <max-size>30</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
            </column>
            <column name="RECOVERY_ID">
                <description>Bitlocker recovey key ID</description>
                <data-type>NCHAR</data-type>
                <max-size>50</max-size>
                <default-value>--</default-value>
                <nullable>true</nullable>
            </column>
            <column name="RECOVERY_KEY">
                <description>Bitlocker RECOVERY KEY</description>
                <data-type>NCHAR</data-type>
                <max-size>150</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
            </column>
        </columns>
        <primary-key name="InvBitlockerRecoveryKey_PK">
            <primary-key-column>COMPUTER_ID</primary-key-column>
            <primary-key-column>LOGICAL_DRIVE</primary-key-column>
            <primary-key-column>RECOVERY_KEY</primary-key-column>
        </primary-key>
        <foreign-keys>
            <foreign-key name="InvBitlockerRecoveryKey_FK1" reference-table-name="InvComputer" isbidirectional="false">
                <fk-columns>
                    <fk-column>
                        <fk-local-column>COMPUTER_ID</fk-local-column>
                        <fk-reference-column>COMPUTER_ID</fk-reference-column>
                    </fk-column>
                </fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
            </foreign-key>
        </foreign-keys>

    </table>

    <table name="InvAntivirusStatus">
        <description>
            <![CDATA[
        This table holds the information about the ANTIVIRUS status
		]]>
        </description>
        <columns>
            <column name="COMPUTER_ID">
                <description>The resource id of the computer for which the inventory information is stored.
                </description>
                <data-type>BIGINT</data-type>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="ANTIVIRUS_NAME">
                <description>The name of the antivirus SW</description>
                <data-type>NCHAR</data-type>
                <max-size>255</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="VERSION">
                <description>Version of the antivirus SW</description>
                <data-type>NCHAR</data-type>
                <max-size>100</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="MANUFACTURER">
                <description>Manufacturer of the antivirus SW</description>
                <data-type>NCHAR</data-type>
                <max-size>100</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="LICENSE_STATUS">
                <description>License Status of the antivirus SW</description>
                <data-type>NCHAR</data-type>
                <max-size>30</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="PROTECTION_STATUS">
                <description>Protection Status of the antivirus SW</description>
                <data-type>NCHAR</data-type>
                <max-size>30</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="INSTALLATION_PATH">
                <description>Installation Path of the antivirus SW</description>
                <data-type>NCHAR</data-type>
                <max-size>255</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="LAST_ACCESS_TIME">
                <description>Last Access Time of the antivirus SW</description>
                <data-type>NCHAR</data-type>
                <max-size>100</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
        </columns>
        <primary-key name="InvAntivirusStatus_PK">
            <primary-key-column>COMPUTER_ID</primary-key-column>
            <primary-key-column>ANTIVIRUS_NAME</primary-key-column>
        </primary-key>
        <foreign-keys>
            <foreign-key name="InvAntivirusStatus_FK" reference-table-name="InvComputer">
                <fk-columns>
                    <fk-column>
                        <fk-local-column>COMPUTER_ID</fk-local-column>
                        <fk-reference-column>COMPUTER_ID</fk-reference-column>
                    </fk-column>
                </fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
            </foreign-key>
        </foreign-keys>
    </table>

    <table name="InvWindowsFirewallStatus">
        <description>
            <![CDATA[
        This table holds the information about the Windows Firewall status
		]]>
        </description>
        <columns>
            <column name="COMPUTER_ID">
                <description>The resource id of the computer for which the inventory information is stored.
                </description>
                <data-type>BIGINT</data-type>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="STANDARD_PROFILE_STATUS">
                <description>Proctection status of the STANDARD profile</description>
                <data-type>NCHAR</data-type>
                <max-size>30</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="DOMAIN_PROFILE_STATUS">
                <description>Proctection status of the DOMAIN profile</description>
                <data-type>NCHAR</data-type>
                <max-size>30</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="PUBLIC_PROFILE_STATUS">
                <description>Proctection status of the PUBLIC profile</description>
                <data-type>NCHAR</data-type>
                <max-size>30</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="IS_EXTERNAL_FIREWALL_ENABLED">
                <description>Indicates whether windows firewall is being disabled by an firewall</description>
                <data-type>BOOLEAN</data-type>
                <default-value>false</default-value>
                <nullable>false</nullable>
            </column>
            <column name="EXTERNAL_FIREWALL_NAME">
                <description>Name of the External firewall which is enabled</description>
                <data-type>NCHAR</data-type>
                <max-size>100</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
        </columns>
        <primary-key name="InvWindowsFirewallStatus_PK">
            <primary-key-column>COMPUTER_ID</primary-key-column>
        </primary-key>
        <foreign-keys>
            <foreign-key name="InvWindowsFirewallStatus_FK" reference-table-name="InvComputer" isbidirectional="false">
                <fk-columns>
                    <fk-column>
                        <fk-local-column>COMPUTER_ID</fk-local-column>
                        <fk-reference-column>COMPUTER_ID</fk-reference-column>
                    </fk-column>
                </fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
            </foreign-key>
        </foreign-keys>
    </table>

    <table name="InvFirewallStatus">
        <description>
            <![CDATA[
        This table holds the information about the Firewall status
		]]>
        </description>
        <columns>
            <column name="COMPUTER_ID">
                <description>The resource id of the computer for which the inventory information is stored.
                </description>
                <data-type>BIGINT</data-type>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="FIREWALL_NAME">
                <description>The name of the antivirus SW</description>
                <data-type>NCHAR</data-type>
                <max-size>100</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="VERSION">
                <description>Version of the antivirus SW</description>
                <data-type>NCHAR</data-type>
                <max-size>100</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="MANUFACTURER">
                <description>Manufacturer of the antivirus SW</description>
                <data-type>NCHAR</data-type>
                <max-size>100</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="PROTECTION_STATUS">
                <description>Protection Status of the antivirus SW</description>
                <data-type>NCHAR</data-type>
                <max-size>30</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="INSTALLATION_PATH">
                <description>Installation Path of the antivirus SW</description>
                <data-type>NCHAR</data-type>
                <max-size>100</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="LAST_ACCESS_TIME">
                <description>Last Access Time of the antivirus SW</description>
                <data-type>NCHAR</data-type>
                <max-size>100</max-size>
                <default-value>--</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
        </columns>
        <primary-key name="InvFirewallStatus_PK">
            <primary-key-column>COMPUTER_ID</primary-key-column>
            <primary-key-column>FIREWALL_NAME</primary-key-column>
        </primary-key>
        <foreign-keys>
            <foreign-key name="InvFirewallStatus_FK" reference-table-name="InvComputer" isbidirectional="false">
                <fk-columns>
                    <fk-column>
                        <fk-local-column>COMPUTER_ID</fk-local-column>
                        <fk-reference-column>COMPUTER_ID</fk-reference-column>
                    </fk-column>
                </fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
            </foreign-key>
        </foreign-keys>
    </table>

	<!-- Table definition for InvMetroAppScan Starts-->
	<table name="InvMetroAppScanStatus">
		<columns>
			<column name="COMPUTER_ID">
				<description>Unique id for the computer referred from Resource.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
			</column>
			<column name="ERROR_CODE">
				<description>Holds information about error code returned by api of metro app.</description>
				<data-type>INTEGER</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvMetroAppScanStatus_PK">
			<primary-key-column>COMPUTER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvMetroAppScanStatus_FK1" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!-- Table definition for InvMetroAppScan Ends-->

	<!-- Tables starts for DCQueueInvPostPopulation -->
	<table name="DCQueueInvPostPopulation">
		<description>
			<![CDATA[
			This table holds the information about the post population files sent.
			]]>
		</description>
		<columns>
			<column name="QINFO_ID">
				<description>Unique Id for each queue data.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>DCQueueInvPostPopulation.QINFO_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="POST_TIME">
				<description>Unique time when the queue data is POSTED in server.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DATA_FILE_NAME">
				<description>The file name in which the data is stored in the file system.</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="QUEUE_DATA_TYPE">
				<description>Specific type about the queue data. Example Power Update, Refresh Update, etc</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="QUEUE_DATA_STATE">
				<description>Two states of file are identified 1 -> Data is present in file system and DB, 2 -> Data is
					present in memory and DB. The row is deleted when the data is populated in DB.
				</description>
				<data-type>INTEGER</data-type>
				<default-value>1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="REQUEST_ID">
				<description>Logging thread local value.</description>
				<data-type>CHAR</data-type>
				<max-size>100</max-size>
				<default-value>NA</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_PRIORITY">
				<description>Priority for Queue.</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="DCQueueInvPostPopulation_PK">
			<primary-key-column>QINFO_ID</primary-key-column>
		</primary-key>
	</table>
	<!-- Table ends for DCQueueInvPostPopulation -->

	<table name="InvHPWarrantyApiKey">
		<description>
			<![CDATA[
                Table to hold the information of multiple api keys for hp machines
            ]]>
		</description>
		<columns>
			<column name="API_KEY_ID">
				<description>unique api key id generated automatically</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
				<uniquevalue-generation>
					<generator-name>InvHPWarrantyApiKey.API_KEY_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="API_KEY">
				<description>unique api key generated from hp api portal for every app</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="API_SECRET">
				<description>unique api secret generated from hp api portal for every app</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_EXPIRED_FOR_DAY">
				<description>column which tells whether the key is expired or not</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="EXPIRED_TIME">
				<description>time in long format to hold the expired time of the key</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvHPWarrantyApiKey_PK1">
			<primary-key-column>API_KEY_ID</primary-key-column>
		</primary-key>
	</table>


	<table name="InvSoftwareMeteringUsers">
		<columns>
			<column name="COMPONENT_ID">
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
				<uniquevalue-generation>
					<generator-name>InvSoftwareMeteringUsers.COMPONENT_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="RESOURCE_ID">
				<description>Unique identifier referred from Resource table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_NAME">
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="DOMAIN">
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SID">
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FULL_NAME">
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSoftwareMeteringUsers_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSoftwareMeteringUsers_FK1" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvSoftwareMeteringUsageSummary">
		<columns>
			<column name="RESOURCE_ID">
				<description>Uniqued identifier referred from Resource table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="APP_DEFINITION_ID">
				<description>Uniqued identifier referred from AppDefinitionDetails table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LAST_USED">
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_COUNT">
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_TIME">
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_DENIED_COUNT">
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILE_VERSION">
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_NAME">
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_VERSION">
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UPDATED_TIME">
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSoftwareMeteringUsageSummary_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
			<primary-key-column>APP_DEFINITION_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSoftwareMeteringUsageSummary_FK1" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
			</foreign-key>
			<foreign-key name="InvSoftwareMeteringUsageSummary_FK2" reference-table-name="AppDefinitionDetails" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>APP_DEFINITION_ID</fk-local-column>
						<fk-reference-column>APP_DEFINITION_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvSoftwareMeteringUserUsageSummary">
		<columns>
			<column name="RESOURCE_ID">
				<description>Uniqued identifier referred from Resource table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="APP_DEFINITION_ID">
				<description>Uniqued identifier referred from AppDefinitionDetails table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_COMPONENT_ID">
				<description>Uniqued identifier referred from InvSoftwareMeteringUsers table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LAST_USED">
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_COUNT">
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_TIME">
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_DENIED_COUNT">
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILE_VERSION">
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_NAME">
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_VERSION">
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UPDATED_TIME">
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSoftwareMeteringUserUsageSummary_PK">
			<primary-key-column>RESOURCE_ID</primary-key-column>
			<primary-key-column>APP_DEFINITION_ID</primary-key-column>
			<primary-key-column>USER_COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSoftwareMeteringUserUsageSummary_FK1" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
			</foreign-key>
			<foreign-key name="InvSoftwareMeteringUserUsageSummary_FK2" reference-table-name="AppDefinitionDetails" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>APP_DEFINITION_ID</fk-local-column>
						<fk-reference-column>APP_DEFINITION_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
			</foreign-key>
			<foreign-key name="InvSoftwareMeteringUserUsageSummary_FK3" reference-table-name="InvSoftwareMeteringUsers" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>USER_COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvSoftwareMeteringUsage">
		<columns>
			<column name="COMPONENT_ID">
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
				<uniquevalue-generation>
					<generator-name>InvSoftwareMeteringUsage.COMPONENT_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="RESOURCE_ID">
				<description>Uniqued identifier referred from Resource table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="APP_DEFINITION_ID">
				<description>Uniqued identifier referred from AppDefinitionDetails table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_COMPONENT_ID">
				<description>Uniqued identifier referred from InvSoftwareMeteringUsers table.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LAST_USED">
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_COUNT">
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_RUN_TIME">
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TOTAL_DENIED_COUNT">
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILE_VERSION">
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_NAME">
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PRODUCT_VERSION">
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="UPDATED_TIME">
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvSoftwareMeteringUsage_PK">
			<primary-key-column>COMPONENT_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvSoftwareMeteringUsage_FK1" reference-table-name="Resource" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>RESOURCE_ID</fk-local-column>
						<fk-reference-column>RESOURCE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
			</foreign-key>
			<foreign-key name="InvSoftwareMeteringUsage_FK2" reference-table-name="AppDefinitionDetails" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>APP_DEFINITION_ID</fk-local-column>
						<fk-reference-column>APP_DEFINITION_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
			</foreign-key>
			<foreign-key name="InvSoftwareMeteringUsage_FK3" reference-table-name="InvSoftwareMeteringUsers" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>USER_COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
			</foreign-key>
		</foreign-keys>
	</table>
	<table name="InvMacFirewallStatus">
		<description>
			<![CDATA[
        This table holds the information about the Mac Firewall status
		]]>
		</description>
		<columns>
			<column name="COMPUTER_ID">
				<description>The resource id of the computer for which the inventory information is stored.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FIREWALL_NAME">
				<description>The name of Mac Firewall</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="GLOBAL_STATE">
				<description>Global state of Mac Firewall</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STEALTH_ENABLED">
				<description>Mac Firewall Stealth Status</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ALLOW_DOWNLOAD_SIGNED">
				<description>Mac Firewall Allow Download signed Software Status</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvMacFirewallStatus_PK">
			<primary-key-column>COMPUTER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvMacFirewallStatus_FK" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
    <table name="InvMacFirewallStatusCode">
		<description>
			<![CDATA[
        This table holds the information about the Mac Firewall status
		]]>
		</description>
		<columns>
			<column name="STATUS_CODE_ID">
				<description>The Status code ID
				</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>Status description</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvMacFirewallStatusCode_PK">
			<primary-key-column>STATUS_CODE_ID</primary-key-column>
		</primary-key>
	</table>
	<table name="InvMacFileVaultStatus">
		<description>
			<![CDATA[
        This table holds the information about the Mac FileVault status
		]]>
		</description>
		<columns>
			<column name="COMPUTER_ID">
				<description>The resource id of the computer for which the inventory information is stored.
				</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILEVAULT_NAME">
				<description>The name of Mac FileVault</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FILEVAULT_STATUS">
				<description>Status of Mac FileVault</description>
				<data-type>NCHAR</data-type>
				<max-size>10</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HAS_PRIVATE_KEY">
				<description>Whether FileVault has private recovery key</description>
				<data-type>NCHAR</data-type>
				<max-size>10</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="HAS_INSTITUTIONAL_KEY">
				<description>Whether FileVault has Institutional recovery key</description>
				<data-type>NCHAR</data-type>
				<max-size>10</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="AUTHENTICATED_USERS">
				<description>Whether FileVault has private recovery key</description>
				<data-type>NCHAR</data-type>
				<max-size>500</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SUPPORT_AUTH_RESTART">
				<description>Whether FileVault supports Auth Restart</description>
				<data-type>NCHAR</data-type>
				<max-size>10</max-size>
				<default-value>Unknown</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvMacFileVaultStatus_PK">
			<primary-key-column>COMPUTER_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvMacFileVaultStatus_FK" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvUEMTracking">
		<columns>
			<column name="TRACKING_ID">
				<description>unique auto-generated id</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
				<uniquevalue-generation>
					<generator-name>InvUEMTracking.TRACKING_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="LICENSE">
				<description>license type of the customer's installation</description>
				<data-type>NCHAR</data-type>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="OS_NAME">
				<description>Operationg system of the device</description>
				<data-type>NCHAR</data-type>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="LOCATE_DEVICE_COUNT">
				<description>number of times locate device is clicked</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CORPORATE_WIPE_COUNT">
				<description>number of times corporatie wipe command is initiated</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="COMPLETE_WIPE_COUNT">
				<description>number of times complete wipe </description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvUEMTracking_PK1">
			<primary-key-column>TRACKING_ID</primary-key-column>
		</primary-key>
	</table>

    <!-- Tables starts for InvDeviceType -->
    <table name="InvDeviceType">
        <description>
            <![CDATA[
			This table will hold the list of Device Type for each Device stored in Inventory.
			]]>
        </description>
        <columns>
            <column name="DEVICE_TYPE_ID">
                <description>Unique id for each Device Type in the inventory.</description>
                <data-type>BIGINT</data-type>
                <nullable>false</nullable>
                <unique>false</unique>
                <uniquevalue-generation>
                    <generator-name>InvDeviceType.DEVICE_TYPE_ID</generator-name>
                </uniquevalue-generation>
            </column>
            <column name="DEVICE_TYPE">
                <description>Display name of a Device Type.</description>
                <data-type>NCHAR</data-type>
                <max-size>250</max-size>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
        </columns>
        <primary-key name="InvDeviceType_PK">
            <primary-key-column>DEVICE_TYPE_ID</primary-key-column>
        </primary-key>
        <indexes>
            <index name="InvDeviceType_PK_IDX1">
                <index-column>DEVICE_TYPE</index-column>
            </index>
        </indexes>
    </table>
    <!-- Tables ends for InvDeviceType -->

    <!-- Tables starts for InvDevice -->
    <table name="InvDevice">
        <description>
            <![CDATA[
			This table will hold the list of Device Drivers stored in Inventory.
			]]>
        </description>
        <columns>
            <column name="DEVICE_ID">
                <description>Unique id for each Device Driver in the inventory.</description>
                <data-type>BIGINT</data-type>
                <nullable>false</nullable>
                <unique>false</unique>
                <uniquevalue-generation>
                    <generator-name>InvDevice.DEVICE_ID</generator-name>
                </uniquevalue-generation>
            </column>
            <column name="DEVICE_NAME">
                <description>Display name of a Device.</description>
                <data-type>NCHAR</data-type>
                <max-size>250</max-size>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="DEVICE_TYPE_ID">
                <description></description>
                <data-type>BIGINT</data-type>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="MANUFACTURER_ID">
                <description></description>
                <data-type>BIGINT</data-type>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="DETECTED_TIME">
                <description>The time at which the Device is detected for FIRST time
                    in the network.</description>
                <data-type>BIGINT</data-type>
                <default-value>0</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="CUSTOMER_ID">
                <description>Customer ID for storing customer specific softwares</description>
                <data-type>BIGINT</data-type>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
        </columns>
        <primary-key name="InvDevice_PK">
            <primary-key-column>DEVICE_ID</primary-key-column>
        </primary-key>
        <foreign-keys>
            <foreign-key name="InvDevice_FK1"
                         reference-table-name="InvManufacturer" isbidirectional="false">
                <fk-columns>
                    <fk-column>
                        <fk-local-column>MANUFACTURER_ID</fk-local-column>
                        <fk-reference-column>MANUFACTURER_ID</fk-reference-column>
                    </fk-column>
                </fk-columns>
                <fk-constraints>ON-DELETE-CASCADE</fk-constraints>
            </foreign-key>
            <foreign-key name="InvDevice_FK2"
                         reference-table-name="CustomerInfo" isbidirectional="false">
                <fk-columns>
                    <fk-column>
                        <fk-local-column>CUSTOMER_ID</fk-local-column>
                        <fk-reference-column>CUSTOMER_ID</fk-reference-column>
                    </fk-column>
                </fk-columns>
                <fk-constraints>ON-DELETE-CASCADE</fk-constraints>
            </foreign-key>
            <foreign-key name="InvDevice_FK3"
                         reference-table-name="InvDeviceType" isbidirectional="false">
                <fk-columns>
                    <fk-column>
                        <fk-local-column>DEVICE_TYPE_ID</fk-local-column>
                        <fk-reference-column>DEVICE_TYPE_ID</fk-reference-column>
                    </fk-column>
                </fk-columns>
                <fk-constraints>ON-DELETE-CASCADE</fk-constraints>
            </foreign-key>
        </foreign-keys>
        <indexes>
            <index name="InvDevice_IDX1">
                <index-column>DEVICE_NAME</index-column>
            </index>
        </indexes>
    </table>
    <!-- Tables ends for InvDevice -->

    <!-- Tables starts for InvDeviceDriver -->
    <table name="InvDeviceDriver">
        <description>
            <![CDATA[
			This table will hold the inventory device driver details.
			]]>
        </description>
        <columns>
            <column name="COMPONENT_ID">
                <description>Unique id for each driver component of a computer.</description>
                <data-type>BIGINT</data-type>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="COMPUTER_ID">
                <data-type>BIGINT</data-type>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="DEVICE_ID">
                <description>Unique id for the each drivers.</description>
                <data-type>BIGINT</data-type>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="LOCATION">
                <description>Location of the device.</description>
                <data-type>NCHAR</data-type>
                <max-size>250</max-size>
                <nullable>true</nullable>
                <unique>false</unique>
            </column>
            <column name="DRIVER_PROVIDER">
                <description>Device driver provider name.</description>
                <data-type>NCHAR</data-type>
                <max-size>250</max-size>
                <nullable>true</nullable>
                <unique>false</unique>
            </column>
            <column name="DRIVER_DATE">
                <description>Release date of the device driver.</description>
                <data-type>BIGINT</data-type>
                <default-value>0</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="DRIVER_VERSION">
                <description>Version of the driver installed.</description>
                <data-type>NCHAR</data-type>
                <max-size>250</max-size>
                <nullable>true</nullable>
                <unique>false</unique>
            </column>
            <column name="DIGITAL_SIGNER">
                <description>Digital signer for the device driver.</description>
                <data-type>NCHAR</data-type>
                <max-size>250</max-size>
                <nullable>true</nullable>
                <unique>false</unique>
            </column>
            <column name="DEVICE_CLASS">
                <description>Class type for the device.</description>
                <data-type>NCHAR</data-type>
                <max-size>250</max-size>
                <nullable>true</nullable>
                <unique>false</unique>
            </column>
            <column name="INF_FILE_NAME">
                <description>INF file of the device driver.</description>
                <data-type>NCHAR</data-type>
                <max-size>250</max-size>
                <nullable>true</nullable>
                <unique>false</unique>
            </column>
            <column name="PROBLEM_CODE">
                <description>Problem code returned by the deivice.</description>
                <data-type>INTEGER</data-type>
                <default-value>0</default-value>
                <nullable>true</nullable>
                <unique>false</unique>
            </column>
            <column name="INSTALLED_DATE">
                <description>Installed date of the device driver</description>
                <data-type>BIGINT</data-type>
                <default-value>0</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="DEVICE_INSTANCE_ID">
                <description>Device Instance ID of each device</description>
                <data-type>NCHAR</data-type>
                <max-size>250</max-size>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
        </columns>
        <primary-key name="InvDeviceDriver_PK">
            <primary-key-column>COMPONENT_ID</primary-key-column>
        </primary-key>
        <foreign-keys>
            <foreign-key name="InvDeviceDriver_FK1"
                         reference-table-name="InvComponent" isbidirectional="false">
                <fk-columns>
                    <fk-column>
                        <fk-local-column>COMPONENT_ID</fk-local-column>
                        <fk-reference-column>COMPONENT_ID</fk-reference-column>
                    </fk-column>
                </fk-columns>
                <fk-constraints>ON-DELETE-CASCADE</fk-constraints>
            </foreign-key>
            <foreign-key name="InvDeviceDriver_FK2"
                         reference-table-name="InvDevice" isbidirectional="false">
                <fk-columns>
                    <fk-column>
                        <fk-local-column>DEVICE_ID</fk-local-column>
                        <fk-reference-column>DEVICE_ID</fk-reference-column>
                    </fk-column>
                </fk-columns>
                <fk-constraints>ON-DELETE-CASCADE</fk-constraints>
            </foreign-key>
            <foreign-key name="InvDeviceDriver_FK3"
                         reference-table-name="InvComputer" isbidirectional="false">
                <fk-columns>
                    <fk-column>
                        <fk-local-column>COMPUTER_ID</fk-local-column>
                        <fk-reference-column>COMPUTER_ID</fk-reference-column>
                    </fk-column>
                </fk-columns>
                <fk-constraints>ON-DELETE-CASCADE</fk-constraints>
            </foreign-key>
        </foreign-keys>
        <indexes>
            <index name="InvDeviceDrive_IDX1">
                <index-column>DEVICE_INSTANCE_ID</index-column>
            </index>
        </indexes>
    </table>

    <table name="InvDeviceAuditHistory">
        <description>
            <![CDATA[
			This table audit device information in each scan.
			]]>
        </description>
        <columns>
            <column name="INV_AUDIT_HISTORY_ID">
                <description>Unique id for each audit made on the inventory.</description>
                <data-type>BIGINT</data-type>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="DEVICE_TYPE">
                <description></description>
                <data-type>NCHAR</data-type>
                <max-size>250</max-size>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="DEVICE_NAME">
                <description></description>
                <data-type>NCHAR</data-type>
                <max-size>250</max-size>
                <default-value>Not Available</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="MANUFACTURER_NAME">
                <description>The manufacturer name of the inventory object.</description>
                <data-type>NCHAR</data-type>
                <max-size>250</max-size>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
            <column name="COMPONENT_ID">
                <description>the component id of the device</description>
                <data-type>BIGINT</data-type>
                <nullable>true</nullable>
                <unique>false</unique>
            </column>
        </columns>
        <primary-key name="InvDeviceAuditHistory_PK">
            <primary-key-column>INV_AUDIT_HISTORY_ID</primary-key-column>
        </primary-key>
        <foreign-keys>
            <foreign-key name="InvDeviceAuditHistory_FK1" reference-table-name="InvAuditHistory" isbidirectional="false">
                <fk-columns>
                    <fk-column>
                        <fk-local-column>INV_AUDIT_HISTORY_ID</fk-local-column>
                        <fk-reference-column>INV_AUDIT_HISTORY_ID</fk-reference-column>
                    </fk-column>
                </fk-columns>
                <fk-constraints>ON-DELETE-CASCADE</fk-constraints>
            </foreign-key>
        </foreign-keys>
    </table>
    <!-- Tables ends for InvDeviceDriver -->

    <!-- Tables starts for InvScanSetting -->
    <table name="InvDefaultScanSetting">
        <description>
            <![CDATA[
			This table will holds the inventory scan settings
			]]>
        </description>
        <columns>
            <column name="CLASS_ID">
                <description>Unique id for each WMI Classes</description>
                <data-type>INTEGER</data-type>
                <nullable>false</nullable>
            </column>
            <column name="IS_SCAN_ENABLED">
                <description>Class scan status</description>
                <data-type>BOOLEAN</data-type>
                <default-value>false</default-value>
                <nullable>false</nullable>
            </column>
        </columns>
        <primary-key name="InvDefaultScanSetting_PK">
            <primary-key-column>CLASS_ID</primary-key-column>
        </primary-key>
        <foreign-keys>
            <foreign-key name="InvDefaultScanSetting_FK" reference-table-name="WMIClass" isbidirectional="false">
                <fk-columns>
                    <fk-column>
                        <fk-local-column>CLASS_ID</fk-local-column>
                        <fk-reference-column>CLASS_ID</fk-reference-column>
                    </fk-column>
                </fk-columns>
                <fk-constraints>ON-DELETE-CASCADE</fk-constraints>
            </foreign-key>
        </foreign-keys>
    </table>

    <table name="InvScanSetting">
        <description>
            <![CDATA[
			This table will holds the inventory scan settings
			]]>
        </description>
        <columns>
            <column name="CLASS_ID">
                <description>Unique id for each WMI Classes</description>
                <data-type>INTEGER</data-type>
                <nullable>false</nullable>
            </column>
            <column name="IS_SCAN_ENABLED">
                <description>Class scan status</description>
                <data-type>BOOLEAN</data-type>
                <default-value>false</default-value>
                <nullable>false</nullable>
            </column>
            <column name="CUSTOMER_ID">
                <description>Customer ID for storing customer specific softwares</description>
                <data-type>BIGINT</data-type>
                <nullable>false</nullable>
            </column>
        </columns>
        <primary-key name="InvScanSetting_PK">
            <primary-key-column>CLASS_ID</primary-key-column>
            <primary-key-column>CUSTOMER_ID</primary-key-column>
        </primary-key>
        <foreign-keys>
            <foreign-key name="InvScanSetting_FK1" reference-table-name="CustomerInfo" isbidirectional="false">
                <fk-columns>
                    <fk-column>
                        <fk-local-column>CUSTOMER_ID</fk-local-column>
                        <fk-reference-column>CUSTOMER_ID</fk-reference-column>
                    </fk-column>
                </fk-columns>
                <fk-constraints>ON-DELETE-CASCADE</fk-constraints>
            </foreign-key>
            <foreign-key name="InvScanSetting_FK2" reference-table-name="InvDefaultScanSetting" isbidirectional="false">
                <fk-columns>
                    <fk-column>
                        <fk-local-column>CLASS_ID</fk-local-column>
                        <fk-reference-column>CLASS_ID</fk-reference-column>
                    </fk-column>
                </fk-columns>
                <fk-constraints>ON-DELETE-CASCADE</fk-constraints>
            </foreign-key>
        </foreign-keys>
    </table>
    <!-- Tables ends for InvScanSetting -->

	<!--Tables for InvCertificates-->
	<table name="InvCertificateStatus">
		<description>
			<![CDATA[
        	This table holds the information about the Certificate Status
			]]>
		</description>
		<columns>
			<column name="STATUS_ID">
				<description>The Status code ID
				</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>Status description</description>
				<data-type>NCHAR</data-type>
				<max-size>50</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCertificateStatus_PK">
			<primary-key-column>STATUS_ID</primary-key-column>
		</primary-key>
	</table>

	<table name="InvCertificates">
		<description>
			<![CDATA[
			Table containing inventory certificate data
			]]>
		</description>
		<columns>
			<column name="CERTIFICATE_ID">
				<description>Unique id for each certificate.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
				<uniquevalue-generation>
					<generator-name>InvCertificates.CERTIFICATE_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="ISSUED_TO">
				<description>Certificate issued to</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ISSUED_BY">
				<description>Certificate issued by</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="FRIENDLY_NAME">
				<description>Certificate issuer friendly name</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SERIAL_NUMBER">
				<description>Certificate serial number</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VERSION">
				<description>Certificate Version</description>
				<data-type>NCHAR</data-type>
				<max-size>10</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SIGN_ALGORITHM">
				<description>Certificate Signature Algorithm</description>
				<data-type>NCHAR</data-type>
				<max-size>30</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SIGN_HASH_ALGORITHM">
				<description>Certificate Signature Hash</description>
				<data-type>NCHAR</data-type>
				<max-size>30</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SIGN_ALGORITHM_OID">
				<description>Certificate Signature OID</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="ISSUER_FULL_NAME">
				<description>Certificate Issuer full Name</description>
				<data-type>NCHAR</data-type>
				<max-size>511</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VALID_FROM">
				<description>Certificate Valid from</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="VALID_TO">
				<description>Certificate Valid to</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STATUS">
				<description>Certificate Status</description>
				<data-type>INTEGER</data-type>
				<default-value>-1</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="SUBJECT">
				<description>Certificate Subject</description>
				<data-type>NCHAR</data-type>
				<max-size>511</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="PUBLIC_KEY_LENGTH">
				<description>Certificate Public key length</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CERTIFICATE_TYPE">
				<description>Certificate Type</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for storing customer specific softwares</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
            <column name="ALERT_SENT">
                <description>Whether alert for the certificate has been sent</description>
                <data-type>BOOLEAN</data-type>
                <default-value>false</default-value>
                <nullable>false</nullable>
                <unique>false</unique>
            </column>
		</columns>
		<primary-key name="InvCertificates_PK">
			<primary-key-column>CERTIFICATE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCertificates_FK1" reference-table-name="InvCertificateStatus" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>STATUS</fk-local-column>
						<fk-reference-column>STATUS_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
			</foreign-key>
			<foreign-key name="InvCertificates_FK2" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvCertificateStores">
		<description>
			<![CDATA[
		   The table contains details of the certificate stores.
			]]>
		</description>
		<columns>
			<column name="CERTIFICATE_STORE_ID">
				<description>ID for certificate store.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CERTIFICATE_STORE">
				<description>Certificate store name</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STORE_SHORT_NAME">
				<description>Certificate store short name for Agent</description>
				<data-type>NCHAR</data-type>
				<max-size>100</max-size>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCertificateStores_PK">
			<primary-key-column>CERTIFICATE_STORE_ID</primary-key-column>
		</primary-key>
	</table>

	<table name="InvCertToComputerRel">
		<description>Table to store certificate to computer mapping</description>
		<columns>
			<column name="CERT_REL_ID">
				<description>Unique id for each certificate mapping.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>true</unique>
				<uniquevalue-generation>
					<generator-name>InvCertToComputerRel.CERT_REL_ID</generator-name>
				</uniquevalue-generation>
			</column>
			<column name="COMPUTER_ID">
				<description>Reference id for installed computer.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STORE_ID">
				<description>Reference id for certificate store.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CERTIFICATE_ID">
				<description>Reference id for certificate.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCertToComputerRel_PK">
			<primary-key-column>CERT_REL_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCertToComputerRel_FK1" reference-table-name="InvComputer" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>COMPUTER_ID</fk-local-column>
						<fk-reference-column>COMPUTER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCertToComputerRel_FK2" reference-table-name="InvCertificateStores" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>STORE_ID</fk-local-column>
						<fk-reference-column>CERTIFICATE_STORE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCertToComputerRel_FK3" reference-table-name="InvCertificates" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CERTIFICATE_ID</fk-local-column>
						<fk-reference-column>CERTIFICATE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvCertToUserRel">
		<description>Table to store certificate to user mapping</description>
		<columns>
			<column name="CERT_REL_ID">
				<description>Unique id for each certificate mapping.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="USER_COMPONENT_ID">
				<description>Reference id for system users account.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCertToUserRel_PK">
			<primary-key-column>USER_COMPONENT_ID</primary-key-column>
			<primary-key-column>CERT_REL_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCertToUserRel_FK1" reference-table-name="InvCertToComputerRel" isbidirectional="true">
				<fk-columns>
					<fk-column>
						<fk-local-column>CERT_REL_ID</fk-local-column>
						<fk-reference-column>CERT_REL_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCertToUserRel_FK2" reference-table-name="InvSystemUsers" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>USER_COMPONENT_ID</fk-local-column>
						<fk-reference-column>COMPONENT_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvCertStoreSetting">
		<description>
			<![CDATA[
		   The table contains details of the certificate stores and customer setting.
			]]>
		</description>
		<columns>
			<column name="CUSTOMER_ID">
				<description>Customer ID for storing customer specific softwares</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="STORE_ID">
				<description>ID for certificate store.</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="IS_ENABLED">
				<description>Is Certificate store is enabled for inventory scanning</description>
				<data-type>BOOLEAN</data-type>
				<default-value>false</default-value>
				<nullable>false</nullable>
			</column>
			<column name="LAST_UPDATED_TIME">
				<description>Last updated time for store setting</description>
				<data-type>BIGINT</data-type>
				<default-value>0</default-value>
				<nullable>false</nullable>
			</column>
		</columns>
		<primary-key name="InvCertStoreSetting_PK">
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>STORE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCertStoreSetting_FK1" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCertStoreSetting_FK2" reference-table-name="InvCertificateStores" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>STORE_ID</fk-local-column>
						<fk-reference-column>CERTIFICATE_STORE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
	<!--Tables end for InvCertificates-->

	<table name="InvScanSettingExtn">
		<description>
			<![CDATA[
			This table will holds the inventory scan setting details
			]]>
		</description>
		<columns>
			<column name="CLASS_ID">
				<description>ClassID referred from ScanSettings</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
			</column>
			<column name="PROPERTY_ID">
				<description>Unique id for each WMI Class Property</description>
				<data-type>INTEGER</data-type>
				<nullable>false</nullable>
			</column>
			<column name="PROPERTY_NAME">
				<description>Name of the Property</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
			</column>
			<column name="VALUE_FETCHER">
				<description>Implementation for Value fetcher</description>
				<data-type>NCHAR</data-type>
				<max-size>255</max-size>
				<default-value>--</default-value>
				<nullable>false</nullable>
			</column>
		</columns>
		<primary-key name="InvScanSettingExtn_PK">
			<primary-key-column>CLASS_ID</primary-key-column>
			<primary-key-column>PROPERTY_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvScanSettingExtn_FK1" reference-table-name="InvDefaultScanSetting" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CLASS_ID</fk-local-column>
						<fk-reference-column>CLASS_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvScanSettingExtn_FK2" reference-table-name="WMIClassProps" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>PROPERTY_ID</fk-local-column>
						<fk-reference-column>PROPERTY_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>

	<table name="InvCertificateAlert">
		<description>
			<![CDATA[
			Certificate alert for certificate expiring in given days
             ]]>
		</description>
		<columns>
			<column name="ALERT_TYPE_ID">
				<description>Reference Alert Type Id from DCAlertType.</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CUSTOMER_ID">
				<description>Customer ID for storing customer specific filter entries</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="TECH_ID">
				<description>Technician ID for whom the summary is generated..</description>
				<data-type>BIGINT</data-type>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
			<column name="CERTIFICATE_ALERT_DAYS">
				<description>Days before to send expiring.</description>
				<data-type>INTEGER</data-type>
				<default-value>25</default-value>
				<nullable>false</nullable>
				<unique>false</unique>
			</column>
		</columns>
		<primary-key name="InvCertificateAlert_PK">
			<primary-key-column>CUSTOMER_ID</primary-key-column>
			<primary-key-column>TECH_ID</primary-key-column>
			<primary-key-column>ALERT_TYPE_ID</primary-key-column>
		</primary-key>
		<foreign-keys>
			<foreign-key name="InvCertificateAlert_FK1" reference-table-name="CustomerInfo" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>CUSTOMER_ID</fk-local-column>
						<fk-reference-column>CUSTOMER_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCertificateAlert_FK2" reference-table-name="DCAlertType" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>ALERT_TYPE_ID</fk-local-column>
						<fk-reference-column>ALERT_TYPE_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
			<foreign-key name="InvCertificateAlert_FK3" reference-table-name="AaaLogin" isbidirectional="false">
				<fk-columns>
					<fk-column>
						<fk-local-column>TECH_ID</fk-local-column>
						<fk-reference-column>LOGIN_ID</fk-reference-column>
					</fk-column>
				</fk-columns>
				<fk-constraints>ON-DELETE-CASCADE</fk-constraints>
			</foreign-key>
		</foreign-keys>
	</table>
</data-dictionary>

Youez - 2016 - github.com/yon3zu
LinuXploit