How to use isScalar method in istanbul

Best JavaScript code snippet using istanbul

metadata.js

Source:metadata.js Github

copy

Full Screen

1//201704100827016_DialCode2breezeMetaData = JSON.stringify({3 "metadataVersion": "1.0.5",4 "namingConvention": "camelCase",5 "localQueryComparisonOptions": "caseInsensitiveSQL",6 "dataServices": [],7 "structuralTypes": [8 {9 "shortName": "ActivityDto",10 "namespace": "SP.Dto",11 "autoGeneratedKeyType": "None",12 "defaultResourceName": "Activities",13 "dataProperties": [14 {15 "name": "id",16 "dataType": "Guid",17 "isNullable": false,18 "defaultValue": "00000000-0000-0000-0000-000000000000",19 "isPartOfKey": true,20 "validators": [21 {22 "name": "required"23 },24 {25 "name": "guid"26 }27 ],28 "displayName": "Id"29 },30 {31 "name": "courseActivityId",32 "dataType": "Guid",33 "isNullable": false,34 "defaultValue": "00000000-0000-0000-0000-000000000000",35 "validators": [36 {37 "name": "required"38 },39 {40 "name": "guid"41 }42 ],43 "displayName": "Course Activity Id"44 },45 {46 "name": "fileModified",47 "dataType": "DateTime",48 "validators": [49 {50 "name": "date"51 }52 ],53 "displayName": "File Modified"54 },55 {56 "name": "fileSize",57 "dataType": "Int64",58 "validators": [59 {60 "name": "integer"61 },62 {63 "name": "numericRange",64 "min": 1.0,65 "max": 256000.0,66 "messageTemplate": "File Size must be 1 byte to 250 KiB"67 }68 ],69 "displayName": "File Size"70 },71 {72 "name": "description",73 "dataType": "String",74 "validators": [75 {76 "name": "string"77 },78 {79 "name": "required"80 },81 {82 "name": "maxLength",83 "maxLength": 12884 }85 ],86 "displayName": "Description"87 },88 {89 "name": "fileName",90 "dataType": "String",91 "validators": [92 {93 "name": "string"94 },95 {96 "name": "maxLength",97 "maxLength": 25698 }99 ],100 "displayName": "File Name"101 },102 {103 "name": "file",104 "dataType": "Binary",105 "validators": [106 {107 "name": "none"108 }109 ],110 "displayName": "File"111 }112 ],113 "navigationProperties": [114 {115 "name": "courseActivity",116 "entityTypeName": "CourseActivityDto:#SP.Dto",117 "isScalar": true,118 "associationName": "CourseActivityDto_ActivityChoices",119 "foreignKeyNames": [120 "courseActivityId"121 ],122 "displayName": "Course Activity"123 },124 {125 "name": "courseSlotActivities",126 "entityTypeName": "CourseSlotActivityDto:#SP.Dto",127 "isScalar": false,128 "associationName": "ActivityDto_CourseSlotActivities",129 "invForeignKeyNames": [130 "activityId"131 ],132 "displayName": "Course Slot Activities"133 }134 ]135 },136 {137 "shortName": "CourseActivityDto",138 "namespace": "SP.Dto",139 "autoGeneratedKeyType": "None",140 "defaultResourceName": "CourseActivities",141 "dataProperties": [142 {143 "name": "id",144 "dataType": "Guid",145 "isNullable": false,146 "defaultValue": "00000000-0000-0000-0000-000000000000",147 "isPartOfKey": true,148 "validators": [149 {150 "name": "required"151 },152 {153 "name": "guid"154 }155 ],156 "displayName": "Id"157 },158 {159 "name": "name",160 "dataType": "String",161 "isNullable": false,162 "defaultValue": "",163 "maxLength": 128,164 "validators": [165 {166 "name": "required"167 },168 {169 "maxLength": 128,170 "name": "maxLength"171 }172 ],173 "displayName": "Name"174 },175 {176 "name": "courseTypeId",177 "dataType": "Guid",178 "isNullable": false,179 "defaultValue": "00000000-0000-0000-0000-000000000000",180 "validators": [181 {182 "name": "required"183 },184 {185 "name": "guid"186 }187 ],188 "displayName": "Course Type Id"189 }190 ],191 "navigationProperties": [192 {193 "name": "activityChoices",194 "entityTypeName": "ActivityDto:#SP.Dto",195 "isScalar": false,196 "associationName": "CourseActivityDto_ActivityChoices",197 "invForeignKeyNames": [198 "courseActivityId"199 ],200 "displayName": "Activity Choices"201 },202 {203 "name": "courseSlots",204 "entityTypeName": "CourseSlotDto:#SP.Dto",205 "isScalar": false,206 "associationName": "CourseActivityDto_CourseSlots",207 "invForeignKeyNames": [208 "activityId"209 ],210 "displayName": "Course Slots"211 },212 {213 "name": "courseType",214 "entityTypeName": "CourseTypeDto:#SP.Dto",215 "isScalar": true,216 "associationName": "CourseTypeDto_CourseActivities",217 "foreignKeyNames": [218 "courseTypeId"219 ],220 "displayName": "Course Type"221 }222 ]223 },224 {225 "shortName": "CourseSlotDto",226 "namespace": "SP.Dto",227 "autoGeneratedKeyType": "None",228 "defaultResourceName": "CourseSlots",229 "dataProperties": [230 {231 "name": "id",232 "dataType": "Guid",233 "isNullable": false,234 "defaultValue": "00000000-0000-0000-0000-000000000000",235 "isPartOfKey": true,236 "validators": [237 {238 "name": "required"239 },240 {241 "name": "guid"242 }243 ],244 "displayName": "Id"245 },246 {247 "name": "minutesDuration",248 "dataType": "Byte",249 "isNullable": false,250 "defaultValue": 0,251 "validators": [252 {253 "name": "required"254 },255 {256 "name": "numericRange",257 "min": 1,258 "max": 240259 }260 ],261 "displayName": "Minutes Duration"262 },263 {264 "name": "isActive",265 "dataType": "Boolean",266 "isNullable": false,267 "defaultValue": true,268 "validators": [269 {270 "name": "required"271 },272 {273 "name": "bool"274 }275 ],276 "displayName": "Is Active"277 },278 {279 "name": "order",280 "dataType": "Int32",281 "isNullable": false,282 "defaultValue": 0,283 "validators": [284 {285 "name": "required"286 },287 {288 "name": "numericRange",289 "min": 0,290 "max": 100291 }292 ],293 "displayName": "Order"294 },295 {296 "name": "day",297 "dataType": "Byte",298 "isNullable": false,299 "defaultValue": 1,300 "validators": [301 {302 "name": "required"303 },304 {305 "name": "numericRange",306 "min": 1,307 "max": 28308 }309 ],310 "displayName": "Day"311 },312 {313 "name": "simultaneousStreams",314 "dataType": "Byte",315 "isNullable": false,316 "defaultValue": 1,317 "validators": [318 {319 "name": "required"320 },321 {322 "name": "numericRange",323 "min": 1,324 "max": 16325 }326 ],327 "displayName": "Simultaneous Streams"328 },329 {330 "name": "trackParticipants",331 "dataType": "Boolean",332 "isNullable": false,333 "defaultValue": true,334 "validators": [335 {336 "name": "required"337 },338 {339 "name": "bool"340 }341 ],342 "displayName": "Track Participants"343 },344 {345 "name": "facultyOnly",346 "dataType": "Boolean",347 "isNullable": false,348 "defaultValue": false,349 "validators": [350 {351 "name": "required"352 },353 {354 "name": "bool"355 }356 ],357 "displayName": "Faculty Only"358 },359 {360 "name": "activityId",361 "dataType": "Guid",362 "validators": [363 {364 "name": "guid"365 }366 ],367 "displayName": "Activity Id"368 },369 {370 "name": "courseFormatId",371 "dataType": "Guid",372 "isNullable": false,373 "defaultValue": "00000000-0000-0000-0000-000000000000",374 "validators": [375 {376 "name": "required"377 },378 {379 "name": "guid"380 }381 ],382 "displayName": "Course Format Id"383 }384 ],385 "navigationProperties": [386 {387 "name": "activity",388 "entityTypeName": "CourseActivityDto:#SP.Dto",389 "isScalar": true,390 "associationName": "CourseActivityDto_CourseSlots",391 "foreignKeyNames": [392 "activityId"393 ],394 "displayName": "Activity"395 },396 {397 "name": "courseFormat",398 "entityTypeName": "CourseFormatDto:#SP.Dto",399 "isScalar": true,400 "associationName": "CourseFormatDto_CourseSlots",401 "foreignKeyNames": [402 "courseFormatId"403 ],404 "displayName": "Course Format"405 },406 {407 "name": "courseScenarioFacultyRoles",408 "entityTypeName": "CourseScenarioFacultyRoleDto:#SP.Dto",409 "isScalar": false,410 "associationName": "CourseSlotDto_CourseScenarioFacultyRoles",411 "invForeignKeyNames": [412 "courseSlotId"413 ],414 "displayName": "Course Scenario Faculty Roles"415 },416 {417 "name": "courseSlotActivities",418 "entityTypeName": "CourseSlotActivityDto:#SP.Dto",419 "isScalar": false,420 "associationName": "CourseSlotDto_CourseSlotActivities",421 "invForeignKeyNames": [422 "courseSlotId"423 ],424 "displayName": "Course Slot Activities"425 },426 {427 "name": "courseSlotManikins",428 "entityTypeName": "CourseSlotManikinDto:#SP.Dto",429 "isScalar": false,430 "associationName": "CourseSlotDto_CourseSlotManikins",431 "invForeignKeyNames": [432 "courseSlotId"433 ],434 "displayName": "Course Slot Manikins"435 },436 {437 "name": "courseSlotPresenters",438 "entityTypeName": "CourseSlotPresenterDto:#SP.Dto",439 "isScalar": false,440 "associationName": "CourseSlotDto_CourseSlotPresenters",441 "invForeignKeyNames": [442 "courseSlotId"443 ],444 "displayName": "Course Slot Presenters"445 }446 ]447 },448 {449 "shortName": "CourseFormatDto",450 "namespace": "SP.Dto",451 "autoGeneratedKeyType": "None",452 "defaultResourceName": "CourseFormats",453 "dataProperties": [454 {455 "name": "id",456 "dataType": "Guid",457 "isNullable": false,458 "defaultValue": "00000000-0000-0000-0000-000000000000",459 "isPartOfKey": true,460 "validators": [461 {462 "name": "required"463 },464 {465 "name": "guid"466 }467 ],468 "displayName": "Id"469 },470 {471 "name": "description",472 "dataType": "String",473 "isNullable": false,474 "defaultValue": "",475 "maxLength": 50,476 "validators": [477 {478 "name": "required",479 "allowEmptyStrings": true480 },481 {482 "maxLength": 50,483 "name": "maxLength"484 }485 ],486 "displayName": "Description"487 },488 {489 "name": "daysDuration",490 "dataType": "Byte",491 "isNullable": false,492 "defaultValue": 1,493 "validators": [494 {495 "name": "required"496 },497 {498 "name": "numericRange",499 "min": 1,500 "max": 250501 }502 ],503 "displayName": "Days Duration"504 },505 {506 "name": "courseTypeId",507 "dataType": "Guid",508 "isNullable": false,509 "defaultValue": "00000000-0000-0000-0000-000000000000",510 "validators": [511 {512 "name": "required"513 },514 {515 "name": "guid"516 }517 ],518 "displayName": "Course Type Id"519 },520 {521 "name": "obsolete",522 "dataType": "Boolean",523 "isNullable": false,524 "defaultValue": false,525 "validators": [526 {527 "name": "required"528 },529 {530 "name": "bool"531 }532 ],533 "displayName": "Obsolete"534 },535 {536 "name": "hotDrinkProvided",537 "dataType": "Boolean",538 "isNullable": false,539 "defaultValue": false,540 "validators": [541 {542 "name": "required"543 },544 {545 "name": "bool"546 }547 ],548 "displayName": "Hot Drink Provided"549 },550 {551 "name": "mealProvided",552 "dataType": "Boolean",553 "isNullable": false,554 "defaultValue": false,555 "validators": [556 {557 "name": "required"558 },559 {560 "name": "bool"561 }562 ],563 "displayName": "Meal Provided"564 },565 {566 "name": "defaultStartTime",567 "dataType": "Time",568 "isNullable": false,569 "defaultValue": "PT8H",570 "validators": [571 {572 "name": "required"573 },574 {575 "name": "duration"576 }577 ],578 "displayName": "Default Start Time"579 }580 ],581 "navigationProperties": [582 {583 "name": "courses",584 "entityTypeName": "CourseDto:#SP.Dto",585 "isScalar": false,586 "associationName": "CourseFormatDto_Courses",587 "invForeignKeyNames": [588 "courseFormatId"589 ],590 "displayName": "Courses"591 },592 {593 "name": "courseSlots",594 "entityTypeName": "CourseSlotDto:#SP.Dto",595 "isScalar": false,596 "associationName": "CourseFormatDto_CourseSlots",597 "invForeignKeyNames": [598 "courseFormatId"599 ],600 "displayName": "Course Slots"601 },602 {603 "name": "courseType",604 "entityTypeName": "CourseTypeDto:#SP.Dto",605 "isScalar": true,606 "associationName": "CourseTypeDto_CourseFormats",607 "foreignKeyNames": [608 "courseTypeId"609 ],610 "displayName": "Course Type"611 }612 ]613 },614 {615 "shortName": "CourseDto",616 "namespace": "SP.Dto",617 "autoGeneratedKeyType": "None",618 "defaultResourceName": "Courses",619 "dataProperties": [620 {621 "name": "id",622 "dataType": "Guid",623 "isNullable": false,624 "defaultValue": "00000000-0000-0000-0000-000000000000",625 "isPartOfKey": true,626 "validators": [627 {628 "name": "required"629 },630 {631 "name": "guid"632 }633 ],634 "displayName": "Id"635 },636 {637 "name": "durationFacultyMins",638 "dataType": "Int32",639 "isNullable": false,640 "defaultValue": 0,641 "validators": [642 {643 "name": "required"644 },645 {646 "min": -2147483648,647 "max": 2147483647,648 "name": "int32"649 }650 ],651 "displayName": "Duration Faculty Mins"652 },653 {654 "name": "durationParticipantMins",655 "dataType": "Int32",656 "isNullable": false,657 "defaultValue": 0,658 "validators": [659 {660 "name": "required"661 },662 {663 "min": -2147483648,664 "max": 2147483647,665 "name": "int32"666 }667 ],668 "displayName": "Duration Participant Mins"669 },670 {671 "name": "departmentId",672 "dataType": "Guid",673 "isNullable": false,674 "defaultValue": "00000000-0000-0000-0000-000000000000",675 "validators": [676 {677 "name": "required"678 },679 {680 "name": "guid"681 }682 ],683 "displayName": "Department Id"684 },685 {686 "name": "outreachingDepartmentId",687 "dataType": "Guid",688 "validators": [689 {690 "name": "guid"691 }692 ],693 "displayName": "Outreaching Department Id"694 },695 {696 "name": "roomId",697 "dataType": "Guid",698 "isNullable": false,699 "defaultValue": "00000000-0000-0000-0000-000000000000",700 "validators": [701 {702 "name": "required"703 },704 {705 "name": "guid"706 }707 ],708 "displayName": "Room Id"709 },710 {711 "name": "facultyMeetingRoomId",712 "dataType": "Guid",713 "validators": [714 {715 "name": "guid"716 }717 ],718 "displayName": "Faculty Meeting Room Id"719 },720 {721 "name": "facultyMeetingDuration",722 "dataType": "Int32",723 "validators": [724 {725 "min": -2147483648,726 "max": 2147483647,727 "name": "int32"728 },729 {730 "name": "numericRange",731 "min": 0,732 "max": 480733 }734 ],735 "displayName": "Faculty Meeting Duration"736 },737 {738 "name": "facultyNoRequired",739 "dataType": "Byte",740 "isNullable": false,741 "defaultValue": 0,742 "validators": [743 {744 "name": "required"745 },746 {747 "min": 0,748 "max": 255,749 "name": "byte"750 }751 ],752 "displayName": "Faculty No Required"753 },754 {755 "name": "version",756 "dataType": "Int32",757 "isNullable": false,758 "defaultValue": 0,759 "validators": [760 {761 "name": "required"762 },763 {764 "min": -2147483648,765 "max": 2147483647,766 "name": "int32"767 }768 ],769 "displayName": "Version"770 },771 {772 "name": "courseFormatId",773 "dataType": "Guid",774 "isNullable": false,775 "defaultValue": "00000000-0000-0000-0000-000000000000",776 "validators": [777 {778 "name": "required"779 },780 {781 "name": "guid"782 }783 ],784 "displayName": "Course Format Id"785 },786 {787 "name": "participantVideoFilename",788 "dataType": "String",789 "maxLength": 256,790 "validators": [791 {792 "maxLength": 256,793 "name": "maxLength"794 }795 ],796 "displayName": "Participant Video Filename"797 },798 {799 "name": "feedbackSummaryFilename",800 "dataType": "String",801 "maxLength": 256,802 "validators": [803 {804 "maxLength": 256,805 "name": "maxLength"806 }807 ],808 "displayName": "Feedback Summary Filename"809 },810 {811 "name": "cancelled",812 "dataType": "Boolean",813 "isNullable": false,814 "defaultValue": false,815 "validators": [816 {817 "name": "required"818 },819 {820 "name": "bool"821 }822 ],823 "displayName": "Cancelled"824 },825 {826 "name": "startFacultyUtc",827 "dataType": "DateTime",828 "isNullable": false,829 "defaultValue": "",830 "validators": [831 {832 "name": "required"833 },834 {835 "name": "date"836 }837 ],838 "displayName": "Course Start"839 },840 {841 "name": "delayStartParticipantMins",842 "dataType": "Int32",843 "isNullable": false,844 "defaultValue": 0,845 "validators": [846 {847 "name": "required"848 },849 {850 "name": "numericRange",851 "min": 0,852 "max": 1500853 }854 ],855 "displayName": "Delay Start Participant Mins"856 },857 {858 "name": "facultyMeeting",859 "dataType": "DateTime",860 "validators": [861 {862 "name": "date"863 }864 ],865 "displayName": "Faculty Meeting"866 }867 ],868 "navigationProperties": [869 {870 "name": "courseDays",871 "entityTypeName": "CourseDayDto:#SP.Dto",872 "isScalar": false,873 "associationName": "CourseDto_CourseDays",874 "invForeignKeyNames": [875 "courseId"876 ],877 "displayName": "Course Days"878 },879 {880 "name": "courseFormat",881 "entityTypeName": "CourseFormatDto:#SP.Dto",882 "isScalar": true,883 "associationName": "CourseFormatDto_Courses",884 "foreignKeyNames": [885 "courseFormatId"886 ],887 "displayName": "Course Format"888 },889 {890 "name": "courseParticipants",891 "entityTypeName": "CourseParticipantDto:#SP.Dto",892 "isScalar": false,893 "associationName": "CourseDto_CourseParticipants",894 "invForeignKeyNames": [895 "courseId"896 ],897 "displayName": "Course Participants"898 },899 {900 "name": "courseScenarioFacultyRoles",901 "entityTypeName": "CourseScenarioFacultyRoleDto:#SP.Dto",902 "isScalar": false,903 "associationName": "CourseDto_CourseScenarioFacultyRoles",904 "invForeignKeyNames": [905 "courseId"906 ],907 "displayName": "Course Scenario Faculty Roles"908 },909 {910 "name": "courseSlotActivities",911 "entityTypeName": "CourseSlotActivityDto:#SP.Dto",912 "isScalar": false,913 "associationName": "CourseDto_CourseSlotActivities",914 "invForeignKeyNames": [915 "courseId"916 ],917 "displayName": "Course Slot Activities"918 },919 {920 "name": "courseSlotManikins",921 "entityTypeName": "CourseSlotManikinDto:#SP.Dto",922 "isScalar": false,923 "associationName": "CourseDto_CourseSlotManikins",924 "invForeignKeyNames": [925 "courseId"926 ],927 "displayName": "Course Slot Manikins"928 },929 {930 "name": "courseSlotPresenters",931 "entityTypeName": "CourseSlotPresenterDto:#SP.Dto",932 "isScalar": false,933 "associationName": "CourseDto_CourseSlotPresenters",934 "invForeignKeyNames": [935 "courseId"936 ],937 "displayName": "Course Slot Presenters"938 },939 {940 "name": "department",941 "entityTypeName": "DepartmentDto:#SP.Dto",942 "isScalar": true,943 "associationName": "DepartmentDto_Courses",944 "foreignKeyNames": [945 "departmentId"946 ],947 "displayName": "Department"948 },949 {950 "name": "facultyInvites",951 "entityTypeName": "CourseFacultyInviteDto:#SP.Dto",952 "isScalar": false,953 "associationName": "CourseDto_FacultyInvites",954 "invForeignKeyNames": [955 "courseId"956 ],957 "displayName": "Faculty Invites"958 },959 {960 "name": "facultyMeetingRoom",961 "entityTypeName": "RoomDto:#SP.Dto",962 "isScalar": true,963 "associationName": "RoomDto_FacultyMeetings",964 "foreignKeyNames": [965 "facultyMeetingRoomId"966 ],967 "displayName": "Faculty Meeting Room"968 },969 {970 "name": "outreachingDepartment",971 "entityTypeName": "DepartmentDto:#SP.Dto",972 "isScalar": true,973 "associationName": "DepartmentDto_OutreachCourses",974 "foreignKeyNames": [975 "outreachingDepartmentId"976 ],977 "displayName": "Outreaching Department"978 },979 {980 "name": "room",981 "entityTypeName": "RoomDto:#SP.Dto",982 "isScalar": true,983 "associationName": "RoomDto_Courses",984 "foreignKeyNames": [985 "roomId"986 ],987 "displayName": "Room"988 }989 ]990 },991 {992 "shortName": "CourseDayDto",993 "namespace": "SP.Dto",994 "autoGeneratedKeyType": "None",995 "defaultResourceName": "CourseDayDtoes",996 "dataProperties": [997 {998 "name": "courseId",999 "dataType": "Guid",1000 "isNullable": false,1001 "defaultValue": "00000000-0000-0000-0000-000000000000",1002 "isPartOfKey": true,1003 "validators": [1004 {1005 "name": "required"1006 },1007 {1008 "name": "guid"1009 }1010 ],1011 "displayName": "Course Id"1012 },1013 {1014 "name": "day",1015 "dataType": "Int32",1016 "isNullable": false,1017 "defaultValue": 0,1018 "isPartOfKey": true,1019 "validators": [1020 {1021 "name": "required"1022 },1023 {1024 "name": "numericRange",1025 "min": 2,1026 "max": 3651027 }1028 ],1029 "displayName": "Day"1030 },1031 {1032 "name": "startFacultyUtc",1033 "dataType": "DateTime",1034 "isNullable": false,1035 "defaultValue": "",1036 "validators": [1037 {1038 "name": "required"1039 },1040 {1041 "name": "date"1042 }1043 ],1044 "displayName": "Start Faculty Utc"1045 },1046 {1047 "name": "durationFacultyMins",1048 "dataType": "Int32",1049 "isNullable": false,1050 "defaultValue": 0,1051 "validators": [1052 {1053 "name": "required"1054 },1055 {1056 "min": -2147483648,1057 "max": 2147483647,1058 "name": "int32"1059 }1060 ],1061 "displayName": "Duration Faculty Mins"1062 },1063 {1064 "name": "delayStartParticipantMins",1065 "dataType": "Int32",1066 "isNullable": false,1067 "defaultValue": 0,1068 "validators": [1069 {1070 "name": "required"1071 },1072 {1073 "min": -2147483648,1074 "max": 2147483647,1075 "name": "int32"1076 }1077 ],1078 "displayName": "Delay Start Participant Mins"1079 },1080 {1081 "name": "durationParticipantMins",1082 "dataType": "Int32",1083 "isNullable": false,1084 "defaultValue": 0,1085 "validators": [1086 {1087 "name": "required"1088 },1089 {1090 "min": -2147483648,1091 "max": 2147483647,1092 "name": "int32"1093 }1094 ],1095 "displayName": "Duration Participant Mins"1096 }1097 ],1098 "navigationProperties": [1099 {1100 "name": "course",1101 "entityTypeName": "CourseDto:#SP.Dto",1102 "isScalar": true,1103 "associationName": "CourseDto_CourseDays",1104 "foreignKeyNames": [1105 "courseId"1106 ],1107 "displayName": "Course"1108 }1109 ]1110 },1111 {1112 "shortName": "CourseParticipantDto",1113 "namespace": "SP.Dto",1114 "autoGeneratedKeyType": "None",1115 "defaultResourceName": "CourseParticipants",1116 "dataProperties": [1117 {1118 "name": "courseId",1119 "dataType": "Guid",1120 "isNullable": false,1121 "defaultValue": "00000000-0000-0000-0000-000000000000",1122 "isPartOfKey": true,1123 "validators": [1124 {1125 "name": "required"1126 },1127 {1128 "name": "guid"1129 }1130 ],1131 "displayName": "Course Id"1132 },1133 {1134 "name": "participantId",1135 "dataType": "Guid",1136 "isNullable": false,1137 "defaultValue": "00000000-0000-0000-0000-000000000000",1138 "isPartOfKey": true,1139 "validators": [1140 {1141 "name": "required"1142 },1143 {1144 "name": "guid"1145 }1146 ],1147 "displayName": "Participant Id"1148 },1149 {1150 "name": "isConfirmed",1151 "dataType": "Boolean",1152 "validators": [1153 {1154 "name": "bool"1155 }1156 ],1157 "displayName": "Is Confirmed"1158 },1159 {1160 "name": "isFaculty",1161 "dataType": "Boolean",1162 "isNullable": false,1163 "defaultValue": false,1164 "validators": [1165 {1166 "name": "required"1167 },1168 {1169 "name": "bool"1170 }1171 ],1172 "displayName": "Is Faculty"1173 },1174 {1175 "name": "isOrganiser",1176 "dataType": "Boolean",1177 "isNullable": false,1178 "defaultValue": false,1179 "validators": [1180 {1181 "name": "required"1182 },1183 {1184 "name": "bool"1185 }1186 ],1187 "displayName": "Is Organiser"1188 },1189 {1190 "name": "departmentId",1191 "dataType": "Guid",1192 "isNullable": false,1193 "defaultValue": "00000000-0000-0000-0000-000000000000",1194 "validators": [1195 {1196 "name": "required"1197 },1198 {1199 "name": "guid"1200 }1201 ],1202 "displayName": "Department Id"1203 },1204 {1205 "name": "professionalRoleId",1206 "dataType": "Guid",1207 "isNullable": false,1208 "defaultValue": "00000000-0000-0000-0000-000000000000",1209 "validators": [1210 {1211 "name": "required"1212 },1213 {1214 "name": "guid"1215 }1216 ],1217 "displayName": "Professional Role Id"1218 }1219 ],1220 "navigationProperties": [1221 {1222 "name": "course",1223 "entityTypeName": "CourseDto:#SP.Dto",1224 "isScalar": true,1225 "associationName": "CourseDto_CourseParticipants",1226 "foreignKeyNames": [1227 "courseId"1228 ],1229 "displayName": "Course"1230 },1231 {1232 "name": "department",1233 "entityTypeName": "DepartmentDto:#SP.Dto",1234 "isScalar": true,1235 "associationName": "DepartmentDto_CourseParticipants",1236 "foreignKeyNames": [1237 "departmentId"1238 ],1239 "displayName": "Department"1240 },1241 {1242 "name": "participant",1243 "entityTypeName": "ParticipantDto:#SP.Dto",1244 "isScalar": true,1245 "associationName": "ParticipantDto_CourseParticipants",1246 "foreignKeyNames": [1247 "participantId"1248 ],1249 "displayName": "Participant"1250 },1251 {1252 "name": "professionalRole",1253 "entityTypeName": "ProfessionalRoleDto:#SP.Dto",1254 "isScalar": true,1255 "associationName": "ProfessionalRoleDto_CourseParticipants",1256 "foreignKeyNames": [1257 "professionalRoleId"1258 ],1259 "displayName": "Professional Role"1260 }1261 ]1262 },1263 {1264 "shortName": "DepartmentDto",1265 "namespace": "SP.Dto",1266 "autoGeneratedKeyType": "None",1267 "defaultResourceName": "Departments",1268 "dataProperties": [1269 {1270 "name": "id",1271 "dataType": "Guid",1272 "isNullable": false,1273 "defaultValue": "00000000-0000-0000-0000-000000000000",1274 "isPartOfKey": true,1275 "validators": [1276 {1277 "name": "required"1278 },1279 {1280 "name": "guid"1281 }1282 ],1283 "displayName": "Id"1284 },1285 {1286 "name": "name",1287 "dataType": "String",1288 "isNullable": false,1289 "defaultValue": "",1290 "maxLength": 64,1291 "validators": [1292 {1293 "name": "required"1294 },1295 {1296 "maxLength": 64,1297 "name": "maxLength"1298 }1299 ],1300 "displayName": "Name"1301 },1302 {1303 "name": "abbreviation",1304 "dataType": "String",1305 "isNullable": false,1306 "defaultValue": "",1307 "maxLength": 32,1308 "validators": [1309 {1310 "name": "required"1311 },1312 {1313 "maxLength": 32,1314 "name": "maxLength"1315 }1316 ],1317 "displayName": "Abbreviation"1318 },1319 {1320 "name": "institutionId",1321 "dataType": "Guid",1322 "isNullable": false,1323 "defaultValue": "00000000-0000-0000-0000-000000000000",1324 "validators": [1325 {1326 "name": "required"1327 },1328 {1329 "name": "guid"1330 }1331 ],1332 "displayName": "Institution Id"1333 },1334 {1335 "name": "invitationLetterFilename",1336 "dataType": "String",1337 "maxLength": 256,1338 "validators": [1339 {1340 "maxLength": 256,1341 "name": "maxLength"1342 }1343 ],1344 "displayName": "Invitation Letter Filename"1345 },1346 {1347 "name": "certificateFilename",1348 "dataType": "String",1349 "maxLength": 256,1350 "validators": [1351 {1352 "maxLength": 256,1353 "name": "maxLength"1354 }1355 ],1356 "displayName": "Certificate Filename"1357 },1358 {1359 "name": "primaryColour",1360 "dataType": "String",1361 "isNullable": false,1362 "defaultValue": "000000",1363 "maxLength": 6,1364 "validators": [1365 {1366 "name": "required"1367 },1368 {1369 "name": "stringLength",1370 "minLength": 6,1371 "maxLength": 61372 },1373 {1374 "name": "regularExpression",1375 "expression": "[0-9a-f]+"1376 }1377 ],1378 "displayName": "Primary Colour"1379 },1380 {1381 "name": "secondaryColour",1382 "dataType": "String",1383 "isNullable": false,1384 "defaultValue": "000000",1385 "maxLength": 6,1386 "validators": [1387 {1388 "name": "required"1389 },1390 {1391 "name": "stringLength",1392 "minLength": 6,1393 "maxLength": 61394 },1395 {1396 "name": "regularExpression",1397 "expression": "[0-9a-f]+"1398 }1399 ],1400 "displayName": "Secondary Colour"1401 },1402 {1403 "name": "adminApproved",1404 "dataType": "Boolean",1405 "isNullable": false,1406 "defaultValue": false,1407 "validators": [1408 {1409 "name": "required"1410 },1411 {1412 "name": "bool"1413 }1414 ],1415 "displayName": "Admin Approved"1416 }1417 ],1418 "navigationProperties": [1419 {1420 "name": "courseParticipants",1421 "entityTypeName": "CourseParticipantDto:#SP.Dto",1422 "isScalar": false,1423 "associationName": "DepartmentDto_CourseParticipants",1424 "invForeignKeyNames": [1425 "departmentId"1426 ],1427 "displayName": "Course Participants"1428 },1429 {1430 "name": "courses",1431 "entityTypeName": "CourseDto:#SP.Dto",1432 "isScalar": false,1433 "associationName": "DepartmentDto_Courses",1434 "invForeignKeyNames": [1435 "departmentId"1436 ],1437 "displayName": "Courses"1438 },1439 {1440 "name": "courseTypeDepartments",1441 "entityTypeName": "CourseTypeDepartmentDto:#SP.Dto",1442 "isScalar": false,1443 "associationName": "DepartmentDto_CourseTypeDepartments",1444 "invForeignKeyNames": [1445 "departmentId"1446 ],1447 "displayName": "Course Type Departments"1448 },1449 {1450 "name": "institution",1451 "entityTypeName": "InstitutionDto:#SP.Dto",1452 "isScalar": true,1453 "associationName": "InstitutionDto_Departments",1454 "foreignKeyNames": [1455 "institutionId"1456 ],1457 "displayName": "Institution"1458 },1459 {1460 "name": "manikins",1461 "entityTypeName": "ManikinDto:#SP.Dto",1462 "isScalar": false,1463 "associationName": "DepartmentDto_Manikins",1464 "invForeignKeyNames": [1465 "departmentId"1466 ],1467 "displayName": "Manikins"1468 },1469 {1470 "name": "outreachCourses",1471 "entityTypeName": "CourseDto:#SP.Dto",1472 "isScalar": false,1473 "associationName": "DepartmentDto_OutreachCourses",1474 "invForeignKeyNames": [1475 "outreachingDepartmentId"1476 ],1477 "displayName": "Outreach Courses"1478 },1479 {1480 "name": "participants",1481 "entityTypeName": "ParticipantDto:#SP.Dto",1482 "isScalar": false,1483 "associationName": "DepartmentDto_Participants",1484 "invForeignKeyNames": [1485 "defaultDepartmentId"1486 ],1487 "displayName": "Participants"1488 },1489 {1490 "name": "rooms",1491 "entityTypeName": "RoomDto:#SP.Dto",1492 "isScalar": false,1493 "associationName": "DepartmentDto_Rooms",1494 "invForeignKeyNames": [1495 "departmentId"1496 ],1497 "displayName": "Rooms"1498 },1499 {1500 "name": "scenarios",1501 "entityTypeName": "ScenarioDto:#SP.Dto",1502 "isScalar": false,1503 "associationName": "DepartmentDto_Scenarios",1504 "invForeignKeyNames": [1505 "departmentId"1506 ],1507 "displayName": "Scenarios"1508 }1509 ]1510 },1511 {1512 "shortName": "CourseTypeDepartmentDto",1513 "namespace": "SP.Dto",1514 "autoGeneratedKeyType": "None",1515 "defaultResourceName": "CourseTypeDepartmentDtoes",1516 "dataProperties": [1517 {1518 "name": "courseTypeId",1519 "dataType": "Guid",1520 "isNullable": false,1521 "defaultValue": "00000000-0000-0000-0000-000000000000",1522 "isPartOfKey": true,1523 "validators": [1524 {1525 "name": "required"1526 },1527 {1528 "name": "guid"1529 }1530 ],1531 "displayName": "Course Type Id"1532 },1533 {1534 "name": "departmentId",1535 "dataType": "Guid",1536 "isNullable": false,1537 "defaultValue": "00000000-0000-0000-0000-000000000000",1538 "isPartOfKey": true,1539 "validators": [1540 {1541 "name": "required"1542 },1543 {1544 "name": "guid"1545 }1546 ],1547 "displayName": "Department Id"1548 }1549 ],1550 "navigationProperties": [1551 {1552 "name": "courseType",1553 "entityTypeName": "CourseTypeDto:#SP.Dto",1554 "isScalar": true,1555 "associationName": "CourseTypeDto_CourseTypeDepartments",1556 "foreignKeyNames": [1557 "courseTypeId"1558 ],1559 "displayName": "Course Type"1560 },1561 {1562 "name": "department",1563 "entityTypeName": "DepartmentDto:#SP.Dto",1564 "isScalar": true,1565 "associationName": "DepartmentDto_CourseTypeDepartments",1566 "foreignKeyNames": [1567 "departmentId"1568 ],1569 "displayName": "Department"1570 }1571 ]1572 },1573 {1574 "shortName": "CourseTypeDto",1575 "namespace": "SP.Dto",1576 "autoGeneratedKeyType": "None",1577 "defaultResourceName": "CourseTypes",1578 "dataProperties": [1579 {1580 "name": "id",1581 "dataType": "Guid",1582 "isNullable": false,1583 "defaultValue": "00000000-0000-0000-0000-000000000000",1584 "isPartOfKey": true,1585 "validators": [1586 {1587 "name": "required"1588 },1589 {1590 "name": "guid"1591 }1592 ],1593 "displayName": "Id"1594 },1595 {1596 "name": "description",1597 "dataType": "String",1598 "isNullable": false,1599 "defaultValue": "",1600 "maxLength": 50,1601 "validators": [1602 {1603 "name": "required"1604 },1605 {1606 "maxLength": 50,1607 "name": "maxLength"1608 }1609 ],1610 "displayName": "Description"1611 },1612 {1613 "name": "abbreviation",1614 "dataType": "String",1615 "isNullable": false,1616 "defaultValue": "",1617 "maxLength": 32,1618 "validators": [1619 {1620 "name": "required"1621 },1622 {1623 "maxLength": 32,1624 "name": "maxLength"1625 }1626 ],1627 "displayName": "Abbreviation"1628 },1629 {1630 "name": "emersionCategory",1631 "dataType": "String",1632 "validators": [1633 {1634 "name": "string"1635 }1636 ],1637 "enumType": "Edm.Self.Emersion",1638 "displayName": "Emersion Category"1639 },1640 {1641 "name": "instructorCourseId",1642 "dataType": "Guid",1643 "validators": [1644 {1645 "name": "guid"1646 }1647 ],1648 "displayName": "Instructor Course Id"1649 },1650 {1651 "name": "sendCandidateTimetable",1652 "dataType": "Boolean",1653 "isNullable": false,1654 "defaultValue": false,1655 "validators": [1656 {1657 "name": "required"1658 },1659 {1660 "name": "bool"1661 }1662 ],1663 "displayName": "Send Candidate Timetable"1664 },1665 {1666 "name": "certificateFileName",1667 "dataType": "String",1668 "validators": [1669 {1670 "name": "string"1671 }1672 ],1673 "displayName": "Certificate File Name"1674 },1675 {1676 "name": "fileModified",1677 "dataType": "DateTime",1678 "validators": [1679 {1680 "name": "date"1681 }1682 ],1683 "displayName": "File Modified"1684 },1685 {1686 "name": "fileSize",1687 "dataType": "Int64",1688 "validators": [1689 {1690 "name": "integer"1691 },1692 {1693 "name": "numericRange",1694 "min": 1.0,1695 "max": 256000.0,1696 "messageTemplate": "File Size must be 1 byte to 250 KiB"1697 }1698 ],1699 "displayName": "File Size"1700 },1701 {1702 "name": "file",1703 "dataType": "Binary",1704 "validators": [1705 {1706 "name": "none"1707 }1708 ],1709 "displayName": "File"1710 }1711 ],1712 "navigationProperties": [1713 {1714 "name": "candidatePrereadings",1715 "entityTypeName": "CandidatePrereadingDto:#SP.Dto",1716 "isScalar": false,1717 "associationName": "CourseTypeDto_CandidatePrereadings",1718 "invForeignKeyNames": [1719 "courseTypeId"1720 ],1721 "displayName": "Candidate Prereadings"1722 },1723 {1724 "name": "courseActivities",1725 "entityTypeName": "CourseActivityDto:#SP.Dto",1726 "isScalar": false,1727 "associationName": "CourseTypeDto_CourseActivities",1728 "invForeignKeyNames": [1729 "courseTypeId"1730 ],1731 "displayName": "Course Activities"1732 },1733 {1734 "name": "courseFormats",1735 "entityTypeName": "CourseFormatDto:#SP.Dto",1736 "isScalar": false,1737 "associationName": "CourseTypeDto_CourseFormats",1738 "invForeignKeyNames": [1739 "courseTypeId"1740 ],1741 "displayName": "Course Formats"1742 },1743 {1744 "name": "courseTypeDepartments",1745 "entityTypeName": "CourseTypeDepartmentDto:#SP.Dto",1746 "isScalar": false,1747 "associationName": "CourseTypeDto_CourseTypeDepartments",1748 "invForeignKeyNames": [1749 "courseTypeId"1750 ],1751 "displayName": "Course Type Departments"1752 },1753 {1754 "name": "courseTypeScenarioRoles",1755 "entityTypeName": "CourseTypeScenarioRoleDto:#SP.Dto",1756 "isScalar": false,1757 "associationName": "CourseTypeDto_CourseTypeScenarioRoles",1758 "invForeignKeyNames": [1759 "courseTypeId"1760 ],1761 "displayName": "Course Type Scenario Roles"1762 },1763 {1764 "name": "instructorCourse",1765 "entityTypeName": "CourseTypeDto:#SP.Dto",1766 "isScalar": true,1767 "associationName": "CourseTypeDto_InstructorCourse",1768 "foreignKeyNames": [1769 "instructorCourseId"1770 ],1771 "displayName": "Instructor Course"1772 },1773 {1774 "name": "scenarios",1775 "entityTypeName": "ScenarioDto:#SP.Dto",1776 "isScalar": false,1777 "associationName": "CourseTypeDto_Scenarios",1778 "invForeignKeyNames": [1779 "courseTypeId"1780 ],1781 "displayName": "Scenarios"1782 }1783 ]1784 },1785 {1786 "shortName": "CandidatePrereadingDto",1787 "namespace": "SP.Dto",1788 "autoGeneratedKeyType": "None",1789 "defaultResourceName": "CandidatePrereading",1790 "dataProperties": [1791 {1792 "name": "id",1793 "dataType": "Guid",1794 "isNullable": false,1795 "defaultValue": "00000000-0000-0000-0000-000000000000",1796 "isPartOfKey": true,1797 "validators": [1798 {1799 "name": "required"1800 },1801 {1802 "name": "guid"1803 }1804 ],1805 "displayName": "Id"1806 },1807 {1808 "name": "fileName",1809 "dataType": "String",1810 "isNullable": false,1811 "defaultValue": "",1812 "maxLength": 256,1813 "validators": [1814 {1815 "name": "required"1816 },1817 {1818 "maxLength": 256,1819 "name": "maxLength"1820 }1821 ],1822 "displayName": "File Name"1823 },1824 {1825 "name": "fileModified",1826 "dataType": "DateTime",1827 "isNullable": false,1828 "defaultValue": "",1829 "validators": [1830 {1831 "name": "required"1832 },1833 {1834 "name": "date"1835 }1836 ],1837 "displayName": "File Modified"1838 },1839 {1840 "name": "fileSize",1841 "dataType": "Int64",1842 "isNullable": false,1843 "defaultValue": 0,1844 "validators": [1845 {1846 "name": "required"1847 },1848 {1849 "name": "integer"1850 },1851 {1852 "name": "numericRange",1853 "min": 1.0,1854 "max": 256000.0,1855 "messageTemplate": "File Size must be 1 byte to 250 KiB"1856 }1857 ],1858 "displayName": "File Size"1859 },1860 {1861 "name": "file",1862 "dataType": "Binary",1863 "validators": [1864 {1865 "name": "none"1866 }1867 ],1868 "displayName": "File"1869 },1870 {1871 "name": "sendRelativeToCourse",1872 "dataType": "Int16",1873 "validators": [1874 {1875 "min": -32768,1876 "max": 32767,1877 "name": "int16"1878 }1879 ],1880 "displayName": "Send Relative To Course"1881 },1882 {1883 "name": "courseTypeId",1884 "dataType": "Guid",1885 "isNullable": false,1886 "defaultValue": "00000000-0000-0000-0000-000000000000",1887 "validators": [1888 {1889 "name": "required"1890 },1891 {1892 "name": "guid"1893 }1894 ],1895 "displayName": "Course Type Id"1896 }1897 ],1898 "navigationProperties": [1899 {1900 "name": "courseType",1901 "entityTypeName": "CourseTypeDto:#SP.Dto",1902 "isScalar": true,1903 "associationName": "CourseTypeDto_CandidatePrereadings",1904 "foreignKeyNames": [1905 "courseTypeId"1906 ],1907 "displayName": "Course Type"1908 }1909 ]1910 },1911 {1912 "shortName": "CourseTypeScenarioRoleDto",1913 "namespace": "SP.Dto",1914 "autoGeneratedKeyType": "None",1915 "defaultResourceName": "CourseTypeScenarioRoles",1916 "dataProperties": [1917 {1918 "name": "courseTypeId",1919 "dataType": "Guid",1920 "isNullable": false,1921 "defaultValue": "00000000-0000-0000-0000-000000000000",1922 "isPartOfKey": true,1923 "validators": [1924 {1925 "name": "required"1926 },1927 {1928 "name": "guid"1929 }1930 ],1931 "displayName": "Course Type Id"1932 },1933 {1934 "name": "facultyScenarioRoleId",1935 "dataType": "Guid",1936 "isNullable": false,1937 "defaultValue": "00000000-0000-0000-0000-000000000000",1938 "isPartOfKey": true,1939 "validators": [1940 {1941 "name": "required"1942 },1943 {1944 "name": "guid"1945 }1946 ],1947 "displayName": "Faculty Scenario Role Id"1948 }1949 ],1950 "navigationProperties": [1951 {1952 "name": "courseType",1953 "entityTypeName": "CourseTypeDto:#SP.Dto",1954 "isScalar": true,1955 "associationName": "CourseTypeDto_CourseTypeScenarioRoles",1956 "foreignKeyNames": [1957 "courseTypeId"1958 ],1959 "displayName": "Course Type"1960 },1961 {1962 "name": "facultyScenarioRole",1963 "entityTypeName": "FacultyScenarioRoleDto:#SP.Dto",1964 "isScalar": true,1965 "associationName": "FacultyScenarioRoleDto_CourseTypeScenarioRoles",1966 "foreignKeyNames": [1967 "facultyScenarioRoleId"1968 ],1969 "displayName": "Faculty Scenario Role"1970 }1971 ]1972 },1973 {1974 "shortName": "FacultyScenarioRoleDto",1975 "namespace": "SP.Dto",1976 "autoGeneratedKeyType": "None",1977 "defaultResourceName": "FacultyScenarioRoles",1978 "dataProperties": [1979 {1980 "name": "id",1981 "dataType": "Guid",1982 "isNullable": false,1983 "defaultValue": "00000000-0000-0000-0000-000000000000",1984 "isPartOfKey": true,1985 "validators": [1986 {1987 "name": "required"1988 },1989 {1990 "name": "guid"1991 }1992 ],1993 "displayName": "Id"1994 },1995 {1996 "name": "description",1997 "dataType": "String",1998 "isNullable": false,1999 "defaultValue": "",2000 "maxLength": 50,2001 "validators": [2002 {2003 "name": "required"2004 },2005 {2006 "maxLength": 50,2007 "name": "maxLength"2008 }2009 ],2010 "displayName": "Description"2011 },2012 {2013 "name": "order",2014 "dataType": "Int32",2015 "isNullable": false,2016 "defaultValue": 0,2017 "validators": [2018 {2019 "name": "required"2020 },2021 {2022 "name": "numericRange",2023 "min": 0,2024 "max": 202025 }2026 ],2027 "displayName": "Order"2028 }2029 ],2030 "navigationProperties": [2031 {2032 "name": "courseScenarioFacultyRoles",2033 "entityTypeName": "CourseScenarioFacultyRoleDto:#SP.Dto",2034 "isScalar": false,2035 "associationName": "FacultyScenarioRoleDto_CourseScenarioFacultyRoles",2036 "invForeignKeyNames": [2037 "facultyScenarioRoleId"2038 ],2039 "displayName": "Course Scenario Faculty Roles"2040 },2041 {2042 "name": "courseTypeScenarioRoles",2043 "entityTypeName": "CourseTypeScenarioRoleDto:#SP.Dto",2044 "isScalar": false,2045 "associationName": "FacultyScenarioRoleDto_CourseTypeScenarioRoles",2046 "invForeignKeyNames": [2047 "facultyScenarioRoleId"2048 ],2049 "displayName": "Course Type Scenario Roles"2050 }2051 ]2052 },2053 {2054 "shortName": "CourseScenarioFacultyRoleDto",2055 "namespace": "SP.Dto",2056 "autoGeneratedKeyType": "None",2057 "defaultResourceName": "CourseScenarioFacultyRoles",2058 "dataProperties": [2059 {2060 "name": "courseId",2061 "dataType": "Guid",2062 "isNullable": false,2063 "defaultValue": "00000000-0000-0000-0000-000000000000",2064 "isPartOfKey": true,2065 "validators": [2066 {2067 "name": "required"2068 },2069 {2070 "name": "guid"2071 }2072 ],2073 "displayName": "Course Id"2074 },2075 {2076 "name": "courseSlotId",2077 "dataType": "Guid",2078 "isNullable": false,2079 "defaultValue": "00000000-0000-0000-0000-000000000000",2080 "isPartOfKey": true,2081 "validators": [2082 {2083 "name": "required"2084 },2085 {2086 "name": "guid"2087 }2088 ],2089 "displayName": "Course Slot Id"2090 },2091 {2092 "name": "participantId",2093 "dataType": "Guid",2094 "isNullable": false,2095 "defaultValue": "00000000-0000-0000-0000-000000000000",2096 "isPartOfKey": true,2097 "validators": [2098 {2099 "name": "required"2100 },2101 {2102 "name": "guid"2103 }2104 ],2105 "displayName": "Participant Id"2106 },2107 {2108 "name": "facultyScenarioRoleId",2109 "dataType": "Guid",2110 "isNullable": false,2111 "defaultValue": "00000000-0000-0000-0000-000000000000",2112 "isPartOfKey": true,2113 "validators": [2114 {2115 "name": "required"2116 },2117 {2118 "name": "guid"2119 }2120 ],2121 "displayName": "Faculty Scenario Role Id"2122 }2123 ],2124 "navigationProperties": [2125 {2126 "name": "course",2127 "entityTypeName": "CourseDto:#SP.Dto",2128 "isScalar": true,2129 "associationName": "CourseDto_CourseScenarioFacultyRoles",2130 "foreignKeyNames": [2131 "courseId"2132 ],2133 "displayName": "Course"2134 },2135 {2136 "name": "courseSlot",2137 "entityTypeName": "CourseSlotDto:#SP.Dto",2138 "isScalar": true,2139 "associationName": "CourseSlotDto_CourseScenarioFacultyRoles",2140 "foreignKeyNames": [2141 "courseSlotId"2142 ],2143 "displayName": "Course Slot"2144 },2145 {2146 "name": "facultyScenarioRole",2147 "entityTypeName": "FacultyScenarioRoleDto:#SP.Dto",2148 "isScalar": true,2149 "associationName": "FacultyScenarioRoleDto_CourseScenarioFacultyRoles",2150 "foreignKeyNames": [2151 "facultyScenarioRoleId"2152 ],2153 "displayName": "Faculty Scenario Role"2154 },2155 {2156 "name": "participant",2157 "entityTypeName": "ParticipantDto:#SP.Dto",2158 "isScalar": true,2159 "associationName": "ParticipantDto_CourseScenarioFacultyRoles",2160 "foreignKeyNames": [2161 "participantId"2162 ],2163 "displayName": "Participant"2164 }2165 ]2166 },2167 {2168 "shortName": "ParticipantDto",2169 "namespace": "SP.Dto",2170 "autoGeneratedKeyType": "None",2171 "defaultResourceName": "ParticipantDtoes",2172 "dataProperties": [2173 {2174 "name": "id",2175 "dataType": "Guid",2176 "isNullable": false,2177 "defaultValue": "00000000-0000-0000-0000-000000000000",2178 "isPartOfKey": true,2179 "validators": [2180 {2181 "name": "required"2182 },2183 {2184 "name": "guid"2185 }2186 ],2187 "displayName": "Id"2188 },2189 {2190 "name": "email",2191 "dataType": "String",2192 "isNullable": false,2193 "defaultValue": "",2194 "maxLength": 256,2195 "validators": [2196 {2197 "name": "required"2198 },2199 {2200 "maxLength": 256,2201 "name": "maxLength"2202 },2203 {2204 "name": "emailAddress",2205 "messageTemplate": "The '%displayName%' field is not a valid e-mail address."2206 }2207 ],2208 "displayName": "Work Email"2209 },2210 {2211 "name": "phoneNumber",2212 "dataType": "String",2213 "maxLength": 32,2214 "validators": [2215 {2216 "maxLength": 32,2217 "name": "maxLength"2218 },2219 {2220 "name": "phone",2221 "messageTemplate": "The '%displayName%' field is not a valid phone number."2222 }2223 ],2224 "displayName": "Phone Number"2225 },2226 {2227 "name": "alternateEmail",2228 "dataType": "String",2229 "maxLength": 256,2230 "validators": [2231 {2232 "maxLength": 256,2233 "name": "maxLength"2234 },2235 {2236 "name": "emailAddress",2237 "messageTemplate": "The '%displayName%' field is not a valid e-mail address."2238 }2239 ],2240 "displayName": "Personal Email"2241 },2242 {2243 "name": "fullName",2244 "dataType": "String",2245 "isNullable": false,2246 "defaultValue": "",2247 "maxLength": 256,2248 "validators": [2249 {2250 "name": "required"2251 },2252 {2253 "maxLength": 256,2254 "name": "maxLength"2255 },2256 {2257 "name": "personFullName",2258 "minNames": 2,2259 "maxNames": 5,2260 "minNameLength": 22261 }2262 ],2263 "displayName": "Full Name"2264 },2265 {2266 "name": "userName",2267 "dataType": "String",2268 "maxLength": 256,2269 "validators": [2270 {2271 "maxLength": 256,2272 "name": "maxLength"2273 }2274 ],2275 "displayName": "User Name"2276 },2277 {2278 "name": "dietNotes",2279 "dataType": "String",2280 "maxLength": 256,2281 "validators": [2282 {2283 "maxLength": 256,2284 "name": "maxLength"2285 }2286 ],2287 "displayName": "Diet Notes"2288 },2289 {2290 "name": "adminApproved",2291 "dataType": "Boolean",2292 "isNullable": false,2293 "defaultValue": false,2294 "validators": [2295 {2296 "name": "required"2297 },2298 {2299 "name": "bool"2300 }2301 ],2302 "displayName": "Admin Approved"2303 },2304 {2305 "name": "defaultDepartmentId",2306 "dataType": "Guid",2307 "isNullable": false,2308 "defaultValue": "00000000-0000-0000-0000-000000000000",2309 "validators": [2310 {2311 "name": "required"2312 },2313 {2314 "name": "guid"2315 }2316 ],2317 "displayName": "Default Department Id"2318 },2319 {2320 "name": "defaultProfessionalRoleId",2321 "dataType": "Guid",2322 "isNullable": false,2323 "defaultValue": "00000000-0000-0000-0000-000000000000",2324 "validators": [2325 {2326 "name": "required"2327 },2328 {2329 "name": "guid"2330 }2331 ],2332 "displayName": "Default Professional Role Id"2333 },2334 {2335 "name": "drinkPreferenceId",2336 "dataType": "Guid",2337 "validators": [2338 {2339 "name": "guid"2340 }2341 ],2342 "displayName": "Drink Preference Id"2343 }2344 ],2345 "navigationProperties": [2346 {2347 "name": "courseInvites",2348 "entityTypeName": "CourseFacultyInviteDto:#SP.Dto",2349 "isScalar": false,2350 "associationName": "ParticipantDto_CourseInvites",2351 "invForeignKeyNames": [2352 "participantId"2353 ],2354 "displayName": "Course Invites"2355 },2356 {2357 "name": "courseParticipants",2358 "entityTypeName": "CourseParticipantDto:#SP.Dto",2359 "isScalar": false,2360 "associationName": "ParticipantDto_CourseParticipants",2361 "invForeignKeyNames": [2362 "participantId"2363 ],2364 "displayName": "Course Participants"2365 },2366 {2367 "name": "courseScenarioFacultyRoles",2368 "entityTypeName": "CourseScenarioFacultyRoleDto:#SP.Dto",2369 "isScalar": false,2370 "associationName": "ParticipantDto_CourseScenarioFacultyRoles",2371 "invForeignKeyNames": [2372 "participantId"2373 ],2374 "displayName": "Course Scenario Faculty Roles"2375 },2376 {2377 "name": "courseSlotPresentations",2378 "entityTypeName": "CourseSlotPresenterDto:#SP.Dto",2379 "isScalar": false,2380 "associationName": "ParticipantDto_CourseSlotPresentations",2381 "invForeignKeyNames": [2382 "participantId"2383 ],2384 "displayName": "Course Slot Presentations"2385 },2386 {2387 "name": "department",2388 "entityTypeName": "DepartmentDto:#SP.Dto",2389 "isScalar": true,2390 "associationName": "DepartmentDto_Participants",2391 "foreignKeyNames": [2392 "defaultDepartmentId"2393 ],2394 "displayName": "Department"2395 },2396 {2397 "name": "drinkPreference",2398 "entityTypeName": "HotDrinkDto:#SP.Dto",2399 "isScalar": true,2400 "associationName": "HotDrinkDto_Participants",2401 "foreignKeyNames": [2402 "drinkPreferenceId"2403 ],2404 "displayName": "Drink Preference"2405 },2406 {2407 "name": "professionalRole",2408 "entityTypeName": "ProfessionalRoleDto:#SP.Dto",2409 "isScalar": true,2410 "associationName": "ProfessionalRoleDto_Participants",2411 "foreignKeyNames": [2412 "defaultProfessionalRoleId"2413 ],2414 "displayName": "Professional Role"2415 },2416 {2417 "name": "roles",2418 "entityTypeName": "UserRoleDto:#SP.Dto",2419 "isScalar": false,2420 "associationName": "ParticipantDto_Roles",2421 "invForeignKeyNames": [2422 "userId"2423 ],2424 "displayName": "Roles"2425 }2426 ]2427 },2428 {2429 "shortName": "CourseFacultyInviteDto",2430 "namespace": "SP.Dto",2431 "autoGeneratedKeyType": "None",2432 "defaultResourceName": "CourseFacultyInvites",2433 "dataProperties": [2434 {2435 "name": "courseId",2436 "dataType": "Guid",2437 "isNullable": false,2438 "defaultValue": "00000000-0000-0000-0000-000000000000",2439 "isPartOfKey": true,2440 "validators": [2441 {2442 "name": "required"2443 },2444 {2445 "name": "guid"2446 }2447 ],2448 "displayName": "Course Id"2449 },2450 {2451 "name": "participantId",2452 "dataType": "Guid",2453 "isNullable": false,2454 "defaultValue": "00000000-0000-0000-0000-000000000000",2455 "isPartOfKey": true,2456 "validators": [2457 {2458 "name": "required"2459 },2460 {2461 "name": "guid"2462 }2463 ],2464 "displayName": "Participant Id"2465 }2466 ],2467 "navigationProperties": [2468 {2469 "name": "course",2470 "entityTypeName": "CourseDto:#SP.Dto",2471 "isScalar": true,2472 "associationName": "CourseDto_FacultyInvites",2473 "foreignKeyNames": [2474 "courseId"2475 ],2476 "displayName": "Course"2477 },2478 {2479 "name": "faculty",2480 "entityTypeName": "ParticipantDto:#SP.Dto",2481 "isScalar": true,2482 "associationName": "ParticipantDto_CourseInvites",2483 "foreignKeyNames": [2484 "participantId"2485 ],2486 "displayName": "Faculty"2487 }2488 ]2489 },2490 {2491 "shortName": "CourseSlotPresenterDto",2492 "namespace": "SP.Dto",2493 "autoGeneratedKeyType": "None",2494 "defaultResourceName": "CourseSlotPresenters",2495 "dataProperties": [2496 {2497 "name": "courseId",2498 "dataType": "Guid",2499 "isNullable": false,2500 "defaultValue": "00000000-0000-0000-0000-000000000000",2501 "isPartOfKey": true,2502 "validators": [2503 {2504 "name": "required"2505 },2506 {2507 "name": "guid"2508 }2509 ],2510 "displayName": "Course Id"2511 },2512 {2513 "name": "courseSlotId",2514 "dataType": "Guid",2515 "isNullable": false,2516 "defaultValue": "00000000-0000-0000-0000-000000000000",2517 "isPartOfKey": true,2518 "validators": [2519 {2520 "name": "required"2521 },2522 {2523 "name": "guid"2524 }2525 ],2526 "displayName": "Course Slot Id"2527 },2528 {2529 "name": "participantId",2530 "dataType": "Guid",2531 "isNullable": false,2532 "defaultValue": "00000000-0000-0000-0000-000000000000",2533 "isPartOfKey": true,2534 "validators": [2535 {2536 "name": "required"2537 },2538 {2539 "name": "guid"2540 }2541 ],2542 "displayName": "Participant Id"2543 },2544 {2545 "name": "streamNumber",2546 "dataType": "Byte",2547 "isNullable": false,2548 "defaultValue": 1,2549 "validators": [2550 {2551 "name": "required"2552 },2553 {2554 "name": "numericRange",2555 "min": 1,2556 "max": 162557 }2558 ],2559 "displayName": "Stream Number"2560 }2561 ],2562 "navigationProperties": [2563 {2564 "name": "course",2565 "entityTypeName": "CourseDto:#SP.Dto",2566 "isScalar": true,2567 "associationName": "CourseDto_CourseSlotPresenters",2568 "foreignKeyNames": [2569 "courseId"2570 ],2571 "displayName": "Course"2572 },2573 {2574 "name": "courseSlot",2575 "entityTypeName": "CourseSlotDto:#SP.Dto",2576 "isScalar": true,2577 "associationName": "CourseSlotDto_CourseSlotPresenters",2578 "foreignKeyNames": [2579 "courseSlotId"2580 ],2581 "displayName": "Course Slot"2582 },2583 {2584 "name": "participant",2585 "entityTypeName": "ParticipantDto:#SP.Dto",2586 "isScalar": true,2587 "associationName": "ParticipantDto_CourseSlotPresentations",2588 "foreignKeyNames": [2589 "participantId"2590 ],2591 "displayName": "Participant"2592 }2593 ]2594 },2595 {2596 "shortName": "HotDrinkDto",2597 "namespace": "SP.Dto",2598 "autoGeneratedKeyType": "None",2599 "defaultResourceName": "HotDrinks",2600 "dataProperties": [2601 {2602 "name": "id",2603 "dataType": "Guid",2604 "isNullable": false,2605 "defaultValue": "00000000-0000-0000-0000-000000000000",2606 "isPartOfKey": true,2607 "validators": [2608 {2609 "name": "required"2610 },2611 {2612 "name": "guid"2613 }2614 ],2615 "displayName": "Id"2616 },2617 {2618 "name": "description",2619 "dataType": "String",2620 "isNullable": false,2621 "defaultValue": "",2622 "maxLength": 64,2623 "validators": [2624 {2625 "name": "required"2626 },2627 {2628 "maxLength": 64,2629 "name": "maxLength"2630 }2631 ],2632 "displayName": "Description"2633 }2634 ],2635 "navigationProperties": [2636 {2637 "name": "participants",2638 "entityTypeName": "ParticipantDto:#SP.Dto",2639 "isScalar": false,2640 "associationName": "HotDrinkDto_Participants",2641 "invForeignKeyNames": [2642 "drinkPreferenceId"2643 ],2644 "displayName": "Participants"2645 }2646 ]2647 },2648 {2649 "shortName": "ProfessionalRoleDto",2650 "namespace": "SP.Dto",2651 "autoGeneratedKeyType": "None",2652 "defaultResourceName": "ProfessionalRoles",2653 "dataProperties": [2654 {2655 "name": "id",2656 "dataType": "Guid",2657 "isNullable": false,2658 "defaultValue": "00000000-0000-0000-0000-000000000000",2659 "isPartOfKey": true,2660 "validators": [2661 {2662 "name": "required"2663 },2664 {2665 "name": "guid"2666 }2667 ],2668 "displayName": "Id"2669 },2670 {2671 "name": "description",2672 "dataType": "String",2673 "isNullable": false,2674 "defaultValue": "",2675 "maxLength": 50,2676 "validators": [2677 {2678 "name": "required"2679 },2680 {2681 "maxLength": 50,2682 "name": "maxLength"2683 }2684 ],2685 "displayName": "Description"2686 },2687 {2688 "name": "order",2689 "dataType": "Int32",2690 "isNullable": false,2691 "defaultValue": 0,2692 "validators": [2693 {2694 "name": "required"2695 },2696 {2697 "name": "numericRange",2698 "min": 0,2699 "max": 99992700 }2701 ],2702 "displayName": "Order"2703 },2704 {2705 "name": "category",2706 "dataType": "String",2707 "isNullable": false,2708 "defaultValue": "",2709 "validators": [2710 {2711 "name": "required"2712 },2713 {2714 "name": "string"2715 }2716 ],2717 "enumType": "Edm.Self.ProfessionalCategory",2718 "displayName": "Category"2719 }2720 ],2721 "navigationProperties": [2722 {2723 "name": "courseParticipants",2724 "entityTypeName": "CourseParticipantDto:#SP.Dto",2725 "isScalar": false,2726 "associationName": "ProfessionalRoleDto_CourseParticipants",2727 "invForeignKeyNames": [2728 "professionalRoleId"2729 ],2730 "displayName": "Course Participants"2731 },2732 {2733 "name": "participants",2734 "entityTypeName": "ParticipantDto:#SP.Dto",2735 "isScalar": false,2736 "associationName": "ProfessionalRoleDto_Participants",2737 "invForeignKeyNames": [2738 "defaultProfessionalRoleId"2739 ],2740 "displayName": "Participants"2741 },2742 {2743 "name": "professionalRoleInstitutions",2744 "entityTypeName": "ProfessionalRoleInstitutionDto:#SP.Dto",2745 "isScalar": false,2746 "associationName": "ProfessionalRoleDto_ProfessionalRoleInstitutions",2747 "invForeignKeyNames": [2748 "professionalRoleId"2749 ],2750 "displayName": "Professional Role Institutions"2751 }2752 ]2753 },2754 {2755 "shortName": "ProfessionalRoleInstitutionDto",2756 "namespace": "SP.Dto",2757 "autoGeneratedKeyType": "None",2758 "defaultResourceName": "ProfessionalRoleInstitutions",2759 "dataProperties": [2760 {2761 "name": "professionalRoleId",2762 "dataType": "Guid",2763 "isNullable": false,2764 "defaultValue": "00000000-0000-0000-0000-000000000000",2765 "isPartOfKey": true,2766 "validators": [2767 {2768 "name": "required"2769 },2770 {2771 "name": "guid"2772 }2773 ],2774 "displayName": "Professional Role Id"2775 },2776 {2777 "name": "institutionId",2778 "dataType": "Guid",2779 "isNullable": false,2780 "defaultValue": "00000000-0000-0000-0000-000000000000",2781 "isPartOfKey": true,2782 "validators": [2783 {2784 "name": "required"2785 },2786 {2787 "name": "guid"2788 }2789 ],2790 "displayName": "Institution Id"2791 }2792 ],2793 "navigationProperties": [2794 {2795 "name": "institution",2796 "entityTypeName": "InstitutionDto:#SP.Dto",2797 "isScalar": true,2798 "associationName": "InstitutionDto_ProfessionalRoleInstitutions",2799 "foreignKeyNames": [2800 "institutionId"2801 ],2802 "displayName": "Institution"2803 },2804 {2805 "name": "professionalRole",2806 "entityTypeName": "ProfessionalRoleDto:#SP.Dto",2807 "isScalar": true,2808 "associationName": "ProfessionalRoleDto_ProfessionalRoleInstitutions",2809 "foreignKeyNames": [2810 "professionalRoleId"2811 ],2812 "displayName": "Professional Role"2813 }2814 ]2815 },2816 {2817 "shortName": "InstitutionDto",2818 "namespace": "SP.Dto",2819 "autoGeneratedKeyType": "None",2820 "defaultResourceName": "Institutions",2821 "dataProperties": [2822 {2823 "name": "id",2824 "dataType": "Guid",2825 "isNullable": false,2826 "defaultValue": "00000000-0000-0000-0000-000000000000",2827 "isPartOfKey": true,2828 "validators": [2829 {2830 "name": "required"2831 },2832 {2833 "name": "guid"2834 }2835 ],2836 "displayName": "Id"2837 },2838 {2839 "name": "name",2840 "dataType": "String",2841 "isNullable": false,2842 "defaultValue": "",2843 "maxLength": 50,2844 "validators": [2845 {2846 "name": "required"2847 },2848 {2849 "maxLength": 50,2850 "name": "maxLength"2851 }2852 ],2853 "displayName": "Name"2854 },2855 {2856 "name": "about",2857 "dataType": "String",2858 "validators": [2859 {2860 "name": "string"2861 }2862 ],2863 "displayName": "About"2864 },2865 {2866 "name": "abbreviation",2867 "dataType": "String",2868 "isNullable": false,2869 "defaultValue": "",2870 "maxLength": 20,2871 "validators": [2872 {2873 "name": "required"2874 },2875 {2876 "maxLength": 20,2877 "name": "maxLength"2878 }2879 ],2880 "displayName": "Abbreviation"2881 },2882 {2883 "name": "localeCode",2884 "dataType": "String",2885 "maxLength": 5,2886 "validators": [2887 {2888 "name": "stringLength",2889 "minLength": 5,2890 "maxLength": 52891 },2892 {2893 "name": "required"2894 }2895 ],2896 "displayName": "Locale Code"2897 },2898 {2899 "name": "standardTimeZone",2900 "dataType": "String",2901 "isNullable": false,2902 "defaultValue": "",2903 "maxLength": 40,2904 "validators": [2905 {2906 "name": "required"2907 },2908 {2909 "maxLength": 40,2910 "name": "maxLength"2911 }2912 ],2913 "displayName": "Standard Time Zone"2914 },2915 {2916 "name": "latitude",2917 "dataType": "Double",2918 "validators": [2919 {2920 "name": "number"2921 }2922 ],2923 "displayName": "Latitude"2924 },2925 {2926 "name": "longitude",2927 "dataType": "Double",2928 "validators": [2929 {2930 "name": "number"2931 }2932 ],2933 "displayName": "Longitude"2934 },2935 {2936 "name": "homepageUrl",2937 "dataType": "String",2938 "maxLength": 256,2939 "validators": [2940 {2941 "maxLength": 256,2942 "name": "maxLength"2943 },2944 {2945 "name": "url",2946 "messageTemplate": "The home page must be a valid, fully qualified http:// or https:// URL."2947 }2948 ],2949 "displayName": "Homepage Url"2950 },2951 {2952 "name": "logoImageFileName",2953 "dataType": "String",2954 "validators": [2955 {2956 "name": "string"2957 }2958 ],2959 "displayName": "Logo Image File Name"2960 },2961 {2962 "name": "adminApproved",2963 "dataType": "Boolean",2964 "isNullable": false,2965 "defaultValue": false,2966 "validators": [2967 {2968 "name": "required"2969 },2970 {2971 "name": "bool"2972 }2973 ],2974 "displayName": "Admin Approved"2975 },2976 {2977 "name": "fileModified",2978 "dataType": "DateTime",2979 "validators": [2980 {2981 "name": "date"2982 }2983 ],2984 "displayName": "File Modified"2985 },2986 {2987 "name": "fileSize",2988 "dataType": "Int64",2989 "validators": [2990 {2991 "name": "integer"2992 },2993 {2994 "name": "numericRange",2995 "min": 1.0,2996 "max": 256000.0,2997 "messageTemplate": "File Size must be 1 byte to 250 KiB"2998 }2999 ],3000 "displayName": "File Size"3001 },3002 {3003 "name": "file",3004 "dataType": "Binary",3005 "validators": [3006 {3007 "name": "none"3008 }3009 ],3010 "displayName": "File"3011 }3012 ],3013 "navigationProperties": [3014 {3015 "name": "culture",3016 "entityTypeName": "CultureDto:#SP.Dto",3017 "isScalar": true,3018 "associationName": "CultureDto_Institutions",3019 "foreignKeyNames": [3020 "localeCode"3021 ],3022 "displayName": "Culture"3023 },3024 {3025 "name": "departments",3026 "entityTypeName": "DepartmentDto:#SP.Dto",3027 "isScalar": false,3028 "associationName": "InstitutionDto_Departments",3029 "invForeignKeyNames": [3030 "institutionId"3031 ],3032 "displayName": "Departments"3033 },3034 {3035 "name": "professionalRoleInstitutions",3036 "entityTypeName": "ProfessionalRoleInstitutionDto:#SP.Dto",3037 "isScalar": false,3038 "associationName": "InstitutionDto_ProfessionalRoleInstitutions",3039 "invForeignKeyNames": [3040 "institutionId"3041 ],3042 "displayName": "Professional Role Institutions"3043 }3044 ]3045 },3046 {3047 "shortName": "CultureDto",3048 "namespace": "SP.Dto",3049 "autoGeneratedKeyType": "None",3050 "defaultResourceName": "cultures",3051 "dataProperties": [3052 {3053 "name": "localeCode",3054 "dataType": "String",3055 "isNullable": false,3056 "defaultValue": "",3057 "isPartOfKey": true,3058 "maxLength": 5,3059 "validators": [3060 {3061 "name": "required"3062 },3063 {3064 "name": "stringLength",3065 "minLength": 5,3066 "maxLength": 53067 },3068 {3069 "name": "regularExpression",3070 "expression": "[a-z]{2}-[A-Z]{2}",3071 "messageTemplate": "must be [2 lower case letters] [-(dash)] [2 upper case] - e.g. en-NZ"3072 }3073 ],3074 "displayName": "Locale Code"3075 },3076 {3077 "name": "name",3078 "dataType": "String",3079 "isNullable": false,3080 "defaultValue": "",3081 "maxLength": 50,3082 "validators": [3083 {3084 "name": "required"3085 },3086 {3087 "maxLength": 50,3088 "name": "maxLength"3089 }3090 ],3091 "displayName": "Name"3092 },3093 {3094 "name": "countryCode",3095 "dataType": "Int32",3096 "isNullable": false,3097 "defaultValue": 0,3098 "validators": [3099 {3100 "name": "required"3101 },3102 {3103 "name": "numericRange",3104 "min": 1,3105 "max": 9993106 }3107 ],3108 "displayName": "Country Code"3109 },3110 {3111 "name": "dialCode",3112 "dataType": "String",3113 "maxLength": 7,3114 "validators": [3115 {3116 "maxLength": 7,3117 "name": "maxLength"3118 }3119 ],3120 "displayName": "Dial Code"3121 }3122 ],3123 "navigationProperties": [3124 {3125 "name": "institutions",3126 "entityTypeName": "InstitutionDto:#SP.Dto",3127 "isScalar": false,3128 "associationName": "CultureDto_Institutions",3129 "invForeignKeyNames": [3130 "localeCode"3131 ],3132 "displayName": "Institutions"3133 }3134 ]3135 },3136 {3137 "shortName": "UserRoleDto",3138 "namespace": "SP.Dto",3139 "autoGeneratedKeyType": "None",3140 "defaultResourceName": "UserRoles",3141 "dataProperties": [3142 {3143 "name": "userId",3144 "dataType": "Guid",3145 "isNullable": false,3146 "defaultValue": "00000000-0000-0000-0000-000000000000",3147 "isPartOfKey": true,3148 "validators": [3149 {3150 "name": "required"3151 },3152 {3153 "name": "guid"3154 }3155 ],3156 "displayName": "User Id"3157 },3158 {3159 "name": "roleId",3160 "dataType": "Guid",3161 "isNullable": false,3162 "defaultValue": "00000000-0000-0000-0000-000000000000",3163 "isPartOfKey": true,3164 "validators": [3165 {3166 "name": "required"3167 },3168 {3169 "name": "guid"3170 }3171 ],3172 "displayName": "Role Id"3173 }3174 ],3175 "navigationProperties": [3176 {3177 "name": "user",3178 "entityTypeName": "ParticipantDto:#SP.Dto",3179 "isScalar": true,3180 "associationName": "ParticipantDto_Roles",3181 "foreignKeyNames": [3182 "userId"3183 ],3184 "displayName": "User"3185 }3186 ]3187 },3188 {3189 "shortName": "ScenarioDto",3190 "namespace": "SP.Dto",3191 "autoGeneratedKeyType": "None",3192 "defaultResourceName": "Scenarios",3193 "dataProperties": [3194 {3195 "name": "id",3196 "dataType": "Guid",3197 "isNullable": false,3198 "defaultValue": "00000000-0000-0000-0000-000000000000",3199 "isPartOfKey": true,3200 "validators": [3201 {3202 "name": "required"3203 },3204 {3205 "name": "guid"3206 }3207 ],3208 "displayName": "Id"3209 },3210 {3211 "name": "briefDescription",3212 "dataType": "String",3213 "isNullable": false,3214 "defaultValue": "",3215 "maxLength": 64,3216 "validators": [3217 {3218 "name": "required"3219 },3220 {3221 "maxLength": 64,3222 "name": "maxLength"3223 }3224 ],3225 "displayName": "Brief Description"3226 },3227 {3228 "name": "fullDescription",3229 "dataType": "String",3230 "maxLength": 256,3231 "validators": [3232 {3233 "maxLength": 256,3234 "name": "maxLength"3235 }3236 ],3237 "displayName": "Full Description"3238 },3239 {3240 "name": "departmentId",3241 "dataType": "Guid",3242 "isNullable": false,3243 "defaultValue": "00000000-0000-0000-0000-000000000000",3244 "validators": [3245 {3246 "name": "required"3247 },3248 {3249 "name": "guid"3250 }3251 ],3252 "displayName": "Department Id"3253 },3254 {3255 "name": "complexity",3256 "dataType": "String",3257 "validators": [3258 {3259 "name": "string"3260 }3261 ],3262 "enumType": "Edm.Self.Difficulty",3263 "displayName": "Complexity"3264 },3265 {3266 "name": "emersionCategory",3267 "dataType": "String",3268 "validators": [3269 {3270 "name": "string"3271 }3272 ],3273 "enumType": "Edm.Self.Emersion",3274 "displayName": "Emersion Category"3275 },3276 {3277 "name": "access",3278 "dataType": "String",3279 "isNullable": false,3280 "defaultValue": 0,3281 "validators": [3282 {3283 "name": "required"3284 },3285 {3286 "name": "string"3287 }3288 ],3289 "enumType": "Edm.Self.SharingLevel",3290 "displayName": "Access"3291 },3292 {3293 "name": "courseTypeId",3294 "dataType": "Guid",3295 "isNullable": false,3296 "defaultValue": "00000000-0000-0000-0000-000000000000",3297 "validators": [3298 {3299 "name": "required"3300 },3301 {3302 "name": "guid"3303 }3304 ],3305 "displayName": "Course Type Id"3306 }3307 ],3308 "navigationProperties": [3309 {3310 "name": "courses",3311 "entityTypeName": "CourseDto:#SP.Dto",3312 "isScalar": false,3313 "associationName": "ScenarioDto_Courses",3314 "displayName": "Courses"3315 },3316 {3317 "name": "courseSlotScenarios",3318 "entityTypeName": "CourseSlotActivityDto:#SP.Dto",3319 "isScalar": false,3320 "associationName": "ScenarioDto_CourseSlotScenarios",3321 "invForeignKeyNames": [3322 "scenarioId"3323 ],3324 "displayName": "Course Slot Scenarios"3325 },3326 {3327 "name": "courseType",3328 "entityTypeName": "CourseTypeDto:#SP.Dto",3329 "isScalar": true,3330 "associationName": "CourseTypeDto_Scenarios",3331 "foreignKeyNames": [3332 "courseTypeId"3333 ],3334 "displayName": "Course Type"3335 },3336 {3337 "name": "department",3338 "entityTypeName": "DepartmentDto:#SP.Dto",3339 "isScalar": true,3340 "associationName": "DepartmentDto_Scenarios",3341 "foreignKeyNames": [3342 "departmentId"3343 ],3344 "displayName": "Department"3345 },3346 {3347 "name": "scenarioResources",3348 "entityTypeName": "ScenarioResourceDto:#SP.Dto",3349 "isScalar": false,3350 "associationName": "ScenarioResourceDto_Scenario",3351 "invForeignKeyNames": [3352 "scenarioId"3353 ],3354 "displayName": "Scenario Resources"3355 }3356 ]3357 },3358 {3359 "shortName": "CourseSlotActivityDto",3360 "namespace": "SP.Dto",3361 "autoGeneratedKeyType": "None",3362 "defaultResourceName": "CourseSlotActivities",3363 "dataProperties": [3364 {3365 "name": "courseId",3366 "dataType": "Guid",3367 "isNullable": false,3368 "defaultValue": "00000000-0000-0000-0000-000000000000",3369 "isPartOfKey": true,3370 "validators": [3371 {3372 "name": "required"3373 },3374 {3375 "name": "guid"3376 }3377 ],3378 "displayName": "Course Id"3379 },3380 {3381 "name": "courseSlotId",3382 "dataType": "Guid",3383 "isNullable": false,3384 "defaultValue": "00000000-0000-0000-0000-000000000000",3385 "isPartOfKey": true,3386 "validators": [3387 {3388 "name": "required"3389 },3390 {3391 "name": "guid"3392 }3393 ],3394 "displayName": "Course Slot Id"3395 },3396 {3397 "name": "streamNumber",3398 "dataType": "Byte",3399 "isNullable": false,3400 "defaultValue": 1,3401 "isPartOfKey": true,3402 "validators": [3403 {3404 "name": "required"3405 },3406 {3407 "name": "numericRange",3408 "min": 1,3409 "max": 163410 }3411 ],3412 "displayName": "Stream Number"3413 },3414 {3415 "name": "scenarioId",3416 "dataType": "Guid",3417 "validators": [3418 {3419 "name": "guid"3420 }3421 ],3422 "displayName": "Scenario Id"3423 },3424 {3425 "name": "activityId",3426 "dataType": "Guid",3427 "validators": [3428 {3429 "name": "guid"3430 }3431 ],3432 "displayName": "Activity Id"3433 }3434 ],3435 "navigationProperties": [3436 {3437 "name": "activity",3438 "entityTypeName": "ActivityDto:#SP.Dto",3439 "isScalar": true,3440 "associationName": "ActivityDto_CourseSlotActivities",3441 "foreignKeyNames": [3442 "activityId"3443 ],3444 "displayName": "Activity"3445 },3446 {3447 "name": "course",3448 "entityTypeName": "CourseDto:#SP.Dto",3449 "isScalar": true,3450 "associationName": "CourseDto_CourseSlotActivities",3451 "foreignKeyNames": [3452 "courseId"3453 ],3454 "displayName": "Course"3455 },3456 {3457 "name": "courseSlot",3458 "entityTypeName": "CourseSlotDto:#SP.Dto",3459 "isScalar": true,3460 "associationName": "CourseSlotDto_CourseSlotActivities",3461 "foreignKeyNames": [3462 "courseSlotId"3463 ],3464 "displayName": "Course Slot"3465 },3466 {3467 "name": "scenario",3468 "entityTypeName": "ScenarioDto:#SP.Dto",3469 "isScalar": true,3470 "associationName": "ScenarioDto_CourseSlotScenarios",3471 "foreignKeyNames": [3472 "scenarioId"3473 ],3474 "displayName": "Scenario"3475 }3476 ]3477 },3478 {3479 "shortName": "ScenarioResourceDto",3480 "namespace": "SP.Dto",3481 "autoGeneratedKeyType": "None",3482 "defaultResourceName": "ScenarioResources",3483 "dataProperties": [3484 {3485 "name": "id",3486 "dataType": "Guid",3487 "isNullable": false,3488 "defaultValue": "00000000-0000-0000-0000-000000000000",3489 "isPartOfKey": true,3490 "validators": [3491 {3492 "name": "required"3493 },3494 {3495 "name": "guid"3496 }3497 ],3498 "displayName": "Id"3499 },3500 {3501 "name": "scenarioId",3502 "dataType": "Guid",3503 "isNullable": false,3504 "defaultValue": "00000000-0000-0000-0000-000000000000",3505 "validators": [3506 {3507 "name": "required"3508 },3509 {3510 "name": "guid"3511 }3512 ],3513 "displayName": "Scenario Id"3514 },3515 {3516 "name": "fileModified",3517 "dataType": "DateTime",3518 "isNullable": false,3519 "defaultValue": "",3520 "validators": [3521 {3522 "name": "required"3523 },3524 {3525 "name": "date"3526 }3527 ],3528 "displayName": "File Modified"3529 },3530 {3531 "name": "fileSize",3532 "dataType": "Int64",3533 "isNullable": false,3534 "defaultValue": 0,3535 "validators": [3536 {3537 "name": "required"3538 },3539 {3540 "name": "integer"3541 },3542 {3543 "name": "numericRange",3544 "min": 1.0,3545 "max": 256000.0,3546 "messageTemplate": "File Size must be 1 byte to 250 KiB"3547 }3548 ],3549 "displayName": "File Size"3550 },3551 {3552 "name": "description",3553 "dataType": "String",3554 "validators": [3555 {3556 "name": "string"3557 },3558 {3559 "name": "required"3560 },3561 {3562 "name": "maxLength",3563 "maxLength": 1283564 }3565 ],3566 "displayName": "Description"3567 },3568 {3569 "name": "fileName",3570 "dataType": "String",3571 "validators": [3572 {3573 "name": "string"3574 },3575 {3576 "name": "maxLength",3577 "maxLength": 2563578 },3579 {3580 "name": "required"3581 }3582 ],3583 "displayName": "File Name"3584 },3585 {3586 "name": "file",3587 "dataType": "Binary",3588 "validators": [3589 {3590 "name": "none"3591 }3592 ],3593 "displayName": "File"3594 }3595 ],3596 "navigationProperties": [3597 {3598 "name": "scenario",3599 "entityTypeName": "ScenarioDto:#SP.Dto",3600 "isScalar": true,3601 "associationName": "ScenarioResourceDto_Scenario",3602 "foreignKeyNames": [3603 "scenarioId"3604 ],3605 "displayName": "Scenario"3606 }3607 ]3608 },3609 {3610 "shortName": "ManikinDto",3611 "namespace": "SP.Dto",3612 "autoGeneratedKeyType": "None",3613 "defaultResourceName": "Manikins",3614 "dataProperties": [3615 {3616 "name": "id",3617 "dataType": "Guid",3618 "isNullable": false,3619 "defaultValue": "00000000-0000-0000-0000-000000000000",3620 "isPartOfKey": true,3621 "validators": [3622 {3623 "name": "required"3624 },3625 {3626 "name": "guid"3627 }3628 ],3629 "displayName": "Id"3630 },3631 {3632 "name": "description",3633 "dataType": "String",3634 "isNullable": false,3635 "defaultValue": "",3636 "maxLength": 128,3637 "validators": [3638 {3639 "name": "required"3640 },3641 {3642 "maxLength": 128,3643 "name": "maxLength"3644 }3645 ],3646 "displayName": "Description"3647 },3648 {3649 "name": "departmentId",3650 "dataType": "Guid",3651 "isNullable": false,3652 "defaultValue": "00000000-0000-0000-0000-000000000000",3653 "validators": [3654 {3655 "name": "required"3656 },3657 {3658 "name": "guid"3659 }3660 ],3661 "displayName": "Department Id"3662 },3663 {3664 "name": "modelId",3665 "dataType": "Guid",3666 "isNullable": false,3667 "defaultValue": "00000000-0000-0000-0000-000000000000",3668 "validators": [3669 {3670 "name": "required"3671 },3672 {3673 "name": "guid"3674 }3675 ],3676 "displayName": "Model Id"3677 },3678 {3679 "name": "purchasedNew",3680 "dataType": "Boolean",3681 "isNullable": false,3682 "defaultValue": true,3683 "validators": [3684 {3685 "name": "required"3686 },3687 {3688 "name": "bool"3689 }3690 ],3691 "displayName": "Purchased New"3692 },3693 {3694 "name": "purchaseDate",3695 "dataType": "DateTime",3696 "validators": [3697 {3698 "name": "date"3699 }3700 ],3701 "displayName": "Purchase Date"3702 },3703 {3704 "name": "localCurrencyPurchasePrice",3705 "dataType": "Decimal",3706 "validators": [3707 {3708 "name": "number"3709 }3710 ],3711 "displayName": "Local Currency Purchase Price"3712 },3713 {3714 "name": "decommissionDate",3715 "dataType": "DateTime",3716 "validators": [3717 {3718 "name": "date"3719 }3720 ],3721 "displayName": "Decommission Date"3722 },3723 {3724 "name": "decommissionReason",3725 "dataType": "String",3726 "maxLength": 512,3727 "validators": [3728 {3729 "maxLength": 512,3730 "name": "maxLength"3731 }3732 ],3733 "displayName": "Decommission Reason"3734 }3735 ],3736 "navigationProperties": [3737 {3738 "name": "courseSlotManikins",3739 "entityTypeName": "CourseSlotManikinDto:#SP.Dto",3740 "isScalar": false,3741 "associationName": "ManikinDto_CourseSlotManikins",3742 "invForeignKeyNames": [3743 "manikinId"3744 ],3745 "displayName": "Course Slot Manikins"3746 },3747 {3748 "name": "department",3749 "entityTypeName": "DepartmentDto:#SP.Dto",3750 "isScalar": true,3751 "associationName": "DepartmentDto_Manikins",3752 "foreignKeyNames": [3753 "departmentId"3754 ],3755 "displayName": "Department"3756 },3757 {3758 "name": "manikinServices",3759 "entityTypeName": "ManikinServiceDto:#SP.Dto",3760 "isScalar": false,3761 "associationName": "ManikinDto_ManikinServices",3762 "invForeignKeyNames": [3763 "manikinId"3764 ],3765 "displayName": "Manikin Services"3766 },3767 {3768 "name": "model",3769 "entityTypeName": "ManikinModelDto:#SP.Dto",3770 "isScalar": true,3771 "associationName": "ManikinModelDto_Manikins",3772 "foreignKeyNames": [3773 "modelId"3774 ],3775 "displayName": "Model"3776 }3777 ]3778 },3779 {3780 "shortName": "CourseSlotManikinDto",3781 "namespace": "SP.Dto",3782 "autoGeneratedKeyType": "None",3783 "defaultResourceName": "CourseSlotManikins",3784 "dataProperties": [3785 {3786 "name": "courseId",3787 "dataType": "Guid",3788 "isNullable": false,3789 "defaultValue": "00000000-0000-0000-0000-000000000000",3790 "isPartOfKey": true,3791 "validators": [3792 {3793 "name": "required"3794 },3795 {3796 "name": "guid"3797 }3798 ],3799 "displayName": "Course Id"3800 },3801 {3802 "name": "courseSlotId",3803 "dataType": "Guid",3804 "isNullable": false,3805 "defaultValue": "00000000-0000-0000-0000-000000000000",3806 "isPartOfKey": true,3807 "validators": [3808 {3809 "name": "required"3810 },3811 {3812 "name": "guid"3813 }3814 ],3815 "displayName": "Course Slot Id"3816 },3817 {3818 "name": "manikinId",3819 "dataType": "Guid",3820 "isNullable": false,3821 "defaultValue": "00000000-0000-0000-0000-000000000000",3822 "isPartOfKey": true,3823 "validators": [3824 {3825 "name": "required"3826 },3827 {3828 "name": "guid"3829 }3830 ],3831 "displayName": "Manikin Id"3832 },3833 {3834 "name": "streamNumber",3835 "dataType": "Byte",3836 "isNullable": false,3837 "defaultValue": 1,3838 "validators": [3839 {3840 "name": "required"3841 },3842 {3843 "name": "numericRange",3844 "min": 1,3845 "max": 163846 }3847 ],3848 "displayName": "Stream Number"3849 }3850 ],3851 "navigationProperties": [3852 {3853 "name": "course",3854 "entityTypeName": "CourseDto:#SP.Dto",3855 "isScalar": true,3856 "associationName": "CourseDto_CourseSlotManikins",3857 "foreignKeyNames": [3858 "courseId"3859 ],3860 "displayName": "Course"3861 },3862 {3863 "name": "courseSlot",3864 "entityTypeName": "CourseSlotDto:#SP.Dto",3865 "isScalar": true,3866 "associationName": "CourseSlotDto_CourseSlotManikins",3867 "foreignKeyNames": [3868 "courseSlotId"3869 ],3870 "displayName": "Course Slot"3871 },3872 {3873 "name": "manikin",3874 "entityTypeName": "ManikinDto:#SP.Dto",3875 "isScalar": true,3876 "associationName": "ManikinDto_CourseSlotManikins",3877 "foreignKeyNames": [3878 "manikinId"3879 ],3880 "displayName": "Manikin"3881 }3882 ]3883 },3884 {3885 "shortName": "ManikinServiceDto",3886 "namespace": "SP.Dto",3887 "autoGeneratedKeyType": "None",3888 "defaultResourceName": "ManikinServiceDtoes",3889 "dataProperties": [3890 {3891 "name": "id",3892 "dataType": "Guid",3893 "isNullable": false,3894 "defaultValue": "00000000-0000-0000-0000-000000000000",3895 "isPartOfKey": true,3896 "validators": [3897 {3898 "name": "required"3899 },3900 {3901 "name": "guid"3902 }3903 ],3904 "displayName": "Id"3905 },3906 {3907 "name": "problemDescription",3908 "dataType": "String",3909 "maxLength": 1028,3910 "validators": [3911 {3912 "maxLength": 1028,3913 "name": "maxLength"3914 }3915 ],3916 "displayName": "Problem Description"3917 },3918 {3919 "name": "servicedInternally",3920 "dataType": "Boolean",3921 "isNullable": false,3922 "defaultValue": false,3923 "validators": [3924 {3925 "name": "required"3926 },3927 {3928 "name": "bool"3929 }3930 ],3931 "displayName": "Serviced Internally"3932 },3933 {3934 "name": "sent",3935 "dataType": "DateTime",3936 "isNullable": false,3937 "defaultValue": "",3938 "validators": [3939 {3940 "name": "required"3941 },3942 {3943 "name": "date"3944 }3945 ],3946 "displayName": "Sent"3947 },3948 {3949 "name": "returned",3950 "dataType": "DateTime",3951 "validators": [3952 {3953 "name": "date"3954 }3955 ],3956 "displayName": "Returned"3957 },3958 {3959 "name": "priceEstimate",3960 "dataType": "Decimal",3961 "validators": [3962 {3963 "name": "number"3964 }3965 ],3966 "displayName": "Price Estimate"3967 },3968 {3969 "name": "serviceCost",3970 "dataType": "Decimal",3971 "validators": [3972 {3973 "name": "number"3974 }3975 ],3976 "displayName": "Service Cost"3977 },3978 {3979 "name": "manikinId",3980 "dataType": "Guid",3981 "isNullable": false,3982 "defaultValue": "00000000-0000-0000-0000-000000000000",3983 "validators": [3984 {3985 "name": "required"3986 },3987 {3988 "name": "guid"3989 }3990 ],3991 "displayName": "Manikin Id"3992 }3993 ],3994 "navigationProperties": [3995 {3996 "name": "manikin",3997 "entityTypeName": "ManikinDto:#SP.Dto",3998 "isScalar": true,3999 "associationName": "ManikinDto_ManikinServices",4000 "foreignKeyNames": [4001 "manikinId"4002 ],4003 "displayName": "Manikin"4004 }4005 ]4006 },4007 {4008 "shortName": "ManikinModelDto",4009 "namespace": "SP.Dto",4010 "autoGeneratedKeyType": "None",4011 "defaultResourceName": "ManikinModelDtoes",4012 "dataProperties": [4013 {4014 "name": "id",4015 "dataType": "Guid",4016 "isNullable": false,4017 "defaultValue": "00000000-0000-0000-0000-000000000000",4018 "isPartOfKey": true,4019 "validators": [4020 {4021 "name": "required"4022 },4023 {4024 "name": "guid"4025 }4026 ],4027 "displayName": "Id"4028 },4029 {4030 "name": "description",4031 "dataType": "String",4032 "isNullable": false,4033 "defaultValue": "",4034 "maxLength": 128,4035 "validators": [4036 {4037 "name": "required"4038 },4039 {4040 "maxLength": 128,4041 "name": "maxLength"4042 }4043 ],4044 "displayName": "Description"4045 },4046 {4047 "name": "manufacturerId",4048 "dataType": "Guid",4049 "isNullable": false,4050 "defaultValue": "00000000-0000-0000-0000-000000000000",4051 "validators": [4052 {4053 "name": "required"4054 },4055 {4056 "name": "guid"4057 }4058 ],4059 "displayName": "Manufacturer Id"4060 }4061 ],4062 "navigationProperties": [4063 {4064 "name": "manikins",4065 "entityTypeName": "ManikinDto:#SP.Dto",4066 "isScalar": false,4067 "associationName": "ManikinModelDto_Manikins",4068 "invForeignKeyNames": [4069 "modelId"4070 ],4071 "displayName": "Manikins"4072 },4073 {4074 "name": "manufacturer",4075 "entityTypeName": "ManikinManufacturerDto:#SP.Dto",4076 "isScalar": true,4077 "associationName": "ManikinManufacturerDto_ManikinModels",4078 "foreignKeyNames": [4079 "manufacturerId"4080 ],4081 "displayName": "Manufacturer"4082 }4083 ]4084 },4085 {4086 "shortName": "ManikinManufacturerDto",4087 "namespace": "SP.Dto",4088 "autoGeneratedKeyType": "None",4089 "defaultResourceName": "ManikinManufacturers",4090 "dataProperties": [4091 {4092 "name": "id",4093 "dataType": "Guid",4094 "isNullable": false,4095 "defaultValue": "00000000-0000-0000-0000-000000000000",4096 "isPartOfKey": true,4097 "validators": [4098 {4099 "name": "required"4100 },4101 {4102 "name": "guid"4103 }4104 ],4105 "displayName": "Id"4106 },4107 {4108 "name": "name",4109 "dataType": "String",4110 "maxLength": 256,4111 "validators": [4112 {4113 "maxLength": 256,4114 "name": "maxLength"4115 }4116 ],4117 "displayName": "Name"4118 }4119 ],4120 "navigationProperties": [4121 {4122 "name": "manikinModels",4123 "entityTypeName": "ManikinModelDto:#SP.Dto",4124 "isScalar": false,4125 "associationName": "ManikinManufacturerDto_ManikinModels",4126 "invForeignKeyNames": [4127 "manufacturerId"4128 ],4129 "displayName": "Manikin Models"4130 }4131 ]4132 },4133 {4134 "shortName": "RoomDto",4135 "namespace": "SP.Dto",4136 "autoGeneratedKeyType": "None",4137 "defaultResourceName": "Rooms",4138 "dataProperties": [4139 {4140 "name": "id",4141 "dataType": "Guid",4142 "isNullable": false,4143 "defaultValue": "00000000-0000-0000-0000-000000000000",4144 "isPartOfKey": true,4145 "validators": [4146 {4147 "name": "required"4148 },4149 {4150 "name": "guid"4151 }4152 ],4153 "displayName": "Id"4154 },4155 {4156 "name": "shortDescription",4157 "dataType": "String",4158 "isNullable": false,4159 "defaultValue": "",4160 "maxLength": 32,4161 "validators": [4162 {4163 "name": "required"4164 },4165 {4166 "maxLength": 32,4167 "name": "maxLength"4168 }4169 ],4170 "displayName": "Short Description"4171 },4172 {4173 "name": "fullDescription",4174 "dataType": "String",4175 "maxLength": 64,4176 "validators": [4177 {4178 "maxLength": 64,4179 "name": "maxLength"4180 }4181 ],4182 "displayName": "Full Description"4183 },4184 {4185 "name": "directions",4186 "dataType": "String",4187 "maxLength": 256,4188 "validators": [4189 {4190 "maxLength": 256,4191 "name": "maxLength"4192 }4193 ],4194 "displayName": "Directions"4195 },4196 {4197 "name": "departmentId",4198 "dataType": "Guid",4199 "isNullable": false,4200 "defaultValue": "00000000-0000-0000-0000-000000000000",4201 "validators": [4202 {4203 "name": "required"4204 },4205 {4206 "name": "guid"4207 }4208 ],4209 "displayName": "Department Id"4210 },4211 {4212 "name": "fileName",4213 "dataType": "String",4214 "validators": [4215 {4216 "name": "string"4217 }4218 ],4219 "displayName": "File Name"4220 },4221 {4222 "name": "fileModified",4223 "dataType": "DateTime",4224 "validators": [4225 {4226 "name": "date"4227 }4228 ],4229 "displayName": "File Modified"4230 },4231 {4232 "name": "fileSize",4233 "dataType": "Int64",4234 "validators": [4235 {4236 "name": "integer"4237 },4238 {4239 "name": "numericRange",4240 "min": 1.0,4241 "max": 256000.0,4242 "messageTemplate": "File Size must be 1 byte to 250 KiB"4243 }4244 ],4245 "displayName": "File Size"4246 },4247 {4248 "name": "file",4249 "dataType": "Binary",4250 "validators": [4251 {4252 "name": "none"4253 }4254 ],4255 "displayName": "File"4256 }4257 ],4258 "navigationProperties": [4259 {4260 "name": "courses",4261 "entityTypeName": "CourseDto:#SP.Dto",4262 "isScalar": false,4263 "associationName": "RoomDto_Courses",4264 "invForeignKeyNames": [4265 "roomId"4266 ],4267 "displayName": "Courses"4268 },4269 {4270 "name": "department",4271 "entityTypeName": "DepartmentDto:#SP.Dto",4272 "isScalar": true,4273 "associationName": "DepartmentDto_Rooms",4274 "foreignKeyNames": [4275 "departmentId"4276 ],4277 "displayName": "Department"4278 },4279 {4280 "name": "facultyMeetings",4281 "entityTypeName": "CourseDto:#SP.Dto",4282 "isScalar": false,4283 "associationName": "RoomDto_FacultyMeetings",4284 "invForeignKeyNames": [4285 "facultyMeetingRoomId"4286 ],4287 "displayName": "Faculty Meetings"4288 }4289 ]4290 }4291 ],4292 "resourceEntityTypeMap": {4293 "Activities": "ActivityDto:#SP.Dto",4294 "CourseActivities": "CourseActivityDto:#SP.Dto",4295 "CourseSlots": "CourseSlotDto:#SP.Dto",4296 "CourseFormats": "CourseFormatDto:#SP.Dto",4297 "Courses": "CourseDto:#SP.Dto",4298 "CourseDayDtoes": "CourseDayDto:#SP.Dto",4299 "CourseParticipants": "CourseParticipantDto:#SP.Dto",4300 "Departments": "DepartmentDto:#SP.Dto",4301 "CourseTypeDepartmentDtoes": "CourseTypeDepartmentDto:#SP.Dto",4302 "CourseTypes": "CourseTypeDto:#SP.Dto",4303 "CandidatePrereading": "CandidatePrereadingDto:#SP.Dto",4304 "CourseTypeScenarioRoles": "CourseTypeScenarioRoleDto:#SP.Dto",4305 "FacultyScenarioRoles": "FacultyScenarioRoleDto:#SP.Dto",4306 "CourseScenarioFacultyRoles": "CourseScenarioFacultyRoleDto:#SP.Dto",4307 "ParticipantDtoes": "ParticipantDto:#SP.Dto",4308 "CourseFacultyInvites": "CourseFacultyInviteDto:#SP.Dto",4309 "CourseSlotPresenters": "CourseSlotPresenterDto:#SP.Dto",4310 "HotDrinks": "HotDrinkDto:#SP.Dto",4311 "ProfessionalRoles": "ProfessionalRoleDto:#SP.Dto",4312 "ProfessionalRoleInstitutions": "ProfessionalRoleInstitutionDto:#SP.Dto",4313 "Institutions": "InstitutionDto:#SP.Dto",4314 "cultures": "CultureDto:#SP.Dto",4315 "UserRoles": "UserRoleDto:#SP.Dto",4316 "Scenarios": "ScenarioDto:#SP.Dto",4317 "CourseSlotActivities": "CourseSlotActivityDto:#SP.Dto",4318 "ScenarioResources": "ScenarioResourceDto:#SP.Dto",4319 "Manikins": "ManikinDto:#SP.Dto",4320 "CourseSlotManikins": "CourseSlotManikinDto:#SP.Dto",4321 "ManikinServiceDtoes": "ManikinServiceDto:#SP.Dto",4322 "ManikinModelDtoes": "ManikinModelDto:#SP.Dto",4323 "ManikinManufacturers": "ManikinManufacturerDto:#SP.Dto",4324 "Rooms": "RoomDto:#SP.Dto"4325 }4326});4327 function getBreezeValidators(){4328 return {4329 "ActivityDto": [4330 "courseActivity"4331 ],4332 "CourseActivityDto": [4333 "courseType"4334 ],4335 "CourseSlotDto": [4336 "courseFormat"4337 ],4338 "CourseScenarioFacultyRoleDto": [4339 "courseSlot",4340 "course",4341 "facultyScenarioRole",4342 "participant"4343 ],4344 "CourseSlotActivityDto": [4345 "courseSlot",4346 "course"4347 ],4348 "CourseSlotManikinDto": [4349 "courseSlot",4350 "course",4351 "manikin"4352 ],4353 "CourseSlotPresenterDto": [4354 "courseSlot",4355 "course",4356 "participant"4357 ],4358 "CourseDto": [4359 "courseFormat",4360 "department",4361 "room"4362 ],4363 "CourseFormatDto": [4364 "courseType"4365 ],4366 "CourseDayDto": [4367 "course"4368 ],4369 "CourseParticipantDto": [4370 "course",4371 "department",4372 "participant",4373 "professionalRole"4374 ],4375 "CourseFacultyInviteDto": [4376 "course",4377 "faculty"4378 ],4379 "CourseTypeDepartmentDto": [4380 "department",4381 "courseType"4382 ],4383 "DepartmentDto": [4384 "institution"4385 ],4386 "ManikinDto": [4387 "department",4388 "model"4389 ],4390 "ParticipantDto": [4391 "department",4392 "professionalRole"4393 ],4394 "RoomDto": [4395 "department"4396 ],4397 "ScenarioDto": [4398 "department",4399 "courseType"4400 ],4401 "CandidatePrereadingDto": [4402 "courseType"4403 ],4404 "CourseTypeScenarioRoleDto": [4405 "courseType",4406 "facultyScenarioRole"4407 ],4408 "UserRoleDto": [4409 "user"4410 ],4411 "ProfessionalRoleInstitutionDto": [4412 "professionalRole",4413 "institution"4414 ],4415 "ScenarioResourceDto": [4416 "scenario"4417 ],4418 "ManikinServiceDto": [4419 "manikin"4420 ],4421 "ManikinModelDto": [4422 "manufacturer"4423 ]4424};4425 }4426 function getEnums(){4427 return {"emersion":["Interactive","Pause","Emersive"],"difficulty":["Easy","Moderate","Hard"],"professionalCategory":["Nursing","Medical","Tech","Allied","Paramedic","Educator","Actor","Administrative","Other"],"sharingLevel":["DepartmentOnly","InstitutionWide","NoRestriction","DepartmentAndExParticipants"]};4428 }...

Full Screen

Full Screen

Mat33.js

Source:Mat33.js Github

copy

Full Screen

...28 this.row1 = arguments[1].clone();29 this.row2 = arguments[2].clone();30 }31 else if (arguments.length = 9 &&32 FABRIC.RT.isScalar(arguments[0]) &&33 FABRIC.RT.isScalar(arguments[1]) &&34 FABRIC.RT.isScalar(arguments[2]) &&35 FABRIC.RT.isScalar(arguments[3]) &&36 FABRIC.RT.isScalar(arguments[4]) &&37 FABRIC.RT.isScalar(arguments[5]) &&38 FABRIC.RT.isScalar(arguments[6]) &&39 FABRIC.RT.isScalar(arguments[7]) &&40 FABRIC.RT.isScalar(arguments[8])) {41 this.row0 = new FABRIC.RT.Vec3(arguments[0], arguments[1], arguments[2]);42 this.row1 = new FABRIC.RT.Vec3(arguments[3], arguments[4], arguments[5]);43 this.row2 = new FABRIC.RT.Vec3(arguments[6], arguments[7], arguments[8]);44 }45 else if (arguments.length == 1 &&46 FABRIC.RT.isMat33(arguments[0])) {47 this.row0 = arguments[0].row0.clone();48 this.row1 = arguments[0].row1.clone();49 this.row2 = arguments[0].row2.clone();50 }51 else if (arguments.length == 0) {52 this.row0 = FABRIC.RT.Vec3.xAxis.clone();53 this.row1 = FABRIC.RT.Vec3.yAxis.clone();54 this.row2 = FABRIC.RT.Vec3.zAxis.clone();55 }56 else throw'new Mat33: invalid arguments';57 };58/**59 * Overloaded Constructor for a matrix33 object.60 * @param {object} row0 The first row of the matrix33 as a Vec3 object.61 * @param {object} row1 The second row of the matrix33 as a Vec3 object.62 * @param {object} row2 The third row of the matrix33 as a Vec3 object.63 * @return {object} The matrix33 object.64 */65FABRIC.RT.mat33 = function(row0, row1, row2) {66 return new FABRIC.RT.Mat33(row0, row1, row2);67};68FABRIC.RT.Mat33.prototype = {69 eql: function(that) {70 return FABRIC.RT.isMat33(that) &&71 this.row0.eql(that.row0) &&72 this.row1.eql(that.row1) &&73 this.row2.eql(that.row2);74 },75 mul: function(that) {76 if (FABRIC.RT.isScalar(that))77 return new FABRIC.RT.Mat33(78 this.row0.multiply(that),79 this.row1.multiply(that),80 this.row2.multiply(that)81 );82 else if (FABRIC.RT.isVec3(that))83 return new FABRIC.RT.Vec3(84 this.row0.dot(that),85 this.row1.dot(that),86 this.row2.dot(that)87 );88 else if (FABRIC.RT.isMat33(that))89 return new FABRIC.RT.Mat33(90 this.row0.x * that.row0.x + this.row0.y * that.row1.x + this.row0.z * that.row2.x,...

Full Screen

Full Screen

isScalar.js

Source:isScalar.js Github

copy

Full Screen

2const assert = require('assert');3const { isScalar } = require('../req');4describe('isScalar', function() {5 it('should accept scalar values', function() {6 assert.strictEqual(isScalar(0), true);7 assert.strictEqual(isScalar(42), true, 'Answer to the Ultimate Question of Life, the Universe, and Everything');8 assert.strictEqual(isScalar(Math.PI), true);9 assert.strictEqual(isScalar(Infinity), true);10 assert.strictEqual(isScalar(NaN), true);11 assert.strictEqual(isScalar(''), true);12 assert.strictEqual(isScalar('a'), true);13 assert.strictEqual(isScalar('0123'), true);14 assert.strictEqual(isScalar(42), true, 'Answer to the Ultimate Question of Life, the Universe, and Everything');15 assert.strictEqual(isScalar('{ "json": true }'), true);16 assert.strictEqual(isScalar(null), true);17 assert.strictEqual(isScalar(false), true);18 assert.strictEqual(isScalar(true), true);19 });20 it('should reject undefined values and not defined params', function() {21 assert.strictEqual(isScalar(undefined), false);22 assert.strictEqual(isScalar(), false);23 });24 it('should reject complex values', function() {25 assert.strictEqual(isScalar({}), false);26 assert.strictEqual(isScalar([]), false);27 assert.strictEqual(isScalar(Symbol()), false);28 assert.strictEqual(isScalar(Date), false);29 assert.strictEqual(isScalar(()=> 42), false);30 });...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1const istanbul = require('istanbul-lib-coverage');2const map = istanbul.createCoverageMap();3map.addFileCoverage({4 statementMap: {5 '0': {6 start: {7 },8 end: {9 }10 }11 },12 fnMap: {13 '0': {14 decl: {15 start: {16 },17 end: {18 }19 },20 loc: {21 start: {22 },23 end: {24 }25 }26 }27 },28 branchMap: {29 '0': {30 loc: {31 start: {32 },33 end: {34 }35 },36 locations: [{37 start: {38 },39 end: {40 }41 }, {42 start: {43 },44 end: {45 }46 }],47 }48 },49 s: {50 },51 f: {52 },53 b: {54 },55});56const fileCoverage = map.fileCoverageFor('test.js');57console.log(fileCoverage.isAllBranchesCovered());58console.log(fileCoverage.isAllFunctionsCovered());59console.log(fileCoverage.isAllStatementsCovered());60console.log(fileCoverage.isBranchCovered(0));61console.log(fileCoverage.isFunctionCovered('0'));62console.log(fileCoverage.isStatementCovered(0));63console.log(fileCoverage.isBranch

Full Screen

Using AI Code Generation

copy

Full Screen

1var istanbul = require('istanbul-lib-coverage');2var map = istanbul.createCoverageMap();3map.addFileCoverage({4 statementMap: { 0: { start: { line: 1, column: 0 }, end: { line: 1, column: 2 } } },5 fnMap: {},6 branchMap: {},7 s: { '0': 0 },8 f: {},9 b: {}10});11map.addFileCoverage({12 statementMap: { 0: { start: { line: 1, column: 0 }, end: { line: 1, column: 2 } } },13 fnMap: {},14 branchMap: {},15 s: { '0': 0 },16 f: {},17 b: {}18});19console.log(map.isScalar('foo.js'));20console.log(map.isScalar('bar.js'));21var istanbul = require('istanbul-lib-coverage');22var map = istanbul.createCoverageMap();23map.addFileCoverage({24 statementMap: { 0: { start: { line: 1, column: 0 }, end: { line: 1, column: 2 } } },25 fnMap: {},26 branchMap: {},27 s: { '0': 0 },28 f: {},29 b: {}30});31map.addFileCoverage({32 statementMap: { 0: { start: { line: 1, column: 0 }, end: { line: 1, column: 2 } } },33 fnMap: {},34 branchMap: {},35 s: { '0': 0 },36 f: {},37 b: {}38});39console.log(map.isMergeable({ 'foo.js': 1 }));40console.log(map.isMergeable({ 'bar.js': 1 }));41console.log(map.isMergeable({ 'foo.js': 1, 'bar.js': 1 }));42console.log(map.isMergeable({ 'bar.js': 1, 'foo.js': 1 }));

Full Screen

Using AI Code Generation

copy

Full Screen

1var istanbul = require('istanbul-lib-coverage');2var map = istanbul.createCoverageMap();3var path = require('path');4var fs = require('fs');5map.addFileCoverage(JSON.parse(fs.readFileSync(path.join(__dirname, 'coverage.json'), 'utf8')));6var fileCoverage = map.fileCoverageFor('src/index.js');7console.log(fileCoverage.isStatementCovered(1));8console.log(fileCoverage.isStatementCovered(2));9console.log(fileCoverage.isStatementCovered(3));10console.log(fileCoverage.isStatementCovered(4));11console.log(fileCoverage.isStatementCovered(5));12console.log(fileCoverage.isStatementCovered(6));13console.log(fileCoverage.isStatementCovered(7));14console.log(fileCoverage.isStatementCovered(8));15console.log(fileCoverage.isStatementCovered(9));16console.log(fileCoverage.isStatementCovered(10));17console.log(fileCoverage.isStatementCovered(11));18console.log(fileCoverage.isStatementCovered(12));19console.log(fileCoverage.isStatementCovered(13));20console.log(fileCoverage.isStatementCovered(14));21console.log(fileCoverage.isStatementCovered(15));22console.log(fileCoverage.isStatementCovered(16));23console.log(fileCoverage.isStatementCovered(17));24console.log(fileCoverage.isStatementCovered(18));25console.log(fileCoverage.isStatementCovered(19));26console.log(fileCoverage.isStatementCovered(20));27console.log(fileCoverage.isStatementCovered(21));28console.log(fileCoverage.isStatementCovered(22));29console.log(fileCoverage.isStatementCovered(23));30console.log(fileCoverage.isStatementCovered(24));31console.log(fileCoverage.isStatementCovered(25));32console.log(fileCoverage.isStatementCovered(26));33console.log(fileCoverage.isStatementCovered(27));34console.log(fileCoverage.isStatementCovered(28));35console.log(fileCoverage.isStatementCovered(29));36console.log(fileCoverage.isStatementCovered(30));37console.log(fileCoverage.isStatementCovered(31));38console.log(fileCoverage.isStatementCovered(32));39console.log(fileCoverage.isStatementCovered(33));40console.log(fileCoverage.isStatementCovered(34));41console.log(fileCoverage.isStatementCovered(35));42console.log(fileCoverage.isStatementCovered(36));43console.log(fileCoverage.isStatementCovered(37));44console.log(fileCoverage.isStatementCovered(38));45console.log(fileCoverage.isStatement

Full Screen

Using AI Code Generation

copy

Full Screen

1var istanbul = require('istanbul-lib-coverage');2var map = istanbul.createCoverageMap();3map.addFileCoverage({4 s: {5 }6});7console.log(map.data.a.js.s);8console.log(map.data.a.js.s[1]);9console.log(map.data.a.js.s[2]);10console.log(map.data.a.js.s[3]);11console.log(map.data.a.js.s[1] === 0);12console.log(map.data.a.js.s[2] === 0);13console.log(map.data.a.js.s[3] === 0);14console.log(istanbul.utils.isScalar(map.data.a.js.s[1]));15console.log(istanbul.utils.isScalar(map.data.a.js.s[2]));16console.log(istanbul.utils.isScalar(map.data.a.js.s[3]));17console.log(istanbul.utils.isScalar(map.data.a.js.s[1] === 0));18console.log(istanbul.utils.isScalar(map.data.a.js.s[2] === 0));19console.log(istanbul.utils.isScalar(map.data.a.js.s[3] === 0));20console.log(istanbul.utils.isScalar(map.data.a.js.s[1] === 0) && map.data.a.js.s[1] === 0);21console.log(istanbul.utils.isScalar(map.data.a.js.s[2] === 0) && map.data.a.js.s[2] === 0);22console.log(istanbul.utils.isScalar(map.data.a.js.s[3] === 0) && map.data.a.js.s[3] === 0);23{ '1': 0, '2': 0 }24{ '1': 0, '2': 0 }25{ '1': 0, '2': 0 }

Full Screen

Using AI Code Generation

copy

Full Screen

1var istanbul = require('istanbul-lib-coverage');2var map = istanbul.createCoverageMap();3map.addFileCoverage({path: 'foo.js', statements: {0: 1}});4var istanbul = require('istanbul-lib-coverage');5var map = istanbul.createCoverageMap();6map.addFileCoverage({path: 'foo.js', statements: {0: 1}});

Full Screen

Using AI Code Generation

copy

Full Screen

1const istanbulLibCoverage = require('istanbul-lib-coverage');2const map = istanbulLibCoverage.createCoverageMap();3const file = map.addFileCoverage({path: 'test.js', statementMap: {0: {start: {line: 1, column: 0}, end: {line: 1, column: 1}}, 1: {start: {line: 2, column: 0}, end: {line: 2, column: 1}}}, fnMap: {}, branchMap: {}, s: {0: 1, 1: 1}, f: {}, b: {}});4console.log(file.isScalar());5const istanbulLibCoverage = require('istanbul-lib-coverage');6const map = istanbulLibCoverage.createCoverageMap();7const file = map.addFileCoverage({path: 'test.js', statementMap: {0: {start: {line: 1, column: 0}, end: {line: 1, column: 1}}, 1: {start: {line: 2, column: 0}, end: {line: 2, column: 1}}}, fnMap: {}, branchMap: {}, s: {0: 1, 1: 1}, f: {}, b: {}});8console.log(file.isAllTrue());9const istanbulLibCoverage = require('istanbul-lib-coverage');10const map = istanbulLibCoverage.createCoverageMap();11const file = map.addFileCoverage({path: 'test.js', statementMap: {0: {start: {line: 1, column: 0}, end: {line: 1, column: 1}}, 1: {start: {line: 2, column: 0}, end: {line: 2, column: 1}}}, fnMap: {}, branchMap: {}, s: {0: 1, 1: 1}, f: {}, b: {}});12console.log(file.isAllFalse());

Full Screen

Using AI Code Generation

copy

Full Screen

1const istanbulLibCoverage = require('istanbul-lib-coverage');2const {isScalar} = istanbulLibCoverage;3const istanbulLibCoverage = require('istanbul-lib-coverage');4const {isScalar} = istanbulLibCoverage;5const istanbulLibCoverage = require('istanbul-lib-coverage');6const {isScalar} = istanbulLibCoverage;7const istanbulLibCoverage = require('istanbul-lib-coverage');8const {isScalar} = istanbulLibCoverage;9const istanbulLibCoverage = require('istanbul-lib-coverage');10const {isScalar} = istanbulLibCoverage;11const istanbulLibCoverage = require('istanbul-lib-coverage');12const {isScalar} = istanbulLibCoverage;13const istanbulLibCoverage = require('istanbul-lib-coverage');14const {isScalar} = istanbulLibCoverage;15const istanbulLibCoverage = require('istanbul-lib-coverage');16const {isScalar} = istanbulLibCoverage;17const istanbulLibCoverage = require('istanbul-lib-coverage');18const {isScalar} = istanbulLibCoverage;19const istanbulLibCoverage = require('istanbul-lib-coverage');20const {isScalar} = istanbulLibCoverage;21const istanbulLibCoverage = require('istanbul-lib-coverage');22const {isScalar} = istanbulLibCoverage;23const istanbulLibCoverage = require('istanbul-lib-coverage');24const {isScalar} = istanbulLibCoverage;

Full Screen

Using AI Code Generation

copy

Full Screen

1const istanbulLibReport = require('istanbul-lib-report');2const libCoverage = require('istanbul-lib-coverage');3const map = libCoverage.createCoverageMap();4const fileCoverage = libCoverage.createFileCoverage('test.js');5fileCoverage.s = { 1: 1, 2: 2 };6fileCoverage.b = { 1: [1, 0], 2: [1, 0] };7fileCoverage.f = { 1: 1, 2: 2 };8fileCoverage.l = { 1: 1, 2: 2 };9fileCoverage.fnMap = { 1: { name: 'test', line: 1 }, 2: { name: 'test', line: 2 } };10fileCoverage.statementMap = { 1: { start: { line: 1, column: 0 }, end: { line: 1, column: 1 } }, 2: { start: { line: 2, column: 0 }, end: { line: 2, column: 1 } } };11fileCoverage.branchMap = { 1: { line: 1, type: 'if', locations: [{ start: { line: 1, column: 0 }, end: { line: 1, column: 0 } }, { start: { line: 1, column: 0 }, end: { line: 1, column: 0 } }] }, 2: { line: 2, type: 'if', locations: [{ start: { line: 2, column: 0 }, end: { line: 2, column: 0 } }, { start: { line: 2, column: 0 }, end: { line: 2, column: 0 } }] } };12map.addFileCoverage(fileCoverage);

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run istanbul automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful