|
6 | 6 | Project website: https://rudnerbjoern.github.io/iTop-schema/ |
7 | 7 | GitHub repository: https://github.com/rudnerbjoern/iTop-schema |
8 | 8 |
|
9 | | - Generated on: 2025-07-11 11:58:26 UTC |
| 9 | + Generated on: 2025-08-04 08:49:54 UTC |
10 | 10 |
|
11 | 11 | Use this file to validate your iTop datamodels with confidence and consistency. |
12 | 12 | --> |
|
1292 | 1292 | </xs:extension> |
1293 | 1293 | </xs:simpleContent> |
1294 | 1294 | </xs:complexType> |
| 1295 | + <xs:complexType name="alteredBoolean"> |
| 1296 | + <xs:annotation> |
| 1297 | + <xs:documentation>A boolean value with metadata for tracking modifications in delta XML files. This type extends a plain boolean (xs:boolean) with attributes from the alteredNode group, allowing to describe how and when the boolean was changed, created, renamed, or deleted.</xs:documentation> |
| 1298 | + </xs:annotation> |
| 1299 | + <xs:simpleContent> |
| 1300 | + <xs:extension base="xs:boolean"> |
| 1301 | + <xs:attributeGroup ref="alteredNode"/> |
| 1302 | + </xs:extension> |
| 1303 | + </xs:simpleContent> |
| 1304 | + </xs:complexType> |
1295 | 1305 | <xs:complexType name="presentationZlist"> |
1296 | 1306 | <xs:all> |
1297 | 1307 | <xs:element name="items" type="presentationItems"/> |
|
2460 | 2470 | <xs:attribute name="id" type="xs:string" use="required"/> |
2461 | 2471 | <xs:attributeGroup ref="alteredNode"/> |
2462 | 2472 | </xs:complexType> |
2463 | | - <xs:simpleType name="MenuEnableActionEnumeration"> |
2464 | | - <xs:restriction base="xs:string"> |
2465 | | - <xs:enumeration value="UR_ACTION_READ"/> |
2466 | | - <xs:enumeration value="UR_ACTION_MODIFY"/> |
2467 | | - <xs:enumeration value="UR_ACTION_DELETE"/> |
2468 | | - <xs:enumeration value="UR_ACTION_BULK_READ"/> |
2469 | | - <xs:enumeration value="UR_ACTION_BULK_MODIFY"/> |
2470 | | - <xs:enumeration value="UR_ACTION_BULK_DELETE"/> |
2471 | | - </xs:restriction> |
2472 | | - </xs:simpleType> |
2473 | | - <xs:simpleType name="MenuEnablePermissionEnumeration"> |
2474 | | - <xs:restriction base="xs:string"> |
2475 | | - <xs:enumeration value="UR_ALLOWED_NO"/> |
2476 | | - <xs:enumeration value="UR_ALLOWED_YES"/> |
2477 | | - </xs:restriction> |
2478 | | - </xs:simpleType> |
2479 | | - <xs:simpleType name="zeroOrOneEnumeration"> |
2480 | | - <xs:restriction base="xs:unsignedByte"> |
2481 | | - <xs:enumeration value="0"/> |
2482 | | - <xs:enumeration value="1"/> |
2483 | | - </xs:restriction> |
| 2473 | + <xs:complexType name="MenuEnableActionEnumeration"> |
| 2474 | + <xs:simpleContent> |
| 2475 | + <xs:restriction base="alteredString"> |
| 2476 | + <xs:enumeration value="UR_ACTION_READ"/> |
| 2477 | + <xs:enumeration value="UR_ACTION_MODIFY"/> |
| 2478 | + <xs:enumeration value="UR_ACTION_DELETE"/> |
| 2479 | + <xs:enumeration value="UR_ACTION_BULK_READ"/> |
| 2480 | + <xs:enumeration value="UR_ACTION_BULK_MODIFY"/> |
| 2481 | + <xs:enumeration value="UR_ACTION_BULK_DELETE"/> |
| 2482 | + </xs:restriction> |
| 2483 | + </xs:simpleContent> |
| 2484 | + </xs:complexType> |
| 2485 | + <xs:complexType name="MenuEnablePermissionEnumeration"> |
| 2486 | + <xs:simpleContent> |
| 2487 | + <xs:restriction base="alteredString"> |
| 2488 | + <xs:enumeration value="UR_ALLOWED_NO"/> |
| 2489 | + <xs:enumeration value="UR_ALLOWED_YES"/> |
| 2490 | + </xs:restriction> |
| 2491 | + </xs:simpleContent> |
| 2492 | + </xs:complexType> |
| 2493 | + <xs:complexType name="zeroOrOneEnumeration"> |
| 2494 | + <xs:simpleContent> |
| 2495 | + <xs:restriction base="alteredString"> |
| 2496 | + <xs:enumeration value="0"/> |
| 2497 | + <xs:enumeration value="1"/> |
| 2498 | + </xs:restriction> |
| 2499 | + </xs:simpleContent> |
| 2500 | + </xs:complexType> |
| 2501 | + <xs:simpleType name="MenuAutoReloadEnumeration"> |
| 2502 | + <xs:union memberTypes="xs:nonNegativeInteger"> |
| 2503 | + <xs:simpleType> |
| 2504 | + <xs:restriction base="xs:string"> |
| 2505 | + <xs:enumeration value="none"/> |
| 2506 | + <xs:enumeration value="standard"/> |
| 2507 | + <xs:enumeration value="fast"/> |
| 2508 | + </xs:restriction> |
| 2509 | + </xs:simpleType> |
| 2510 | + </xs:union> |
2484 | 2511 | </xs:simpleType> |
| 2512 | + <xs:complexType name="alteredMenuAutoReloadEnumeration"> |
| 2513 | + <xs:simpleContent> |
| 2514 | + <xs:extension base="MenuAutoReloadEnumeration"> |
| 2515 | + <xs:attributeGroup ref="alteredNode"/> |
| 2516 | + </xs:extension> |
| 2517 | + </xs:simpleContent> |
| 2518 | + </xs:complexType> |
2485 | 2519 | <!-- ########################### MenuGroup ########################### --> |
2486 | 2520 | <xs:complexType name="MenuGroup"> |
2487 | 2521 | <xs:complexContent> |
2488 | 2522 | <xs:extension base="MenuNode"> |
2489 | 2523 | <xs:all> |
2490 | | - <xs:element name="rank" type="xs:decimal" minOccurs="0"/> |
| 2524 | + <xs:element name="rank" type="alteredFloat" minOccurs="0"/> |
2491 | 2525 | <xs:element name="enable_admin_only" type="zeroOrOneEnumeration" minOccurs="0"/> |
2492 | | - <xs:element name="enable_class" type="xs:string" minOccurs="0"/> |
| 2526 | + <xs:element name="enable_class" type="alteredString" minOccurs="0"/> |
2493 | 2527 | <xs:element name="enable_action" type="MenuEnableActionEnumeration" minOccurs="0"/> |
2494 | 2528 | <xs:element name="enable_permission" type="MenuEnablePermissionEnumeration" minOccurs="0" default="UR_ALLOWED_YES"/> |
2495 | | - <xs:element name="enable_stimulus" type="xs:string" minOccurs="0"/> |
| 2529 | + <xs:element name="enable_stimulus" type="alteredString" minOccurs="0"/> |
2496 | 2530 | <xs:element name="style" minOccurs="0"> |
2497 | 2531 | <xs:complexType> |
2498 | 2532 | <xs:sequence> |
2499 | | - <xs:element name="decoration_classes" type="xs:string"/> |
| 2533 | + <xs:element name="decoration_classes" type="alteredString"/> |
2500 | 2534 | </xs:sequence> |
| 2535 | + <xs:attributeGroup ref="alteredNode"/> |
2501 | 2536 | </xs:complexType> |
2502 | 2537 | </xs:element> |
2503 | 2538 | </xs:all> |
|
2510 | 2545 | <xs:complexContent> |
2511 | 2546 | <xs:extension base="MenuNode"> |
2512 | 2547 | <xs:all> |
2513 | | - <xs:element name="rank" type="xs:decimal" minOccurs="0"/> |
| 2548 | + <xs:element name="rank" type="alteredFloat" minOccurs="0"/> |
2514 | 2549 | <xs:element name="enable_admin_only" type="zeroOrOneEnumeration" minOccurs="0"/> |
2515 | | - <xs:element name="parent" type="xs:string" minOccurs="0"/> |
2516 | | - <xs:element name="definition_file" type="xs:string" minOccurs="0"/> |
| 2550 | + <xs:element name="parent" type="alteredString" minOccurs="0"/> |
| 2551 | + <xs:element name="definition_file" type="alteredString" minOccurs="0"/> |
2517 | 2552 | <xs:element name="definition" minOccurs="0"> |
2518 | 2553 | <xs:complexType> |
2519 | 2554 | <xs:all> |
2520 | 2555 | <xs:element name="layout" minOccurs="0"> |
2521 | | - <xs:simpleType> |
2522 | | - <xs:restriction base="xs:string"> |
2523 | | - <xs:enumeration value="DashboardLayoutOneCol"/> |
2524 | | - <xs:enumeration value="DashboardLayoutTwoCols"/> |
2525 | | - <xs:enumeration value="DashboardLayoutThreeCols"/> |
2526 | | - </xs:restriction> |
2527 | | - </xs:simpleType> |
| 2556 | + <xs:complexType> |
| 2557 | + <xs:simpleContent> |
| 2558 | + <xs:restriction base="alteredString"> |
| 2559 | + <xs:enumeration value="DashboardLayoutOneCol"/> |
| 2560 | + <xs:enumeration value="DashboardLayoutTwoCols"/> |
| 2561 | + <xs:enumeration value="DashboardLayoutThreeCols"/> |
| 2562 | + </xs:restriction> |
| 2563 | + </xs:simpleContent> |
| 2564 | + </xs:complexType> |
2528 | 2565 | </xs:element> |
2529 | | - <xs:element name="title" type="xs:string" minOccurs="0"/> |
| 2566 | + <xs:element name="title" type="alteredString" minOccurs="0"/> |
2530 | 2567 | <xs:element name="cells" minOccurs="0"> |
2531 | 2568 | <xs:complexType> |
2532 | 2569 | <xs:sequence maxOccurs="unbounded"> |
2533 | 2570 | <xs:element name="cell"> |
2534 | 2571 | <xs:complexType> |
2535 | 2572 | <xs:all> |
2536 | | - <xs:element name="rank" minOccurs="0"/> |
| 2573 | + <xs:element name="rank" type="alteredFloat" minOccurs="0"/> |
2537 | 2574 | <xs:element name="dashlets" minOccurs="0"> |
2538 | 2575 | <xs:complexType> |
2539 | 2576 | <xs:sequence minOccurs="0" maxOccurs="unbounded"> |
2540 | | - <xs:element name="dashlet"/> |
| 2577 | + <xs:element name="dashlet" type="Dashlet"/> |
2541 | 2578 | </xs:sequence> |
| 2579 | + <xs:attributeGroup ref="alteredNode"/> |
2542 | 2580 | </xs:complexType> |
2543 | 2581 | </xs:element> |
2544 | 2582 | </xs:all> |
|
2547 | 2585 | </xs:complexType> |
2548 | 2586 | </xs:element> |
2549 | 2587 | </xs:sequence> |
| 2588 | + <xs:attributeGroup ref="alteredNode"/> |
2550 | 2589 | </xs:complexType> |
2551 | 2590 | </xs:element> |
2552 | 2591 | </xs:all> |
| 2592 | + <xs:attributeGroup ref="alteredNode"/> |
2553 | 2593 | </xs:complexType> |
2554 | 2594 | </xs:element> |
2555 | | - <xs:element name="enable_class" type="xs:string" minOccurs="0"/> |
| 2595 | + <xs:element name="enable_class" type="alteredString" minOccurs="0"/> |
2556 | 2596 | <xs:element name="enable_action" type="MenuEnableActionEnumeration" minOccurs="0"/> |
2557 | 2597 | <xs:element name="enable_permission" type="MenuEnablePermissionEnumeration" minOccurs="0" default="UR_ALLOWED_YES"/> |
2558 | | - <xs:element name="enable_stimulus" type="xs:string" minOccurs="0"/> |
| 2598 | + <xs:element name="enable_stimulus" type="alteredString" minOccurs="0"/> |
2559 | 2599 | </xs:all> |
2560 | 2600 | </xs:extension> |
2561 | 2601 | </xs:complexContent> |
|
2566 | 2606 | <xs:complexContent> |
2567 | 2607 | <xs:extension base="MenuNode"> |
2568 | 2608 | <xs:all> |
2569 | | - <xs:element name="rank" type="xs:decimal" minOccurs="0"/> |
| 2609 | + <xs:element name="rank" type="alteredFloat" minOccurs="0"/> |
2570 | 2610 | <xs:element name="enable_admin_only" type="zeroOrOneEnumeration" minOccurs="0"/> |
2571 | | - <xs:element name="parent" type="xs:string" minOccurs="0"/> |
2572 | | - <xs:element name="class" type="xs:string" minOccurs="0"/> |
2573 | | - <xs:element name="enable_class" type="xs:string" minOccurs="0"/> |
| 2611 | + <xs:element name="parent" type="alteredString" minOccurs="0"/> |
| 2612 | + <xs:element name="class" type="alteredString" minOccurs="0"/> |
| 2613 | + <xs:element name="enable_class" type="alteredString" minOccurs="0"/> |
2574 | 2614 | <xs:element name="enable_action" type="MenuEnableActionEnumeration" minOccurs="0"/> |
2575 | 2615 | <xs:element name="enable_permission" type="MenuEnablePermissionEnumeration" minOccurs="0" default="UR_ALLOWED_YES"/> |
2576 | | - <xs:element name="enable_stimulus" type="xs:string" minOccurs="0"/> |
| 2616 | + <xs:element name="enable_stimulus" type="alteredString" minOccurs="0"/> |
2577 | 2617 | </xs:all> |
2578 | 2618 | </xs:extension> |
2579 | 2619 | </xs:complexContent> |
|
2584 | 2624 | <xs:complexContent> |
2585 | 2625 | <xs:extension base="MenuNode"> |
2586 | 2626 | <xs:all> |
2587 | | - <xs:element name="rank" type="xs:decimal" minOccurs="0"/> |
| 2627 | + <xs:element name="rank" type="alteredFloat" minOccurs="0"/> |
2588 | 2628 | <xs:element name="enable_admin_only" type="zeroOrOneEnumeration" minOccurs="0"/> |
2589 | | - <xs:element name="parent" type="xs:string" minOccurs="0"/> |
2590 | | - <xs:element name="class" type="xs:string" minOccurs="0"/> |
2591 | | - <xs:element name="enable_class" type="xs:string" minOccurs="0"/> |
| 2629 | + <xs:element name="parent" type="alteredString" minOccurs="0"/> |
| 2630 | + <xs:element name="class" type="alteredString" minOccurs="0"/> |
| 2631 | + <xs:element name="enable_class" type="alteredString" minOccurs="0"/> |
2592 | 2632 | <xs:element name="enable_action" type="MenuEnableActionEnumeration" minOccurs="0"/> |
2593 | 2633 | <xs:element name="enable_permission" type="MenuEnablePermissionEnumeration" minOccurs="0" default="UR_ALLOWED_YES"/> |
2594 | | - <xs:element name="enable_stimulus" type="xs:string" minOccurs="0"/> |
| 2634 | + <xs:element name="enable_stimulus" type="alteredString" minOccurs="0"/> |
2595 | 2635 | </xs:all> |
2596 | 2636 | </xs:extension> |
2597 | 2637 | </xs:complexContent> |
|
2602 | 2642 | <xs:complexContent> |
2603 | 2643 | <xs:extension base="MenuNode"> |
2604 | 2644 | <xs:all> |
2605 | | - <xs:element name="rank" type="xs:decimal" minOccurs="0"/> |
| 2645 | + <xs:element name="rank" type="alteredFloat" minOccurs="0"/> |
2606 | 2646 | <xs:element name="enable_admin_only" type="zeroOrOneEnumeration" minOccurs="0"/> |
2607 | | - <xs:element name="parent" type="xs:string" minOccurs="0"/> |
2608 | | - <xs:element name="template_file" type="xs:string" minOccurs="0"/> |
2609 | | - <xs:element name="enable_class" type="xs:string" minOccurs="0"/> |
| 2647 | + <xs:element name="parent" type="alteredString" minOccurs="0"/> |
| 2648 | + <xs:element name="template_file" type="alteredString" minOccurs="0"/> |
| 2649 | + <xs:element name="enable_class" type="alteredString" minOccurs="0"/> |
2610 | 2650 | <xs:element name="enable_action" type="MenuEnableActionEnumeration" minOccurs="0"/> |
2611 | 2651 | <xs:element name="enable_permission" type="MenuEnablePermissionEnumeration" minOccurs="0" default="UR_ALLOWED_YES"/> |
2612 | | - <xs:element name="enable_stimulus" type="xs:string" minOccurs="0"/> |
| 2652 | + <xs:element name="enable_stimulus" type="alteredString" minOccurs="0"/> |
2613 | 2653 | </xs:all> |
2614 | 2654 | </xs:extension> |
2615 | 2655 | </xs:complexContent> |
|
2620 | 2660 | <xs:complexContent> |
2621 | 2661 | <xs:extension base="MenuNode"> |
2622 | 2662 | <xs:all> |
2623 | | - <xs:element name="rank" type="xs:decimal" minOccurs="0"/> |
2624 | | - <xs:element name="auto_reload" minOccurs="0" default="none"> |
2625 | | - <xs:simpleType> |
2626 | | - <xs:union> |
2627 | | - <xs:simpleType> |
2628 | | - <xs:restriction base="xs:string"> |
2629 | | - <xs:enumeration value="none"/> |
2630 | | - <xs:enumeration value="standard"/> |
2631 | | - <xs:enumeration value="fast"/> |
2632 | | - </xs:restriction> |
2633 | | - </xs:simpleType> |
2634 | | - <xs:simpleType> |
2635 | | - <xs:restriction base="xs:nonNegativeInteger"/> |
2636 | | - </xs:simpleType> |
2637 | | - </xs:union> |
2638 | | - </xs:simpleType> |
2639 | | - </xs:element> |
| 2663 | + <xs:element name="rank" type="alteredFloat" minOccurs="0"/> |
| 2664 | + <xs:element name="auto_reload" type="alteredMenuAutoReloadEnumeration" minOccurs="0" default="none"/> |
2640 | 2665 | <xs:element name="enable_admin_only" type="zeroOrOneEnumeration" minOccurs="0"/> |
2641 | | - <xs:element name="parent" type="xs:string" minOccurs="0"/> |
2642 | | - <xs:element name="oql" type="xs:string" minOccurs="0"/> |
| 2666 | + <xs:element name="parent" type="alteredString" minOccurs="0"/> |
| 2667 | + <xs:element name="oql" type="alteredString" minOccurs="0"/> |
2643 | 2668 | <xs:element name="do_search" type="zeroOrOneEnumeration" minOccurs="0"/> |
2644 | 2669 | <xs:element name="search_form_open" type="zeroOrOneEnumeration" minOccurs="0"/> |
2645 | | - <xs:element name="enable_class" type="xs:string" minOccurs="0"/> |
| 2670 | + <xs:element name="enable_class" type="alteredString" minOccurs="0"/> |
2646 | 2671 | <xs:element name="enable_action" type="MenuEnableActionEnumeration" minOccurs="0"/> |
2647 | 2672 | <xs:element name="enable_permission" type="MenuEnablePermissionEnumeration" minOccurs="0" default="UR_ALLOWED_YES"/> |
2648 | | - <xs:element name="enable_stimulus" type="xs:string" minOccurs="0"/> |
| 2673 | + <xs:element name="enable_stimulus" type="alteredString" minOccurs="0"/> |
2649 | 2674 | </xs:all> |
2650 | 2675 | </xs:extension> |
2651 | 2676 | </xs:complexContent> |
|
2656 | 2681 | <xs:complexContent> |
2657 | 2682 | <xs:extension base="MenuNode"> |
2658 | 2683 | <xs:all> |
2659 | | - <xs:element name="rank" type="xs:decimal" minOccurs="0"/> |
| 2684 | + <xs:element name="rank" type="alteredFloat" minOccurs="0"/> |
2660 | 2685 | <xs:element name="enable_admin_only" type="zeroOrOneEnumeration" minOccurs="0"/> |
2661 | | - <xs:element name="parent" type="xs:string" minOccurs="0"/> |
2662 | | - <xs:element name="url" type="xs:string" minOccurs="0"> |
| 2686 | + <xs:element name="parent" type="alteredString" minOccurs="0"/> |
| 2687 | + <xs:element name="url" type="alteredString" minOccurs="0"> |
2663 | 2688 | <xs:annotation> |
2664 | 2689 | <xs:documentation>URL to the page within the module. Prefix by a $$ to specify an absolute URL. Prefix by a $ to specify an URL relative to the iTop root URL. No prefix: relative to the module directory</xs:documentation> |
2665 | 2690 | </xs:annotation> |
2666 | 2691 | </xs:element> |
2667 | | - <xs:element name="in_new_window" type="xs:boolean" minOccurs="0" default="false"/> |
2668 | | - <xs:element name="enable_class" type="xs:string" minOccurs="0"/> |
| 2692 | + <xs:element name="in_new_window" type="alteredBoolean" minOccurs="0" default="false"/> |
| 2693 | + <xs:element name="enable_class" type="alteredString" minOccurs="0"/> |
2669 | 2694 | <xs:element name="enable_action" type="MenuEnableActionEnumeration" minOccurs="0"/> |
2670 | 2695 | <xs:element name="enable_permission" type="MenuEnablePermissionEnumeration" minOccurs="0" default="UR_ALLOWED_YES"/> |
2671 | | - <xs:element name="enable_stimulus" type="xs:string" minOccurs="0"/> |
| 2696 | + <xs:element name="enable_stimulus" type="alteredString" minOccurs="0"/> |
2672 | 2697 | </xs:all> |
2673 | 2698 | </xs:extension> |
2674 | 2699 | </xs:complexContent> |
|
2679 | 2704 | <xs:complexContent> |
2680 | 2705 | <xs:extension base="MenuNode"> |
2681 | 2706 | <xs:all> |
2682 | | - <xs:element name="rank" type="xs:decimal" minOccurs="0"/> |
| 2707 | + <xs:element name="rank" type="alteredFloat" minOccurs="0"/> |
2683 | 2708 | <xs:element name="enable_admin_only" type="zeroOrOneEnumeration" minOccurs="0"/> |
2684 | | - <xs:element name="parent" type="xs:string" minOccurs="0"/> |
2685 | | - <xs:element name="enable_class" type="xs:string" minOccurs="0"/> |
| 2709 | + <xs:element name="parent" type="alteredString" minOccurs="0"/> |
| 2710 | + <xs:element name="enable_class" type="alteredString" minOccurs="0"/> |
2686 | 2711 | <xs:element name="enable_action" type="MenuEnableActionEnumeration" minOccurs="0"/> |
2687 | 2712 | <xs:element name="enable_permission" type="MenuEnablePermissionEnumeration" minOccurs="0" default="UR_ALLOWED_YES"/> |
2688 | | - <xs:element name="enable_stimulus" type="xs:string" minOccurs="0"/> |
| 2713 | + <xs:element name="enable_stimulus" type="alteredString" minOccurs="0"/> |
2689 | 2714 | </xs:all> |
2690 | 2715 | </xs:extension> |
2691 | 2716 | </xs:complexContent> |
|
0 commit comments