cwtools-shared 0.2.7 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/mcpTools.d.ts +2281 -0
- package/dist/generated/mcpTools.js +3003 -0
- package/dist/tools/mcpSchema.d.ts +3 -1
- package/dist/tools/mcpSchema.js +6 -2
- package/dist/tools/names.d.ts +8 -5
- package/dist/tools/names.js +24 -8
- package/dist/tools/toolHandlers.js +9 -0
- package/package.json +1 -1
|
@@ -718,6 +718,216 @@ exports.GENERATED_MCP_TOOLS = [
|
|
|
718
718
|
"concurrencyClass": "lsp-limited"
|
|
719
719
|
}
|
|
720
720
|
},
|
|
721
|
+
{
|
|
722
|
+
"tool": {
|
|
723
|
+
"name": "query_targeting_weight",
|
|
724
|
+
"description": "Read-only. Compute the Stellaris 4.5.2 targeting weight chain for one attacker ship, one weapon component and one candidate target, returning the full multiplicative decomposition. Stage 1 W(ship) = size x tracking-evasion x distance x preset weight x low-health x unarmed/starbase x random, plus the whole-target veto; Stage 2 S(weapon) = (shield+armor+hull damage split) x hit chance x preset weight x kill bonus, then + target_weights. The stages are independent argmax passes, so use_ship_main_target = yes weapons never use Stage 2; ai_weight is unrelated.",
|
|
725
|
+
"inputSchema": {
|
|
726
|
+
"type": "object",
|
|
727
|
+
"properties": {
|
|
728
|
+
"attacker": {
|
|
729
|
+
"type": "object",
|
|
730
|
+
"description": "Attacking ship.",
|
|
731
|
+
"properties": {
|
|
732
|
+
"tracking": {
|
|
733
|
+
"type": "number",
|
|
734
|
+
"description": "Ship tracking 0..1, scaled by the ship tracking mult."
|
|
735
|
+
},
|
|
736
|
+
"sizeMultiplier": {
|
|
737
|
+
"type": "number",
|
|
738
|
+
"description": "Attacker combat_size_multiplier; veto needs >= 8."
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
"required": [
|
|
742
|
+
"tracking",
|
|
743
|
+
"sizeMultiplier"
|
|
744
|
+
],
|
|
745
|
+
"additionalProperties": false
|
|
746
|
+
},
|
|
747
|
+
"weapon": {
|
|
748
|
+
"type": "object",
|
|
749
|
+
"description": "Weapon component template values, already modifier-corrected.",
|
|
750
|
+
"properties": {
|
|
751
|
+
"minDamage": {
|
|
752
|
+
"type": "number",
|
|
753
|
+
"description": "min_damage."
|
|
754
|
+
},
|
|
755
|
+
"maxDamage": {
|
|
756
|
+
"type": "number",
|
|
757
|
+
"description": "max_damage; the path uses the interval midpoint."
|
|
758
|
+
},
|
|
759
|
+
"accuracy": {
|
|
760
|
+
"type": "number",
|
|
761
|
+
"description": "accuracy 0..1; feeds hit chance p."
|
|
762
|
+
},
|
|
763
|
+
"tracking": {
|
|
764
|
+
"type": "number",
|
|
765
|
+
"description": "tracking 0..1; weapon rate, not scaled by the ship mult."
|
|
766
|
+
},
|
|
767
|
+
"shieldDamage": {
|
|
768
|
+
"type": "number",
|
|
769
|
+
"description": "shield_damage (ms), shield layer output mult."
|
|
770
|
+
},
|
|
771
|
+
"armorDamage": {
|
|
772
|
+
"type": "number",
|
|
773
|
+
"description": "armor_damage (ma), armor layer output mult."
|
|
774
|
+
},
|
|
775
|
+
"hullDamage": {
|
|
776
|
+
"type": "number",
|
|
777
|
+
"description": "hull_damage (mh), leftover hull output mult."
|
|
778
|
+
},
|
|
779
|
+
"shieldPenetration": {
|
|
780
|
+
"type": "number",
|
|
781
|
+
"description": "shield_penetration 0..1; minus hardening, clamped [0,1]."
|
|
782
|
+
},
|
|
783
|
+
"armorPenetration": {
|
|
784
|
+
"type": "number",
|
|
785
|
+
"description": "armor_penetration 0..1; minus hardening, clamped [0,1]."
|
|
786
|
+
},
|
|
787
|
+
"sizeDamageFactor": {
|
|
788
|
+
"type": "number",
|
|
789
|
+
"description": "size_damage_factor; when > 0 scales damage by (1 + clamp(size,1,100)*factor)."
|
|
790
|
+
},
|
|
791
|
+
"targetWeights": {
|
|
792
|
+
"type": "object",
|
|
793
|
+
"description": "target_weights table: ship_size id -> additive wk, NOT a multiplier; it can outrank the chain.",
|
|
794
|
+
"additionalProperties": {
|
|
795
|
+
"type": "number"
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
"required": [
|
|
800
|
+
"minDamage",
|
|
801
|
+
"maxDamage",
|
|
802
|
+
"accuracy",
|
|
803
|
+
"tracking",
|
|
804
|
+
"shieldDamage",
|
|
805
|
+
"armorDamage",
|
|
806
|
+
"hullDamage"
|
|
807
|
+
],
|
|
808
|
+
"additionalProperties": false
|
|
809
|
+
},
|
|
810
|
+
"target": {
|
|
811
|
+
"type": "object",
|
|
812
|
+
"description": "Candidate target ship state at the modelled tick.",
|
|
813
|
+
"properties": {
|
|
814
|
+
"shipSizeId": {
|
|
815
|
+
"type": "string",
|
|
816
|
+
"description": "ship_size id; only used for weapon.targetWeights."
|
|
817
|
+
},
|
|
818
|
+
"sizeMultiplier": {
|
|
819
|
+
"type": "number",
|
|
820
|
+
"description": "Target combat_size_multiplier."
|
|
821
|
+
},
|
|
822
|
+
"evasion": {
|
|
823
|
+
"type": "number",
|
|
824
|
+
"description": "Target evasion 0..1 (cap SHIP_MAX_EVASION 0.9)."
|
|
825
|
+
},
|
|
826
|
+
"distance": {
|
|
827
|
+
"type": "number",
|
|
828
|
+
"description": "Distance in engine units; the factor floors at 450."
|
|
829
|
+
},
|
|
830
|
+
"hull": {
|
|
831
|
+
"type": "number",
|
|
832
|
+
"description": "Current hull (Vtgt); right side of the kill test."
|
|
833
|
+
},
|
|
834
|
+
"maxHull": {
|
|
835
|
+
"type": "number",
|
|
836
|
+
"description": "Hull maximum; omit to skip the low-health factor."
|
|
837
|
+
},
|
|
838
|
+
"shield": {
|
|
839
|
+
"type": "number",
|
|
840
|
+
"description": "Current shields."
|
|
841
|
+
},
|
|
842
|
+
"armor": {
|
|
843
|
+
"type": "number",
|
|
844
|
+
"description": "Current armor."
|
|
845
|
+
},
|
|
846
|
+
"shieldHardening": {
|
|
847
|
+
"type": "number",
|
|
848
|
+
"description": "Shield hardening; minus shield_penetration."
|
|
849
|
+
},
|
|
850
|
+
"armorHardening": {
|
|
851
|
+
"type": "number",
|
|
852
|
+
"description": "Armor hardening; minus armor_penetration."
|
|
853
|
+
},
|
|
854
|
+
"armed": {
|
|
855
|
+
"type": "boolean",
|
|
856
|
+
"description": "Panel DPD > 0; when false both stages x the unarmed weight."
|
|
857
|
+
},
|
|
858
|
+
"isStarbase": {
|
|
859
|
+
"type": "boolean",
|
|
860
|
+
"description": "Starbase or megastructure; x starbase weight unless it is the current main target."
|
|
861
|
+
},
|
|
862
|
+
"isCurrentMainTarget": {
|
|
863
|
+
"type": "boolean",
|
|
864
|
+
"description": "Already the ship main target: x1.1 stickiness unless targetFocus is true."
|
|
865
|
+
},
|
|
866
|
+
"isRecentNonLatest": {
|
|
867
|
+
"type": "boolean",
|
|
868
|
+
"description": "Recent-target memory, not the latest entry: x recent-target penalizer."
|
|
869
|
+
}
|
|
870
|
+
},
|
|
871
|
+
"required": [
|
|
872
|
+
"sizeMultiplier",
|
|
873
|
+
"evasion",
|
|
874
|
+
"distance",
|
|
875
|
+
"hull",
|
|
876
|
+
"shield",
|
|
877
|
+
"armor",
|
|
878
|
+
"armed"
|
|
879
|
+
],
|
|
880
|
+
"additionalProperties": false
|
|
881
|
+
},
|
|
882
|
+
"defines": {
|
|
883
|
+
"type": "object",
|
|
884
|
+
"description": "Optional define overrides; omitted keys keep vanilla. Keys: sizeSlope, sizeMax, trackingMult, evasionWeight, lowHealthThreshold, lowHealthWeight, distanceWeight, distanceWeightMin, unarmedWeight, starbaseWeight, avoidMinShipSize, avoidThreshold, randomWeight, currentTargetMultiplier, recentTargetPenalizer. Every effective value is echoed in the result.",
|
|
885
|
+
"additionalProperties": {
|
|
886
|
+
"type": "number"
|
|
887
|
+
}
|
|
888
|
+
},
|
|
889
|
+
"rho": {
|
|
890
|
+
"type": "number",
|
|
891
|
+
"description": "Battle-start random in [0,1); preset weight = 1 + rho + mult. Default 0."
|
|
892
|
+
},
|
|
893
|
+
"targetWeightMultModifier": {
|
|
894
|
+
"type": "number",
|
|
895
|
+
"description": "ship_target_weight_mult modifier (ship_sizes, auras), e.g. 0.5."
|
|
896
|
+
},
|
|
897
|
+
"randomRoll": {
|
|
898
|
+
"type": "number",
|
|
899
|
+
"description": "Random perturbation r in [0,1); used only when useRandom is true."
|
|
900
|
+
},
|
|
901
|
+
"useRandom": {
|
|
902
|
+
"type": "boolean",
|
|
903
|
+
"description": "Engine default is true (up to 4x). Default false for reproducible results."
|
|
904
|
+
},
|
|
905
|
+
"fleetHasHittable": {
|
|
906
|
+
"type": "boolean",
|
|
907
|
+
"description": "Veto needs at least one hittable ship in the target fleet. Default false."
|
|
908
|
+
},
|
|
909
|
+
"targetFocus": {
|
|
910
|
+
"type": "boolean",
|
|
911
|
+
"description": "target_focus = spread (engine 1): drops x1.1 stickiness, throttle 50 ticks. Default false."
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
"required": [
|
|
915
|
+
"attacker",
|
|
916
|
+
"weapon",
|
|
917
|
+
"target"
|
|
918
|
+
],
|
|
919
|
+
"additionalProperties": false
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
"registry": {
|
|
923
|
+
"name": "query_targeting_weight",
|
|
924
|
+
"isWrite": false,
|
|
925
|
+
"isReadOnly": true,
|
|
926
|
+
"effect": "workspace_read",
|
|
927
|
+
"riskLevel": 0,
|
|
928
|
+
"concurrencyClass": "parallel"
|
|
929
|
+
}
|
|
930
|
+
},
|
|
721
931
|
{
|
|
722
932
|
"tool": {
|
|
723
933
|
"name": "query_localisation_index",
|
|
@@ -1363,5 +1573,2798 @@ exports.GENERATED_MCP_TOOLS = [
|
|
|
1363
1573
|
"riskLevel": 0,
|
|
1364
1574
|
"concurrencyClass": "lsp-limited"
|
|
1365
1575
|
}
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
"tool": {
|
|
1579
|
+
"name": "get_ide_context",
|
|
1580
|
+
"description": "Read the active VS Code IDE state: the active text editor file, languageId, cursor position, selection range/text, open dirty buffers, active diagnostics on the current file, and currently open CWTools visual editor panels (GUI Preview, Entity Preview, Particle Preview, Solar System Preview, Tech Tree, Event Chain, Targeting Weight).",
|
|
1581
|
+
"inputSchema": {
|
|
1582
|
+
"type": "object",
|
|
1583
|
+
"properties": {
|
|
1584
|
+
"includeSelectionText": {
|
|
1585
|
+
"type": "boolean",
|
|
1586
|
+
"description": "Whether to include the selected text in the active editor (bounded to 4000 chars). Defaults to true."
|
|
1587
|
+
},
|
|
1588
|
+
"includeActiveFileDiagnostics": {
|
|
1589
|
+
"type": "boolean",
|
|
1590
|
+
"description": "Whether to include current diagnostics for the active editor file. Defaults to true."
|
|
1591
|
+
}
|
|
1592
|
+
},
|
|
1593
|
+
"required": []
|
|
1594
|
+
}
|
|
1595
|
+
},
|
|
1596
|
+
"registry": {
|
|
1597
|
+
"name": "get_ide_context",
|
|
1598
|
+
"isWrite": false,
|
|
1599
|
+
"isReadOnly": true,
|
|
1600
|
+
"effect": "workspace_read",
|
|
1601
|
+
"riskLevel": 0,
|
|
1602
|
+
"concurrencyClass": "parallel"
|
|
1603
|
+
}
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
"tool": {
|
|
1607
|
+
"name": "open_in_visual_editor",
|
|
1608
|
+
"description": "Open or refresh a Paradox file in the appropriate CWTools VS Code visual editor panel (gui -> GUI Preview, entity -> 3D Entity Preview, particle -> Particle Preview, solar_system -> Solar System Preview, tech_tree -> Tech Tree Visualizer, event_chain -> Event Chain Visualizer, target_weight -> Targeting Weight Analyzer, auto -> infer from file path/extension) and return the parsed structural summary of the opened view.",
|
|
1609
|
+
"inputSchema": {
|
|
1610
|
+
"type": "object",
|
|
1611
|
+
"properties": {
|
|
1612
|
+
"file": {
|
|
1613
|
+
"type": "string",
|
|
1614
|
+
"description": "Workspace-relative or absolute path to the file to open/preview. Optional for tech_tree, event_chain, or target_weight when using the active editor."
|
|
1615
|
+
},
|
|
1616
|
+
"editor": {
|
|
1617
|
+
"type": "string",
|
|
1618
|
+
"enum": [
|
|
1619
|
+
"auto",
|
|
1620
|
+
"gui",
|
|
1621
|
+
"entity",
|
|
1622
|
+
"particle",
|
|
1623
|
+
"solar_system",
|
|
1624
|
+
"tech_tree",
|
|
1625
|
+
"event_chain",
|
|
1626
|
+
"target_weight"
|
|
1627
|
+
],
|
|
1628
|
+
"description": "Visual editor to open. Defaults to auto (inferred from file extension and directory)."
|
|
1629
|
+
},
|
|
1630
|
+
"line": {
|
|
1631
|
+
"type": "integer",
|
|
1632
|
+
"minimum": 1,
|
|
1633
|
+
"description": "Optional 1-based line number to focus (used by event_chain or target_weight cursor seeding)."
|
|
1634
|
+
}
|
|
1635
|
+
},
|
|
1636
|
+
"required": []
|
|
1637
|
+
}
|
|
1638
|
+
},
|
|
1639
|
+
"registry": {
|
|
1640
|
+
"name": "open_in_visual_editor",
|
|
1641
|
+
"isWrite": false,
|
|
1642
|
+
"isReadOnly": true,
|
|
1643
|
+
"effect": "workspace_read",
|
|
1644
|
+
"riskLevel": 0,
|
|
1645
|
+
"concurrencyClass": "parallel"
|
|
1646
|
+
}
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
"tool": {
|
|
1650
|
+
"name": "write_localisation",
|
|
1651
|
+
"description": "MANDATORY for all .yml localisation file operations. Safely write PDXScript localisation entries. filePath MUST be a real localisation path under localisation/ or localization/; never write localisation YAML into .cwtools scratch/topic folders. This tool handles BOM encoding, key formatting, and correct insertion/update automatically. For new files, creates them with proper BOM + language header. For existing files, appends new keys and updates existing ones by exact key match. NEVER use edit_file, replace_lines, or write_file for .yml localisation files - ALWAYS use this tool instead.",
|
|
1652
|
+
"inputSchema": {
|
|
1653
|
+
"type": "object",
|
|
1654
|
+
"properties": {
|
|
1655
|
+
"filePath": {
|
|
1656
|
+
"type": "string",
|
|
1657
|
+
"description": "Path to the real .yml localisation file (absolute or relative to workspace), under localisation/ or localization/. Do not use .cwtools paths."
|
|
1658
|
+
},
|
|
1659
|
+
"language": {
|
|
1660
|
+
"type": "string",
|
|
1661
|
+
"description": "Language header, e.g. \"l_english\", \"l_simp_chinese\", \"l_braz_por\". Used when creating a new file."
|
|
1662
|
+
},
|
|
1663
|
+
"languages": {
|
|
1664
|
+
"type": "array",
|
|
1665
|
+
"items": {
|
|
1666
|
+
"type": "string"
|
|
1667
|
+
},
|
|
1668
|
+
"description": "Optional explicit multi-file transaction: write the same entries into each sibling language file (same directory + filename stem with the language tag). All targets are validated first; if any target is invalid the whole transaction is rejected with no partial writes."
|
|
1669
|
+
},
|
|
1670
|
+
"entries": {
|
|
1671
|
+
"type": "array",
|
|
1672
|
+
"description": "List of localisation key-value pairs to write",
|
|
1673
|
+
"items": {
|
|
1674
|
+
"type": "object",
|
|
1675
|
+
"properties": {
|
|
1676
|
+
"key": {
|
|
1677
|
+
"type": "string",
|
|
1678
|
+
"description": "Localisation key, e.g. \"my_event.1.title\""
|
|
1679
|
+
},
|
|
1680
|
+
"value": {
|
|
1681
|
+
"type": "string",
|
|
1682
|
+
"description": "Localisation value text. Use \\n for in-game line breaks. Do NOT include surrounding quotes."
|
|
1683
|
+
},
|
|
1684
|
+
"number": {
|
|
1685
|
+
"type": "integer",
|
|
1686
|
+
"description": "Version number after the colon (default: 0). Usually 0."
|
|
1687
|
+
},
|
|
1688
|
+
"comment": {
|
|
1689
|
+
"type": "string",
|
|
1690
|
+
"description": "Optional section header comment to insert before this entry, e.g. \"### Site 1 Events ###\""
|
|
1691
|
+
}
|
|
1692
|
+
},
|
|
1693
|
+
"required": [
|
|
1694
|
+
"key",
|
|
1695
|
+
"value"
|
|
1696
|
+
]
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1699
|
+
},
|
|
1700
|
+
"required": [
|
|
1701
|
+
"filePath",
|
|
1702
|
+
"language",
|
|
1703
|
+
"entries"
|
|
1704
|
+
]
|
|
1705
|
+
}
|
|
1706
|
+
},
|
|
1707
|
+
"registry": {
|
|
1708
|
+
"name": "write_localisation",
|
|
1709
|
+
"isWrite": true,
|
|
1710
|
+
"isReadOnly": false,
|
|
1711
|
+
"effect": "workspace_write",
|
|
1712
|
+
"riskLevel": 2,
|
|
1713
|
+
"concurrencyClass": "per-file-write"
|
|
1714
|
+
}
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"tool": {
|
|
1718
|
+
"name": "typed_pdx_write",
|
|
1719
|
+
"description": "Build a bounded typed Stellaris/PDXScript candidate without accepting raw script text. Preview by default; stage stores the candidate in the active candidate transaction.",
|
|
1720
|
+
"inputSchema": {
|
|
1721
|
+
"type": "object",
|
|
1722
|
+
"properties": {
|
|
1723
|
+
"filePath": {
|
|
1724
|
+
"type": "string",
|
|
1725
|
+
"description": "Absolute workspace .txt file path."
|
|
1726
|
+
},
|
|
1727
|
+
"expectedHash": {
|
|
1728
|
+
"type": "string",
|
|
1729
|
+
"pattern": "^[a-fA-F0-9]{64}$",
|
|
1730
|
+
"description": "Optional SHA-256 of the source content; stale candidates are rejected."
|
|
1731
|
+
},
|
|
1732
|
+
"mode": {
|
|
1733
|
+
"type": "string",
|
|
1734
|
+
"enum": [
|
|
1735
|
+
"preview",
|
|
1736
|
+
"stage"
|
|
1737
|
+
],
|
|
1738
|
+
"description": "Preview is read-only; stage requires an active candidate transaction."
|
|
1739
|
+
},
|
|
1740
|
+
"transactionId": {
|
|
1741
|
+
"type": "string",
|
|
1742
|
+
"description": "Required when mode=stage."
|
|
1743
|
+
},
|
|
1744
|
+
"operation": {
|
|
1745
|
+
"oneOf": [
|
|
1746
|
+
{
|
|
1747
|
+
"type": "object",
|
|
1748
|
+
"properties": {
|
|
1749
|
+
"operation": {
|
|
1750
|
+
"const": "clone_definition"
|
|
1751
|
+
},
|
|
1752
|
+
"source": {
|
|
1753
|
+
"type": "string"
|
|
1754
|
+
},
|
|
1755
|
+
"newSymbol": {
|
|
1756
|
+
"type": "string",
|
|
1757
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
1758
|
+
},
|
|
1759
|
+
"overrides": {
|
|
1760
|
+
"type": "array",
|
|
1761
|
+
"maxItems": 64,
|
|
1762
|
+
"items": {
|
|
1763
|
+
"oneOf": [
|
|
1764
|
+
{
|
|
1765
|
+
"type": "object",
|
|
1766
|
+
"properties": {
|
|
1767
|
+
"path": {
|
|
1768
|
+
"type": "array",
|
|
1769
|
+
"minItems": 1,
|
|
1770
|
+
"maxItems": 8,
|
|
1771
|
+
"items": {
|
|
1772
|
+
"type": "object",
|
|
1773
|
+
"properties": {
|
|
1774
|
+
"key": {
|
|
1775
|
+
"type": "string",
|
|
1776
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
1777
|
+
},
|
|
1778
|
+
"occurrence": {
|
|
1779
|
+
"type": "integer",
|
|
1780
|
+
"minimum": 1
|
|
1781
|
+
}
|
|
1782
|
+
},
|
|
1783
|
+
"required": [
|
|
1784
|
+
"key",
|
|
1785
|
+
"occurrence"
|
|
1786
|
+
],
|
|
1787
|
+
"additionalProperties": false
|
|
1788
|
+
}
|
|
1789
|
+
},
|
|
1790
|
+
"value": {
|
|
1791
|
+
"oneOf": [
|
|
1792
|
+
{
|
|
1793
|
+
"type": "object",
|
|
1794
|
+
"properties": {
|
|
1795
|
+
"kind": {
|
|
1796
|
+
"const": "identifier"
|
|
1797
|
+
},
|
|
1798
|
+
"value": {
|
|
1799
|
+
"type": "string",
|
|
1800
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
1801
|
+
}
|
|
1802
|
+
},
|
|
1803
|
+
"required": [
|
|
1804
|
+
"kind",
|
|
1805
|
+
"value"
|
|
1806
|
+
],
|
|
1807
|
+
"additionalProperties": false
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
"type": "object",
|
|
1811
|
+
"properties": {
|
|
1812
|
+
"kind": {
|
|
1813
|
+
"const": "string"
|
|
1814
|
+
},
|
|
1815
|
+
"value": {
|
|
1816
|
+
"type": "string",
|
|
1817
|
+
"maxLength": 4096,
|
|
1818
|
+
"pattern": "^[^\u0000-\u001f]*$"
|
|
1819
|
+
}
|
|
1820
|
+
},
|
|
1821
|
+
"required": [
|
|
1822
|
+
"kind",
|
|
1823
|
+
"value"
|
|
1824
|
+
],
|
|
1825
|
+
"additionalProperties": false
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
"type": "object",
|
|
1829
|
+
"properties": {
|
|
1830
|
+
"kind": {
|
|
1831
|
+
"const": "number"
|
|
1832
|
+
},
|
|
1833
|
+
"value": {
|
|
1834
|
+
"type": "number"
|
|
1835
|
+
}
|
|
1836
|
+
},
|
|
1837
|
+
"required": [
|
|
1838
|
+
"kind",
|
|
1839
|
+
"value"
|
|
1840
|
+
],
|
|
1841
|
+
"additionalProperties": false
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
"type": "object",
|
|
1845
|
+
"properties": {
|
|
1846
|
+
"kind": {
|
|
1847
|
+
"const": "boolean"
|
|
1848
|
+
},
|
|
1849
|
+
"value": {
|
|
1850
|
+
"type": "boolean"
|
|
1851
|
+
}
|
|
1852
|
+
},
|
|
1853
|
+
"required": [
|
|
1854
|
+
"kind",
|
|
1855
|
+
"value"
|
|
1856
|
+
],
|
|
1857
|
+
"additionalProperties": false
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
"type": "object",
|
|
1861
|
+
"properties": {
|
|
1862
|
+
"kind": {
|
|
1863
|
+
"const": "list"
|
|
1864
|
+
},
|
|
1865
|
+
"values": {
|
|
1866
|
+
"type": "array",
|
|
1867
|
+
"maxItems": 256,
|
|
1868
|
+
"items": {
|
|
1869
|
+
"type": "object",
|
|
1870
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
1871
|
+
"properties": {
|
|
1872
|
+
"kind": {
|
|
1873
|
+
"type": "string",
|
|
1874
|
+
"enum": [
|
|
1875
|
+
"identifier",
|
|
1876
|
+
"string",
|
|
1877
|
+
"number",
|
|
1878
|
+
"boolean",
|
|
1879
|
+
"list",
|
|
1880
|
+
"block"
|
|
1881
|
+
]
|
|
1882
|
+
}
|
|
1883
|
+
},
|
|
1884
|
+
"required": [
|
|
1885
|
+
"kind"
|
|
1886
|
+
],
|
|
1887
|
+
"additionalProperties": true
|
|
1888
|
+
}
|
|
1889
|
+
}
|
|
1890
|
+
},
|
|
1891
|
+
"required": [
|
|
1892
|
+
"kind",
|
|
1893
|
+
"values"
|
|
1894
|
+
],
|
|
1895
|
+
"additionalProperties": false
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
"type": "object",
|
|
1899
|
+
"properties": {
|
|
1900
|
+
"kind": {
|
|
1901
|
+
"const": "block"
|
|
1902
|
+
},
|
|
1903
|
+
"entries": {
|
|
1904
|
+
"type": "array",
|
|
1905
|
+
"maxItems": 256,
|
|
1906
|
+
"items": {
|
|
1907
|
+
"type": "object",
|
|
1908
|
+
"properties": {
|
|
1909
|
+
"key": {
|
|
1910
|
+
"type": "string",
|
|
1911
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
1912
|
+
},
|
|
1913
|
+
"value": {
|
|
1914
|
+
"type": "object",
|
|
1915
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
1916
|
+
"properties": {
|
|
1917
|
+
"kind": {
|
|
1918
|
+
"type": "string",
|
|
1919
|
+
"enum": [
|
|
1920
|
+
"identifier",
|
|
1921
|
+
"string",
|
|
1922
|
+
"number",
|
|
1923
|
+
"boolean",
|
|
1924
|
+
"list",
|
|
1925
|
+
"block"
|
|
1926
|
+
]
|
|
1927
|
+
}
|
|
1928
|
+
},
|
|
1929
|
+
"required": [
|
|
1930
|
+
"kind"
|
|
1931
|
+
],
|
|
1932
|
+
"additionalProperties": true
|
|
1933
|
+
}
|
|
1934
|
+
},
|
|
1935
|
+
"required": [
|
|
1936
|
+
"key",
|
|
1937
|
+
"value"
|
|
1938
|
+
],
|
|
1939
|
+
"additionalProperties": false
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1942
|
+
},
|
|
1943
|
+
"required": [
|
|
1944
|
+
"kind",
|
|
1945
|
+
"entries"
|
|
1946
|
+
],
|
|
1947
|
+
"additionalProperties": false
|
|
1948
|
+
}
|
|
1949
|
+
]
|
|
1950
|
+
},
|
|
1951
|
+
"action": {
|
|
1952
|
+
"const": "set"
|
|
1953
|
+
}
|
|
1954
|
+
},
|
|
1955
|
+
"required": [
|
|
1956
|
+
"action",
|
|
1957
|
+
"path",
|
|
1958
|
+
"value"
|
|
1959
|
+
],
|
|
1960
|
+
"additionalProperties": false
|
|
1961
|
+
},
|
|
1962
|
+
{
|
|
1963
|
+
"type": "object",
|
|
1964
|
+
"properties": {
|
|
1965
|
+
"path": {
|
|
1966
|
+
"type": "array",
|
|
1967
|
+
"minItems": 1,
|
|
1968
|
+
"maxItems": 8,
|
|
1969
|
+
"items": {
|
|
1970
|
+
"type": "object",
|
|
1971
|
+
"properties": {
|
|
1972
|
+
"key": {
|
|
1973
|
+
"type": "string",
|
|
1974
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
1975
|
+
},
|
|
1976
|
+
"occurrence": {
|
|
1977
|
+
"type": "integer",
|
|
1978
|
+
"minimum": 1
|
|
1979
|
+
}
|
|
1980
|
+
},
|
|
1981
|
+
"required": [
|
|
1982
|
+
"key",
|
|
1983
|
+
"occurrence"
|
|
1984
|
+
],
|
|
1985
|
+
"additionalProperties": false
|
|
1986
|
+
}
|
|
1987
|
+
},
|
|
1988
|
+
"action": {
|
|
1989
|
+
"const": "delete"
|
|
1990
|
+
}
|
|
1991
|
+
},
|
|
1992
|
+
"required": [
|
|
1993
|
+
"action",
|
|
1994
|
+
"path"
|
|
1995
|
+
],
|
|
1996
|
+
"additionalProperties": false
|
|
1997
|
+
},
|
|
1998
|
+
{
|
|
1999
|
+
"type": "object",
|
|
2000
|
+
"properties": {
|
|
2001
|
+
"path": {
|
|
2002
|
+
"type": "array",
|
|
2003
|
+
"minItems": 0,
|
|
2004
|
+
"maxItems": 8,
|
|
2005
|
+
"items": {
|
|
2006
|
+
"type": "object",
|
|
2007
|
+
"properties": {
|
|
2008
|
+
"key": {
|
|
2009
|
+
"type": "string",
|
|
2010
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2011
|
+
},
|
|
2012
|
+
"occurrence": {
|
|
2013
|
+
"type": "integer",
|
|
2014
|
+
"minimum": 1
|
|
2015
|
+
}
|
|
2016
|
+
},
|
|
2017
|
+
"required": [
|
|
2018
|
+
"key",
|
|
2019
|
+
"occurrence"
|
|
2020
|
+
],
|
|
2021
|
+
"additionalProperties": false
|
|
2022
|
+
}
|
|
2023
|
+
},
|
|
2024
|
+
"entry": {
|
|
2025
|
+
"type": "object",
|
|
2026
|
+
"properties": {
|
|
2027
|
+
"key": {
|
|
2028
|
+
"type": "string",
|
|
2029
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2030
|
+
},
|
|
2031
|
+
"value": {
|
|
2032
|
+
"oneOf": [
|
|
2033
|
+
{
|
|
2034
|
+
"type": "object",
|
|
2035
|
+
"properties": {
|
|
2036
|
+
"kind": {
|
|
2037
|
+
"const": "identifier"
|
|
2038
|
+
},
|
|
2039
|
+
"value": {
|
|
2040
|
+
"type": "string",
|
|
2041
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2042
|
+
}
|
|
2043
|
+
},
|
|
2044
|
+
"required": [
|
|
2045
|
+
"kind",
|
|
2046
|
+
"value"
|
|
2047
|
+
],
|
|
2048
|
+
"additionalProperties": false
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
"type": "object",
|
|
2052
|
+
"properties": {
|
|
2053
|
+
"kind": {
|
|
2054
|
+
"const": "string"
|
|
2055
|
+
},
|
|
2056
|
+
"value": {
|
|
2057
|
+
"type": "string",
|
|
2058
|
+
"maxLength": 4096,
|
|
2059
|
+
"pattern": "^[^\u0000-\u001f]*$"
|
|
2060
|
+
}
|
|
2061
|
+
},
|
|
2062
|
+
"required": [
|
|
2063
|
+
"kind",
|
|
2064
|
+
"value"
|
|
2065
|
+
],
|
|
2066
|
+
"additionalProperties": false
|
|
2067
|
+
},
|
|
2068
|
+
{
|
|
2069
|
+
"type": "object",
|
|
2070
|
+
"properties": {
|
|
2071
|
+
"kind": {
|
|
2072
|
+
"const": "number"
|
|
2073
|
+
},
|
|
2074
|
+
"value": {
|
|
2075
|
+
"type": "number"
|
|
2076
|
+
}
|
|
2077
|
+
},
|
|
2078
|
+
"required": [
|
|
2079
|
+
"kind",
|
|
2080
|
+
"value"
|
|
2081
|
+
],
|
|
2082
|
+
"additionalProperties": false
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
"type": "object",
|
|
2086
|
+
"properties": {
|
|
2087
|
+
"kind": {
|
|
2088
|
+
"const": "boolean"
|
|
2089
|
+
},
|
|
2090
|
+
"value": {
|
|
2091
|
+
"type": "boolean"
|
|
2092
|
+
}
|
|
2093
|
+
},
|
|
2094
|
+
"required": [
|
|
2095
|
+
"kind",
|
|
2096
|
+
"value"
|
|
2097
|
+
],
|
|
2098
|
+
"additionalProperties": false
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
"type": "object",
|
|
2102
|
+
"properties": {
|
|
2103
|
+
"kind": {
|
|
2104
|
+
"const": "list"
|
|
2105
|
+
},
|
|
2106
|
+
"values": {
|
|
2107
|
+
"type": "array",
|
|
2108
|
+
"maxItems": 256,
|
|
2109
|
+
"items": {
|
|
2110
|
+
"type": "object",
|
|
2111
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
2112
|
+
"properties": {
|
|
2113
|
+
"kind": {
|
|
2114
|
+
"type": "string",
|
|
2115
|
+
"enum": [
|
|
2116
|
+
"identifier",
|
|
2117
|
+
"string",
|
|
2118
|
+
"number",
|
|
2119
|
+
"boolean",
|
|
2120
|
+
"list",
|
|
2121
|
+
"block"
|
|
2122
|
+
]
|
|
2123
|
+
}
|
|
2124
|
+
},
|
|
2125
|
+
"required": [
|
|
2126
|
+
"kind"
|
|
2127
|
+
],
|
|
2128
|
+
"additionalProperties": true
|
|
2129
|
+
}
|
|
2130
|
+
}
|
|
2131
|
+
},
|
|
2132
|
+
"required": [
|
|
2133
|
+
"kind",
|
|
2134
|
+
"values"
|
|
2135
|
+
],
|
|
2136
|
+
"additionalProperties": false
|
|
2137
|
+
},
|
|
2138
|
+
{
|
|
2139
|
+
"type": "object",
|
|
2140
|
+
"properties": {
|
|
2141
|
+
"kind": {
|
|
2142
|
+
"const": "block"
|
|
2143
|
+
},
|
|
2144
|
+
"entries": {
|
|
2145
|
+
"type": "array",
|
|
2146
|
+
"maxItems": 256,
|
|
2147
|
+
"items": {
|
|
2148
|
+
"type": "object",
|
|
2149
|
+
"properties": {
|
|
2150
|
+
"key": {
|
|
2151
|
+
"type": "string",
|
|
2152
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2153
|
+
},
|
|
2154
|
+
"value": {
|
|
2155
|
+
"type": "object",
|
|
2156
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
2157
|
+
"properties": {
|
|
2158
|
+
"kind": {
|
|
2159
|
+
"type": "string",
|
|
2160
|
+
"enum": [
|
|
2161
|
+
"identifier",
|
|
2162
|
+
"string",
|
|
2163
|
+
"number",
|
|
2164
|
+
"boolean",
|
|
2165
|
+
"list",
|
|
2166
|
+
"block"
|
|
2167
|
+
]
|
|
2168
|
+
}
|
|
2169
|
+
},
|
|
2170
|
+
"required": [
|
|
2171
|
+
"kind"
|
|
2172
|
+
],
|
|
2173
|
+
"additionalProperties": true
|
|
2174
|
+
}
|
|
2175
|
+
},
|
|
2176
|
+
"required": [
|
|
2177
|
+
"key",
|
|
2178
|
+
"value"
|
|
2179
|
+
],
|
|
2180
|
+
"additionalProperties": false
|
|
2181
|
+
}
|
|
2182
|
+
}
|
|
2183
|
+
},
|
|
2184
|
+
"required": [
|
|
2185
|
+
"kind",
|
|
2186
|
+
"entries"
|
|
2187
|
+
],
|
|
2188
|
+
"additionalProperties": false
|
|
2189
|
+
}
|
|
2190
|
+
]
|
|
2191
|
+
}
|
|
2192
|
+
},
|
|
2193
|
+
"required": [
|
|
2194
|
+
"key",
|
|
2195
|
+
"value"
|
|
2196
|
+
],
|
|
2197
|
+
"additionalProperties": false
|
|
2198
|
+
},
|
|
2199
|
+
"action": {
|
|
2200
|
+
"const": "append"
|
|
2201
|
+
}
|
|
2202
|
+
},
|
|
2203
|
+
"required": [
|
|
2204
|
+
"action",
|
|
2205
|
+
"path",
|
|
2206
|
+
"entry"
|
|
2207
|
+
],
|
|
2208
|
+
"additionalProperties": false
|
|
2209
|
+
}
|
|
2210
|
+
]
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
},
|
|
2214
|
+
"required": [
|
|
2215
|
+
"operation",
|
|
2216
|
+
"source",
|
|
2217
|
+
"newSymbol"
|
|
2218
|
+
],
|
|
2219
|
+
"additionalProperties": false
|
|
2220
|
+
},
|
|
2221
|
+
{
|
|
2222
|
+
"type": "object",
|
|
2223
|
+
"properties": {
|
|
2224
|
+
"operation": {
|
|
2225
|
+
"const": "add_event_call"
|
|
2226
|
+
},
|
|
2227
|
+
"target": {
|
|
2228
|
+
"type": "string"
|
|
2229
|
+
},
|
|
2230
|
+
"callType": {
|
|
2231
|
+
"type": "string",
|
|
2232
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2233
|
+
},
|
|
2234
|
+
"eventId": {
|
|
2235
|
+
"type": "string",
|
|
2236
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2237
|
+
},
|
|
2238
|
+
"containerPath": {
|
|
2239
|
+
"type": "array",
|
|
2240
|
+
"maxItems": 8,
|
|
2241
|
+
"items": {
|
|
2242
|
+
"type": "string"
|
|
2243
|
+
}
|
|
2244
|
+
},
|
|
2245
|
+
"days": {
|
|
2246
|
+
"type": "integer",
|
|
2247
|
+
"minimum": 0
|
|
2248
|
+
}
|
|
2249
|
+
},
|
|
2250
|
+
"required": [
|
|
2251
|
+
"operation",
|
|
2252
|
+
"target",
|
|
2253
|
+
"callType",
|
|
2254
|
+
"eventId"
|
|
2255
|
+
],
|
|
2256
|
+
"additionalProperties": false
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
"type": "object",
|
|
2260
|
+
"properties": {
|
|
2261
|
+
"operation": {
|
|
2262
|
+
"const": "add_event_option"
|
|
2263
|
+
},
|
|
2264
|
+
"target": {
|
|
2265
|
+
"type": "string"
|
|
2266
|
+
},
|
|
2267
|
+
"name": {
|
|
2268
|
+
"type": "string",
|
|
2269
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2270
|
+
},
|
|
2271
|
+
"fields": {
|
|
2272
|
+
"type": "array",
|
|
2273
|
+
"maxItems": 256,
|
|
2274
|
+
"items": {
|
|
2275
|
+
"type": "object",
|
|
2276
|
+
"properties": {
|
|
2277
|
+
"key": {
|
|
2278
|
+
"type": "string",
|
|
2279
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2280
|
+
},
|
|
2281
|
+
"value": {
|
|
2282
|
+
"oneOf": [
|
|
2283
|
+
{
|
|
2284
|
+
"type": "object",
|
|
2285
|
+
"properties": {
|
|
2286
|
+
"kind": {
|
|
2287
|
+
"const": "identifier"
|
|
2288
|
+
},
|
|
2289
|
+
"value": {
|
|
2290
|
+
"type": "string",
|
|
2291
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2292
|
+
}
|
|
2293
|
+
},
|
|
2294
|
+
"required": [
|
|
2295
|
+
"kind",
|
|
2296
|
+
"value"
|
|
2297
|
+
],
|
|
2298
|
+
"additionalProperties": false
|
|
2299
|
+
},
|
|
2300
|
+
{
|
|
2301
|
+
"type": "object",
|
|
2302
|
+
"properties": {
|
|
2303
|
+
"kind": {
|
|
2304
|
+
"const": "string"
|
|
2305
|
+
},
|
|
2306
|
+
"value": {
|
|
2307
|
+
"type": "string",
|
|
2308
|
+
"maxLength": 4096,
|
|
2309
|
+
"pattern": "^[^\u0000-\u001f]*$"
|
|
2310
|
+
}
|
|
2311
|
+
},
|
|
2312
|
+
"required": [
|
|
2313
|
+
"kind",
|
|
2314
|
+
"value"
|
|
2315
|
+
],
|
|
2316
|
+
"additionalProperties": false
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
"type": "object",
|
|
2320
|
+
"properties": {
|
|
2321
|
+
"kind": {
|
|
2322
|
+
"const": "number"
|
|
2323
|
+
},
|
|
2324
|
+
"value": {
|
|
2325
|
+
"type": "number"
|
|
2326
|
+
}
|
|
2327
|
+
},
|
|
2328
|
+
"required": [
|
|
2329
|
+
"kind",
|
|
2330
|
+
"value"
|
|
2331
|
+
],
|
|
2332
|
+
"additionalProperties": false
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
"type": "object",
|
|
2336
|
+
"properties": {
|
|
2337
|
+
"kind": {
|
|
2338
|
+
"const": "boolean"
|
|
2339
|
+
},
|
|
2340
|
+
"value": {
|
|
2341
|
+
"type": "boolean"
|
|
2342
|
+
}
|
|
2343
|
+
},
|
|
2344
|
+
"required": [
|
|
2345
|
+
"kind",
|
|
2346
|
+
"value"
|
|
2347
|
+
],
|
|
2348
|
+
"additionalProperties": false
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
"type": "object",
|
|
2352
|
+
"properties": {
|
|
2353
|
+
"kind": {
|
|
2354
|
+
"const": "list"
|
|
2355
|
+
},
|
|
2356
|
+
"values": {
|
|
2357
|
+
"type": "array",
|
|
2358
|
+
"maxItems": 256,
|
|
2359
|
+
"items": {
|
|
2360
|
+
"type": "object",
|
|
2361
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
2362
|
+
"properties": {
|
|
2363
|
+
"kind": {
|
|
2364
|
+
"type": "string",
|
|
2365
|
+
"enum": [
|
|
2366
|
+
"identifier",
|
|
2367
|
+
"string",
|
|
2368
|
+
"number",
|
|
2369
|
+
"boolean",
|
|
2370
|
+
"list",
|
|
2371
|
+
"block"
|
|
2372
|
+
]
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
"required": [
|
|
2376
|
+
"kind"
|
|
2377
|
+
],
|
|
2378
|
+
"additionalProperties": true
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
},
|
|
2382
|
+
"required": [
|
|
2383
|
+
"kind",
|
|
2384
|
+
"values"
|
|
2385
|
+
],
|
|
2386
|
+
"additionalProperties": false
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"type": "object",
|
|
2390
|
+
"properties": {
|
|
2391
|
+
"kind": {
|
|
2392
|
+
"const": "block"
|
|
2393
|
+
},
|
|
2394
|
+
"entries": {
|
|
2395
|
+
"type": "array",
|
|
2396
|
+
"maxItems": 256,
|
|
2397
|
+
"items": {
|
|
2398
|
+
"type": "object",
|
|
2399
|
+
"properties": {
|
|
2400
|
+
"key": {
|
|
2401
|
+
"type": "string",
|
|
2402
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2403
|
+
},
|
|
2404
|
+
"value": {
|
|
2405
|
+
"type": "object",
|
|
2406
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
2407
|
+
"properties": {
|
|
2408
|
+
"kind": {
|
|
2409
|
+
"type": "string",
|
|
2410
|
+
"enum": [
|
|
2411
|
+
"identifier",
|
|
2412
|
+
"string",
|
|
2413
|
+
"number",
|
|
2414
|
+
"boolean",
|
|
2415
|
+
"list",
|
|
2416
|
+
"block"
|
|
2417
|
+
]
|
|
2418
|
+
}
|
|
2419
|
+
},
|
|
2420
|
+
"required": [
|
|
2421
|
+
"kind"
|
|
2422
|
+
],
|
|
2423
|
+
"additionalProperties": true
|
|
2424
|
+
}
|
|
2425
|
+
},
|
|
2426
|
+
"required": [
|
|
2427
|
+
"key",
|
|
2428
|
+
"value"
|
|
2429
|
+
],
|
|
2430
|
+
"additionalProperties": false
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
},
|
|
2434
|
+
"required": [
|
|
2435
|
+
"kind",
|
|
2436
|
+
"entries"
|
|
2437
|
+
],
|
|
2438
|
+
"additionalProperties": false
|
|
2439
|
+
}
|
|
2440
|
+
]
|
|
2441
|
+
}
|
|
2442
|
+
},
|
|
2443
|
+
"required": [
|
|
2444
|
+
"key",
|
|
2445
|
+
"value"
|
|
2446
|
+
],
|
|
2447
|
+
"additionalProperties": false
|
|
2448
|
+
}
|
|
2449
|
+
}
|
|
2450
|
+
},
|
|
2451
|
+
"required": [
|
|
2452
|
+
"operation",
|
|
2453
|
+
"target",
|
|
2454
|
+
"name"
|
|
2455
|
+
],
|
|
2456
|
+
"additionalProperties": false
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
"type": "object",
|
|
2460
|
+
"properties": {
|
|
2461
|
+
"operation": {
|
|
2462
|
+
"const": "append_trigger_condition"
|
|
2463
|
+
},
|
|
2464
|
+
"target": {
|
|
2465
|
+
"type": "string"
|
|
2466
|
+
},
|
|
2467
|
+
"condition": {
|
|
2468
|
+
"type": "object",
|
|
2469
|
+
"properties": {
|
|
2470
|
+
"key": {
|
|
2471
|
+
"type": "string",
|
|
2472
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2473
|
+
},
|
|
2474
|
+
"value": {
|
|
2475
|
+
"oneOf": [
|
|
2476
|
+
{
|
|
2477
|
+
"type": "object",
|
|
2478
|
+
"properties": {
|
|
2479
|
+
"kind": {
|
|
2480
|
+
"const": "identifier"
|
|
2481
|
+
},
|
|
2482
|
+
"value": {
|
|
2483
|
+
"type": "string",
|
|
2484
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2485
|
+
}
|
|
2486
|
+
},
|
|
2487
|
+
"required": [
|
|
2488
|
+
"kind",
|
|
2489
|
+
"value"
|
|
2490
|
+
],
|
|
2491
|
+
"additionalProperties": false
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
"type": "object",
|
|
2495
|
+
"properties": {
|
|
2496
|
+
"kind": {
|
|
2497
|
+
"const": "string"
|
|
2498
|
+
},
|
|
2499
|
+
"value": {
|
|
2500
|
+
"type": "string",
|
|
2501
|
+
"maxLength": 4096,
|
|
2502
|
+
"pattern": "^[^\u0000-\u001f]*$"
|
|
2503
|
+
}
|
|
2504
|
+
},
|
|
2505
|
+
"required": [
|
|
2506
|
+
"kind",
|
|
2507
|
+
"value"
|
|
2508
|
+
],
|
|
2509
|
+
"additionalProperties": false
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
"type": "object",
|
|
2513
|
+
"properties": {
|
|
2514
|
+
"kind": {
|
|
2515
|
+
"const": "number"
|
|
2516
|
+
},
|
|
2517
|
+
"value": {
|
|
2518
|
+
"type": "number"
|
|
2519
|
+
}
|
|
2520
|
+
},
|
|
2521
|
+
"required": [
|
|
2522
|
+
"kind",
|
|
2523
|
+
"value"
|
|
2524
|
+
],
|
|
2525
|
+
"additionalProperties": false
|
|
2526
|
+
},
|
|
2527
|
+
{
|
|
2528
|
+
"type": "object",
|
|
2529
|
+
"properties": {
|
|
2530
|
+
"kind": {
|
|
2531
|
+
"const": "boolean"
|
|
2532
|
+
},
|
|
2533
|
+
"value": {
|
|
2534
|
+
"type": "boolean"
|
|
2535
|
+
}
|
|
2536
|
+
},
|
|
2537
|
+
"required": [
|
|
2538
|
+
"kind",
|
|
2539
|
+
"value"
|
|
2540
|
+
],
|
|
2541
|
+
"additionalProperties": false
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
"type": "object",
|
|
2545
|
+
"properties": {
|
|
2546
|
+
"kind": {
|
|
2547
|
+
"const": "list"
|
|
2548
|
+
},
|
|
2549
|
+
"values": {
|
|
2550
|
+
"type": "array",
|
|
2551
|
+
"maxItems": 256,
|
|
2552
|
+
"items": {
|
|
2553
|
+
"type": "object",
|
|
2554
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
2555
|
+
"properties": {
|
|
2556
|
+
"kind": {
|
|
2557
|
+
"type": "string",
|
|
2558
|
+
"enum": [
|
|
2559
|
+
"identifier",
|
|
2560
|
+
"string",
|
|
2561
|
+
"number",
|
|
2562
|
+
"boolean",
|
|
2563
|
+
"list",
|
|
2564
|
+
"block"
|
|
2565
|
+
]
|
|
2566
|
+
}
|
|
2567
|
+
},
|
|
2568
|
+
"required": [
|
|
2569
|
+
"kind"
|
|
2570
|
+
],
|
|
2571
|
+
"additionalProperties": true
|
|
2572
|
+
}
|
|
2573
|
+
}
|
|
2574
|
+
},
|
|
2575
|
+
"required": [
|
|
2576
|
+
"kind",
|
|
2577
|
+
"values"
|
|
2578
|
+
],
|
|
2579
|
+
"additionalProperties": false
|
|
2580
|
+
},
|
|
2581
|
+
{
|
|
2582
|
+
"type": "object",
|
|
2583
|
+
"properties": {
|
|
2584
|
+
"kind": {
|
|
2585
|
+
"const": "block"
|
|
2586
|
+
},
|
|
2587
|
+
"entries": {
|
|
2588
|
+
"type": "array",
|
|
2589
|
+
"maxItems": 256,
|
|
2590
|
+
"items": {
|
|
2591
|
+
"type": "object",
|
|
2592
|
+
"properties": {
|
|
2593
|
+
"key": {
|
|
2594
|
+
"type": "string",
|
|
2595
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2596
|
+
},
|
|
2597
|
+
"value": {
|
|
2598
|
+
"type": "object",
|
|
2599
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
2600
|
+
"properties": {
|
|
2601
|
+
"kind": {
|
|
2602
|
+
"type": "string",
|
|
2603
|
+
"enum": [
|
|
2604
|
+
"identifier",
|
|
2605
|
+
"string",
|
|
2606
|
+
"number",
|
|
2607
|
+
"boolean",
|
|
2608
|
+
"list",
|
|
2609
|
+
"block"
|
|
2610
|
+
]
|
|
2611
|
+
}
|
|
2612
|
+
},
|
|
2613
|
+
"required": [
|
|
2614
|
+
"kind"
|
|
2615
|
+
],
|
|
2616
|
+
"additionalProperties": true
|
|
2617
|
+
}
|
|
2618
|
+
},
|
|
2619
|
+
"required": [
|
|
2620
|
+
"key",
|
|
2621
|
+
"value"
|
|
2622
|
+
],
|
|
2623
|
+
"additionalProperties": false
|
|
2624
|
+
}
|
|
2625
|
+
}
|
|
2626
|
+
},
|
|
2627
|
+
"required": [
|
|
2628
|
+
"kind",
|
|
2629
|
+
"entries"
|
|
2630
|
+
],
|
|
2631
|
+
"additionalProperties": false
|
|
2632
|
+
}
|
|
2633
|
+
]
|
|
2634
|
+
}
|
|
2635
|
+
},
|
|
2636
|
+
"required": [
|
|
2637
|
+
"key",
|
|
2638
|
+
"value"
|
|
2639
|
+
],
|
|
2640
|
+
"additionalProperties": false
|
|
2641
|
+
},
|
|
2642
|
+
"containerPath": {
|
|
2643
|
+
"type": "array",
|
|
2644
|
+
"maxItems": 8,
|
|
2645
|
+
"items": {
|
|
2646
|
+
"type": "string"
|
|
2647
|
+
}
|
|
2648
|
+
}
|
|
2649
|
+
},
|
|
2650
|
+
"required": [
|
|
2651
|
+
"operation",
|
|
2652
|
+
"target",
|
|
2653
|
+
"condition"
|
|
2654
|
+
],
|
|
2655
|
+
"additionalProperties": false
|
|
2656
|
+
},
|
|
2657
|
+
{
|
|
2658
|
+
"type": "object",
|
|
2659
|
+
"properties": {
|
|
2660
|
+
"operation": {
|
|
2661
|
+
"const": "instantiate_inline_script"
|
|
2662
|
+
},
|
|
2663
|
+
"target": {
|
|
2664
|
+
"type": "string"
|
|
2665
|
+
},
|
|
2666
|
+
"script": {
|
|
2667
|
+
"type": "string",
|
|
2668
|
+
"pattern": "^[A-Za-z0-9_.:@/-]+$"
|
|
2669
|
+
},
|
|
2670
|
+
"arguments": {
|
|
2671
|
+
"type": "array",
|
|
2672
|
+
"maxItems": 256,
|
|
2673
|
+
"items": {
|
|
2674
|
+
"type": "object",
|
|
2675
|
+
"properties": {
|
|
2676
|
+
"key": {
|
|
2677
|
+
"type": "string",
|
|
2678
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2679
|
+
},
|
|
2680
|
+
"value": {
|
|
2681
|
+
"oneOf": [
|
|
2682
|
+
{
|
|
2683
|
+
"type": "object",
|
|
2684
|
+
"properties": {
|
|
2685
|
+
"kind": {
|
|
2686
|
+
"const": "identifier"
|
|
2687
|
+
},
|
|
2688
|
+
"value": {
|
|
2689
|
+
"type": "string",
|
|
2690
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2691
|
+
}
|
|
2692
|
+
},
|
|
2693
|
+
"required": [
|
|
2694
|
+
"kind",
|
|
2695
|
+
"value"
|
|
2696
|
+
],
|
|
2697
|
+
"additionalProperties": false
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
"type": "object",
|
|
2701
|
+
"properties": {
|
|
2702
|
+
"kind": {
|
|
2703
|
+
"const": "string"
|
|
2704
|
+
},
|
|
2705
|
+
"value": {
|
|
2706
|
+
"type": "string",
|
|
2707
|
+
"maxLength": 4096,
|
|
2708
|
+
"pattern": "^[^\u0000-\u001f]*$"
|
|
2709
|
+
}
|
|
2710
|
+
},
|
|
2711
|
+
"required": [
|
|
2712
|
+
"kind",
|
|
2713
|
+
"value"
|
|
2714
|
+
],
|
|
2715
|
+
"additionalProperties": false
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"type": "object",
|
|
2719
|
+
"properties": {
|
|
2720
|
+
"kind": {
|
|
2721
|
+
"const": "number"
|
|
2722
|
+
},
|
|
2723
|
+
"value": {
|
|
2724
|
+
"type": "number"
|
|
2725
|
+
}
|
|
2726
|
+
},
|
|
2727
|
+
"required": [
|
|
2728
|
+
"kind",
|
|
2729
|
+
"value"
|
|
2730
|
+
],
|
|
2731
|
+
"additionalProperties": false
|
|
2732
|
+
},
|
|
2733
|
+
{
|
|
2734
|
+
"type": "object",
|
|
2735
|
+
"properties": {
|
|
2736
|
+
"kind": {
|
|
2737
|
+
"const": "boolean"
|
|
2738
|
+
},
|
|
2739
|
+
"value": {
|
|
2740
|
+
"type": "boolean"
|
|
2741
|
+
}
|
|
2742
|
+
},
|
|
2743
|
+
"required": [
|
|
2744
|
+
"kind",
|
|
2745
|
+
"value"
|
|
2746
|
+
],
|
|
2747
|
+
"additionalProperties": false
|
|
2748
|
+
},
|
|
2749
|
+
{
|
|
2750
|
+
"type": "object",
|
|
2751
|
+
"properties": {
|
|
2752
|
+
"kind": {
|
|
2753
|
+
"const": "list"
|
|
2754
|
+
},
|
|
2755
|
+
"values": {
|
|
2756
|
+
"type": "array",
|
|
2757
|
+
"maxItems": 256,
|
|
2758
|
+
"items": {
|
|
2759
|
+
"type": "object",
|
|
2760
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
2761
|
+
"properties": {
|
|
2762
|
+
"kind": {
|
|
2763
|
+
"type": "string",
|
|
2764
|
+
"enum": [
|
|
2765
|
+
"identifier",
|
|
2766
|
+
"string",
|
|
2767
|
+
"number",
|
|
2768
|
+
"boolean",
|
|
2769
|
+
"list",
|
|
2770
|
+
"block"
|
|
2771
|
+
]
|
|
2772
|
+
}
|
|
2773
|
+
},
|
|
2774
|
+
"required": [
|
|
2775
|
+
"kind"
|
|
2776
|
+
],
|
|
2777
|
+
"additionalProperties": true
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2780
|
+
},
|
|
2781
|
+
"required": [
|
|
2782
|
+
"kind",
|
|
2783
|
+
"values"
|
|
2784
|
+
],
|
|
2785
|
+
"additionalProperties": false
|
|
2786
|
+
},
|
|
2787
|
+
{
|
|
2788
|
+
"type": "object",
|
|
2789
|
+
"properties": {
|
|
2790
|
+
"kind": {
|
|
2791
|
+
"const": "block"
|
|
2792
|
+
},
|
|
2793
|
+
"entries": {
|
|
2794
|
+
"type": "array",
|
|
2795
|
+
"maxItems": 256,
|
|
2796
|
+
"items": {
|
|
2797
|
+
"type": "object",
|
|
2798
|
+
"properties": {
|
|
2799
|
+
"key": {
|
|
2800
|
+
"type": "string",
|
|
2801
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2802
|
+
},
|
|
2803
|
+
"value": {
|
|
2804
|
+
"type": "object",
|
|
2805
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
2806
|
+
"properties": {
|
|
2807
|
+
"kind": {
|
|
2808
|
+
"type": "string",
|
|
2809
|
+
"enum": [
|
|
2810
|
+
"identifier",
|
|
2811
|
+
"string",
|
|
2812
|
+
"number",
|
|
2813
|
+
"boolean",
|
|
2814
|
+
"list",
|
|
2815
|
+
"block"
|
|
2816
|
+
]
|
|
2817
|
+
}
|
|
2818
|
+
},
|
|
2819
|
+
"required": [
|
|
2820
|
+
"kind"
|
|
2821
|
+
],
|
|
2822
|
+
"additionalProperties": true
|
|
2823
|
+
}
|
|
2824
|
+
},
|
|
2825
|
+
"required": [
|
|
2826
|
+
"key",
|
|
2827
|
+
"value"
|
|
2828
|
+
],
|
|
2829
|
+
"additionalProperties": false
|
|
2830
|
+
}
|
|
2831
|
+
}
|
|
2832
|
+
},
|
|
2833
|
+
"required": [
|
|
2834
|
+
"kind",
|
|
2835
|
+
"entries"
|
|
2836
|
+
],
|
|
2837
|
+
"additionalProperties": false
|
|
2838
|
+
}
|
|
2839
|
+
]
|
|
2840
|
+
}
|
|
2841
|
+
},
|
|
2842
|
+
"required": [
|
|
2843
|
+
"key",
|
|
2844
|
+
"value"
|
|
2845
|
+
],
|
|
2846
|
+
"additionalProperties": false
|
|
2847
|
+
}
|
|
2848
|
+
},
|
|
2849
|
+
"containerPath": {
|
|
2850
|
+
"type": "array",
|
|
2851
|
+
"maxItems": 8,
|
|
2852
|
+
"items": {
|
|
2853
|
+
"type": "string"
|
|
2854
|
+
}
|
|
2855
|
+
}
|
|
2856
|
+
},
|
|
2857
|
+
"required": [
|
|
2858
|
+
"operation",
|
|
2859
|
+
"target",
|
|
2860
|
+
"script"
|
|
2861
|
+
],
|
|
2862
|
+
"additionalProperties": false
|
|
2863
|
+
},
|
|
2864
|
+
{
|
|
2865
|
+
"type": "object",
|
|
2866
|
+
"properties": {
|
|
2867
|
+
"operation": {
|
|
2868
|
+
"const": "set_definition_field"
|
|
2869
|
+
},
|
|
2870
|
+
"target": {
|
|
2871
|
+
"type": "string"
|
|
2872
|
+
},
|
|
2873
|
+
"path": {
|
|
2874
|
+
"type": "array",
|
|
2875
|
+
"minItems": 1,
|
|
2876
|
+
"maxItems": 8,
|
|
2877
|
+
"items": {
|
|
2878
|
+
"type": "object",
|
|
2879
|
+
"properties": {
|
|
2880
|
+
"key": {
|
|
2881
|
+
"type": "string",
|
|
2882
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2883
|
+
},
|
|
2884
|
+
"occurrence": {
|
|
2885
|
+
"type": "integer",
|
|
2886
|
+
"minimum": 1
|
|
2887
|
+
}
|
|
2888
|
+
},
|
|
2889
|
+
"required": [
|
|
2890
|
+
"key",
|
|
2891
|
+
"occurrence"
|
|
2892
|
+
],
|
|
2893
|
+
"additionalProperties": false
|
|
2894
|
+
}
|
|
2895
|
+
},
|
|
2896
|
+
"value": {
|
|
2897
|
+
"oneOf": [
|
|
2898
|
+
{
|
|
2899
|
+
"type": "object",
|
|
2900
|
+
"properties": {
|
|
2901
|
+
"kind": {
|
|
2902
|
+
"const": "identifier"
|
|
2903
|
+
},
|
|
2904
|
+
"value": {
|
|
2905
|
+
"type": "string",
|
|
2906
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
2907
|
+
}
|
|
2908
|
+
},
|
|
2909
|
+
"required": [
|
|
2910
|
+
"kind",
|
|
2911
|
+
"value"
|
|
2912
|
+
],
|
|
2913
|
+
"additionalProperties": false
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
"type": "object",
|
|
2917
|
+
"properties": {
|
|
2918
|
+
"kind": {
|
|
2919
|
+
"const": "string"
|
|
2920
|
+
},
|
|
2921
|
+
"value": {
|
|
2922
|
+
"type": "string",
|
|
2923
|
+
"maxLength": 4096,
|
|
2924
|
+
"pattern": "^[^\u0000-\u001f]*$"
|
|
2925
|
+
}
|
|
2926
|
+
},
|
|
2927
|
+
"required": [
|
|
2928
|
+
"kind",
|
|
2929
|
+
"value"
|
|
2930
|
+
],
|
|
2931
|
+
"additionalProperties": false
|
|
2932
|
+
},
|
|
2933
|
+
{
|
|
2934
|
+
"type": "object",
|
|
2935
|
+
"properties": {
|
|
2936
|
+
"kind": {
|
|
2937
|
+
"const": "number"
|
|
2938
|
+
},
|
|
2939
|
+
"value": {
|
|
2940
|
+
"type": "number"
|
|
2941
|
+
}
|
|
2942
|
+
},
|
|
2943
|
+
"required": [
|
|
2944
|
+
"kind",
|
|
2945
|
+
"value"
|
|
2946
|
+
],
|
|
2947
|
+
"additionalProperties": false
|
|
2948
|
+
},
|
|
2949
|
+
{
|
|
2950
|
+
"type": "object",
|
|
2951
|
+
"properties": {
|
|
2952
|
+
"kind": {
|
|
2953
|
+
"const": "boolean"
|
|
2954
|
+
},
|
|
2955
|
+
"value": {
|
|
2956
|
+
"type": "boolean"
|
|
2957
|
+
}
|
|
2958
|
+
},
|
|
2959
|
+
"required": [
|
|
2960
|
+
"kind",
|
|
2961
|
+
"value"
|
|
2962
|
+
],
|
|
2963
|
+
"additionalProperties": false
|
|
2964
|
+
},
|
|
2965
|
+
{
|
|
2966
|
+
"type": "object",
|
|
2967
|
+
"properties": {
|
|
2968
|
+
"kind": {
|
|
2969
|
+
"const": "list"
|
|
2970
|
+
},
|
|
2971
|
+
"values": {
|
|
2972
|
+
"type": "array",
|
|
2973
|
+
"maxItems": 256,
|
|
2974
|
+
"items": {
|
|
2975
|
+
"type": "object",
|
|
2976
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
2977
|
+
"properties": {
|
|
2978
|
+
"kind": {
|
|
2979
|
+
"type": "string",
|
|
2980
|
+
"enum": [
|
|
2981
|
+
"identifier",
|
|
2982
|
+
"string",
|
|
2983
|
+
"number",
|
|
2984
|
+
"boolean",
|
|
2985
|
+
"list",
|
|
2986
|
+
"block"
|
|
2987
|
+
]
|
|
2988
|
+
}
|
|
2989
|
+
},
|
|
2990
|
+
"required": [
|
|
2991
|
+
"kind"
|
|
2992
|
+
],
|
|
2993
|
+
"additionalProperties": true
|
|
2994
|
+
}
|
|
2995
|
+
}
|
|
2996
|
+
},
|
|
2997
|
+
"required": [
|
|
2998
|
+
"kind",
|
|
2999
|
+
"values"
|
|
3000
|
+
],
|
|
3001
|
+
"additionalProperties": false
|
|
3002
|
+
},
|
|
3003
|
+
{
|
|
3004
|
+
"type": "object",
|
|
3005
|
+
"properties": {
|
|
3006
|
+
"kind": {
|
|
3007
|
+
"const": "block"
|
|
3008
|
+
},
|
|
3009
|
+
"entries": {
|
|
3010
|
+
"type": "array",
|
|
3011
|
+
"maxItems": 256,
|
|
3012
|
+
"items": {
|
|
3013
|
+
"type": "object",
|
|
3014
|
+
"properties": {
|
|
3015
|
+
"key": {
|
|
3016
|
+
"type": "string",
|
|
3017
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3018
|
+
},
|
|
3019
|
+
"value": {
|
|
3020
|
+
"type": "object",
|
|
3021
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
3022
|
+
"properties": {
|
|
3023
|
+
"kind": {
|
|
3024
|
+
"type": "string",
|
|
3025
|
+
"enum": [
|
|
3026
|
+
"identifier",
|
|
3027
|
+
"string",
|
|
3028
|
+
"number",
|
|
3029
|
+
"boolean",
|
|
3030
|
+
"list",
|
|
3031
|
+
"block"
|
|
3032
|
+
]
|
|
3033
|
+
}
|
|
3034
|
+
},
|
|
3035
|
+
"required": [
|
|
3036
|
+
"kind"
|
|
3037
|
+
],
|
|
3038
|
+
"additionalProperties": true
|
|
3039
|
+
}
|
|
3040
|
+
},
|
|
3041
|
+
"required": [
|
|
3042
|
+
"key",
|
|
3043
|
+
"value"
|
|
3044
|
+
],
|
|
3045
|
+
"additionalProperties": false
|
|
3046
|
+
}
|
|
3047
|
+
}
|
|
3048
|
+
},
|
|
3049
|
+
"required": [
|
|
3050
|
+
"kind",
|
|
3051
|
+
"entries"
|
|
3052
|
+
],
|
|
3053
|
+
"additionalProperties": false
|
|
3054
|
+
}
|
|
3055
|
+
]
|
|
3056
|
+
}
|
|
3057
|
+
},
|
|
3058
|
+
"required": [
|
|
3059
|
+
"operation",
|
|
3060
|
+
"target",
|
|
3061
|
+
"path",
|
|
3062
|
+
"value"
|
|
3063
|
+
],
|
|
3064
|
+
"additionalProperties": false
|
|
3065
|
+
},
|
|
3066
|
+
{
|
|
3067
|
+
"type": "object",
|
|
3068
|
+
"properties": {
|
|
3069
|
+
"operation": {
|
|
3070
|
+
"const": "delete_definition_field"
|
|
3071
|
+
},
|
|
3072
|
+
"target": {
|
|
3073
|
+
"type": "string"
|
|
3074
|
+
},
|
|
3075
|
+
"path": {
|
|
3076
|
+
"type": "array",
|
|
3077
|
+
"minItems": 1,
|
|
3078
|
+
"maxItems": 8,
|
|
3079
|
+
"items": {
|
|
3080
|
+
"type": "object",
|
|
3081
|
+
"properties": {
|
|
3082
|
+
"key": {
|
|
3083
|
+
"type": "string",
|
|
3084
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3085
|
+
},
|
|
3086
|
+
"occurrence": {
|
|
3087
|
+
"type": "integer",
|
|
3088
|
+
"minimum": 1
|
|
3089
|
+
}
|
|
3090
|
+
},
|
|
3091
|
+
"required": [
|
|
3092
|
+
"key",
|
|
3093
|
+
"occurrence"
|
|
3094
|
+
],
|
|
3095
|
+
"additionalProperties": false
|
|
3096
|
+
}
|
|
3097
|
+
}
|
|
3098
|
+
},
|
|
3099
|
+
"required": [
|
|
3100
|
+
"operation",
|
|
3101
|
+
"target",
|
|
3102
|
+
"path"
|
|
3103
|
+
],
|
|
3104
|
+
"additionalProperties": false
|
|
3105
|
+
},
|
|
3106
|
+
{
|
|
3107
|
+
"type": "object",
|
|
3108
|
+
"properties": {
|
|
3109
|
+
"operation": {
|
|
3110
|
+
"const": "add_definition_field"
|
|
3111
|
+
},
|
|
3112
|
+
"target": {
|
|
3113
|
+
"type": "string"
|
|
3114
|
+
},
|
|
3115
|
+
"path": {
|
|
3116
|
+
"type": "array",
|
|
3117
|
+
"minItems": 0,
|
|
3118
|
+
"maxItems": 8,
|
|
3119
|
+
"items": {
|
|
3120
|
+
"type": "object",
|
|
3121
|
+
"properties": {
|
|
3122
|
+
"key": {
|
|
3123
|
+
"type": "string",
|
|
3124
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3125
|
+
},
|
|
3126
|
+
"occurrence": {
|
|
3127
|
+
"type": "integer",
|
|
3128
|
+
"minimum": 1
|
|
3129
|
+
}
|
|
3130
|
+
},
|
|
3131
|
+
"required": [
|
|
3132
|
+
"key",
|
|
3133
|
+
"occurrence"
|
|
3134
|
+
],
|
|
3135
|
+
"additionalProperties": false
|
|
3136
|
+
}
|
|
3137
|
+
},
|
|
3138
|
+
"entry": {
|
|
3139
|
+
"type": "object",
|
|
3140
|
+
"properties": {
|
|
3141
|
+
"key": {
|
|
3142
|
+
"type": "string",
|
|
3143
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3144
|
+
},
|
|
3145
|
+
"value": {
|
|
3146
|
+
"oneOf": [
|
|
3147
|
+
{
|
|
3148
|
+
"type": "object",
|
|
3149
|
+
"properties": {
|
|
3150
|
+
"kind": {
|
|
3151
|
+
"const": "identifier"
|
|
3152
|
+
},
|
|
3153
|
+
"value": {
|
|
3154
|
+
"type": "string",
|
|
3155
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3156
|
+
}
|
|
3157
|
+
},
|
|
3158
|
+
"required": [
|
|
3159
|
+
"kind",
|
|
3160
|
+
"value"
|
|
3161
|
+
],
|
|
3162
|
+
"additionalProperties": false
|
|
3163
|
+
},
|
|
3164
|
+
{
|
|
3165
|
+
"type": "object",
|
|
3166
|
+
"properties": {
|
|
3167
|
+
"kind": {
|
|
3168
|
+
"const": "string"
|
|
3169
|
+
},
|
|
3170
|
+
"value": {
|
|
3171
|
+
"type": "string",
|
|
3172
|
+
"maxLength": 4096,
|
|
3173
|
+
"pattern": "^[^\u0000-\u001f]*$"
|
|
3174
|
+
}
|
|
3175
|
+
},
|
|
3176
|
+
"required": [
|
|
3177
|
+
"kind",
|
|
3178
|
+
"value"
|
|
3179
|
+
],
|
|
3180
|
+
"additionalProperties": false
|
|
3181
|
+
},
|
|
3182
|
+
{
|
|
3183
|
+
"type": "object",
|
|
3184
|
+
"properties": {
|
|
3185
|
+
"kind": {
|
|
3186
|
+
"const": "number"
|
|
3187
|
+
},
|
|
3188
|
+
"value": {
|
|
3189
|
+
"type": "number"
|
|
3190
|
+
}
|
|
3191
|
+
},
|
|
3192
|
+
"required": [
|
|
3193
|
+
"kind",
|
|
3194
|
+
"value"
|
|
3195
|
+
],
|
|
3196
|
+
"additionalProperties": false
|
|
3197
|
+
},
|
|
3198
|
+
{
|
|
3199
|
+
"type": "object",
|
|
3200
|
+
"properties": {
|
|
3201
|
+
"kind": {
|
|
3202
|
+
"const": "boolean"
|
|
3203
|
+
},
|
|
3204
|
+
"value": {
|
|
3205
|
+
"type": "boolean"
|
|
3206
|
+
}
|
|
3207
|
+
},
|
|
3208
|
+
"required": [
|
|
3209
|
+
"kind",
|
|
3210
|
+
"value"
|
|
3211
|
+
],
|
|
3212
|
+
"additionalProperties": false
|
|
3213
|
+
},
|
|
3214
|
+
{
|
|
3215
|
+
"type": "object",
|
|
3216
|
+
"properties": {
|
|
3217
|
+
"kind": {
|
|
3218
|
+
"const": "list"
|
|
3219
|
+
},
|
|
3220
|
+
"values": {
|
|
3221
|
+
"type": "array",
|
|
3222
|
+
"maxItems": 256,
|
|
3223
|
+
"items": {
|
|
3224
|
+
"type": "object",
|
|
3225
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
3226
|
+
"properties": {
|
|
3227
|
+
"kind": {
|
|
3228
|
+
"type": "string",
|
|
3229
|
+
"enum": [
|
|
3230
|
+
"identifier",
|
|
3231
|
+
"string",
|
|
3232
|
+
"number",
|
|
3233
|
+
"boolean",
|
|
3234
|
+
"list",
|
|
3235
|
+
"block"
|
|
3236
|
+
]
|
|
3237
|
+
}
|
|
3238
|
+
},
|
|
3239
|
+
"required": [
|
|
3240
|
+
"kind"
|
|
3241
|
+
],
|
|
3242
|
+
"additionalProperties": true
|
|
3243
|
+
}
|
|
3244
|
+
}
|
|
3245
|
+
},
|
|
3246
|
+
"required": [
|
|
3247
|
+
"kind",
|
|
3248
|
+
"values"
|
|
3249
|
+
],
|
|
3250
|
+
"additionalProperties": false
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"type": "object",
|
|
3254
|
+
"properties": {
|
|
3255
|
+
"kind": {
|
|
3256
|
+
"const": "block"
|
|
3257
|
+
},
|
|
3258
|
+
"entries": {
|
|
3259
|
+
"type": "array",
|
|
3260
|
+
"maxItems": 256,
|
|
3261
|
+
"items": {
|
|
3262
|
+
"type": "object",
|
|
3263
|
+
"properties": {
|
|
3264
|
+
"key": {
|
|
3265
|
+
"type": "string",
|
|
3266
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3267
|
+
},
|
|
3268
|
+
"value": {
|
|
3269
|
+
"type": "object",
|
|
3270
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
3271
|
+
"properties": {
|
|
3272
|
+
"kind": {
|
|
3273
|
+
"type": "string",
|
|
3274
|
+
"enum": [
|
|
3275
|
+
"identifier",
|
|
3276
|
+
"string",
|
|
3277
|
+
"number",
|
|
3278
|
+
"boolean",
|
|
3279
|
+
"list",
|
|
3280
|
+
"block"
|
|
3281
|
+
]
|
|
3282
|
+
}
|
|
3283
|
+
},
|
|
3284
|
+
"required": [
|
|
3285
|
+
"kind"
|
|
3286
|
+
],
|
|
3287
|
+
"additionalProperties": true
|
|
3288
|
+
}
|
|
3289
|
+
},
|
|
3290
|
+
"required": [
|
|
3291
|
+
"key",
|
|
3292
|
+
"value"
|
|
3293
|
+
],
|
|
3294
|
+
"additionalProperties": false
|
|
3295
|
+
}
|
|
3296
|
+
}
|
|
3297
|
+
},
|
|
3298
|
+
"required": [
|
|
3299
|
+
"kind",
|
|
3300
|
+
"entries"
|
|
3301
|
+
],
|
|
3302
|
+
"additionalProperties": false
|
|
3303
|
+
}
|
|
3304
|
+
]
|
|
3305
|
+
}
|
|
3306
|
+
},
|
|
3307
|
+
"required": [
|
|
3308
|
+
"key",
|
|
3309
|
+
"value"
|
|
3310
|
+
],
|
|
3311
|
+
"additionalProperties": false
|
|
3312
|
+
}
|
|
3313
|
+
},
|
|
3314
|
+
"required": [
|
|
3315
|
+
"operation",
|
|
3316
|
+
"target",
|
|
3317
|
+
"path",
|
|
3318
|
+
"entry"
|
|
3319
|
+
],
|
|
3320
|
+
"additionalProperties": false
|
|
3321
|
+
},
|
|
3322
|
+
{
|
|
3323
|
+
"type": "object",
|
|
3324
|
+
"properties": {
|
|
3325
|
+
"operation": {
|
|
3326
|
+
"const": "add_scripted_effect_call"
|
|
3327
|
+
},
|
|
3328
|
+
"target": {
|
|
3329
|
+
"type": "string"
|
|
3330
|
+
},
|
|
3331
|
+
"script": {
|
|
3332
|
+
"type": "string",
|
|
3333
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3334
|
+
},
|
|
3335
|
+
"arguments": {
|
|
3336
|
+
"type": "array",
|
|
3337
|
+
"maxItems": 256,
|
|
3338
|
+
"items": {
|
|
3339
|
+
"type": "object",
|
|
3340
|
+
"properties": {
|
|
3341
|
+
"key": {
|
|
3342
|
+
"type": "string",
|
|
3343
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3344
|
+
},
|
|
3345
|
+
"value": {
|
|
3346
|
+
"oneOf": [
|
|
3347
|
+
{
|
|
3348
|
+
"type": "object",
|
|
3349
|
+
"properties": {
|
|
3350
|
+
"kind": {
|
|
3351
|
+
"const": "identifier"
|
|
3352
|
+
},
|
|
3353
|
+
"value": {
|
|
3354
|
+
"type": "string",
|
|
3355
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3356
|
+
}
|
|
3357
|
+
},
|
|
3358
|
+
"required": [
|
|
3359
|
+
"kind",
|
|
3360
|
+
"value"
|
|
3361
|
+
],
|
|
3362
|
+
"additionalProperties": false
|
|
3363
|
+
},
|
|
3364
|
+
{
|
|
3365
|
+
"type": "object",
|
|
3366
|
+
"properties": {
|
|
3367
|
+
"kind": {
|
|
3368
|
+
"const": "string"
|
|
3369
|
+
},
|
|
3370
|
+
"value": {
|
|
3371
|
+
"type": "string",
|
|
3372
|
+
"maxLength": 4096,
|
|
3373
|
+
"pattern": "^[^\u0000-\u001f]*$"
|
|
3374
|
+
}
|
|
3375
|
+
},
|
|
3376
|
+
"required": [
|
|
3377
|
+
"kind",
|
|
3378
|
+
"value"
|
|
3379
|
+
],
|
|
3380
|
+
"additionalProperties": false
|
|
3381
|
+
},
|
|
3382
|
+
{
|
|
3383
|
+
"type": "object",
|
|
3384
|
+
"properties": {
|
|
3385
|
+
"kind": {
|
|
3386
|
+
"const": "number"
|
|
3387
|
+
},
|
|
3388
|
+
"value": {
|
|
3389
|
+
"type": "number"
|
|
3390
|
+
}
|
|
3391
|
+
},
|
|
3392
|
+
"required": [
|
|
3393
|
+
"kind",
|
|
3394
|
+
"value"
|
|
3395
|
+
],
|
|
3396
|
+
"additionalProperties": false
|
|
3397
|
+
},
|
|
3398
|
+
{
|
|
3399
|
+
"type": "object",
|
|
3400
|
+
"properties": {
|
|
3401
|
+
"kind": {
|
|
3402
|
+
"const": "boolean"
|
|
3403
|
+
},
|
|
3404
|
+
"value": {
|
|
3405
|
+
"type": "boolean"
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3408
|
+
"required": [
|
|
3409
|
+
"kind",
|
|
3410
|
+
"value"
|
|
3411
|
+
],
|
|
3412
|
+
"additionalProperties": false
|
|
3413
|
+
},
|
|
3414
|
+
{
|
|
3415
|
+
"type": "object",
|
|
3416
|
+
"properties": {
|
|
3417
|
+
"kind": {
|
|
3418
|
+
"const": "list"
|
|
3419
|
+
},
|
|
3420
|
+
"values": {
|
|
3421
|
+
"type": "array",
|
|
3422
|
+
"maxItems": 256,
|
|
3423
|
+
"items": {
|
|
3424
|
+
"type": "object",
|
|
3425
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
3426
|
+
"properties": {
|
|
3427
|
+
"kind": {
|
|
3428
|
+
"type": "string",
|
|
3429
|
+
"enum": [
|
|
3430
|
+
"identifier",
|
|
3431
|
+
"string",
|
|
3432
|
+
"number",
|
|
3433
|
+
"boolean",
|
|
3434
|
+
"list",
|
|
3435
|
+
"block"
|
|
3436
|
+
]
|
|
3437
|
+
}
|
|
3438
|
+
},
|
|
3439
|
+
"required": [
|
|
3440
|
+
"kind"
|
|
3441
|
+
],
|
|
3442
|
+
"additionalProperties": true
|
|
3443
|
+
}
|
|
3444
|
+
}
|
|
3445
|
+
},
|
|
3446
|
+
"required": [
|
|
3447
|
+
"kind",
|
|
3448
|
+
"values"
|
|
3449
|
+
],
|
|
3450
|
+
"additionalProperties": false
|
|
3451
|
+
},
|
|
3452
|
+
{
|
|
3453
|
+
"type": "object",
|
|
3454
|
+
"properties": {
|
|
3455
|
+
"kind": {
|
|
3456
|
+
"const": "block"
|
|
3457
|
+
},
|
|
3458
|
+
"entries": {
|
|
3459
|
+
"type": "array",
|
|
3460
|
+
"maxItems": 256,
|
|
3461
|
+
"items": {
|
|
3462
|
+
"type": "object",
|
|
3463
|
+
"properties": {
|
|
3464
|
+
"key": {
|
|
3465
|
+
"type": "string",
|
|
3466
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3467
|
+
},
|
|
3468
|
+
"value": {
|
|
3469
|
+
"type": "object",
|
|
3470
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
3471
|
+
"properties": {
|
|
3472
|
+
"kind": {
|
|
3473
|
+
"type": "string",
|
|
3474
|
+
"enum": [
|
|
3475
|
+
"identifier",
|
|
3476
|
+
"string",
|
|
3477
|
+
"number",
|
|
3478
|
+
"boolean",
|
|
3479
|
+
"list",
|
|
3480
|
+
"block"
|
|
3481
|
+
]
|
|
3482
|
+
}
|
|
3483
|
+
},
|
|
3484
|
+
"required": [
|
|
3485
|
+
"kind"
|
|
3486
|
+
],
|
|
3487
|
+
"additionalProperties": true
|
|
3488
|
+
}
|
|
3489
|
+
},
|
|
3490
|
+
"required": [
|
|
3491
|
+
"key",
|
|
3492
|
+
"value"
|
|
3493
|
+
],
|
|
3494
|
+
"additionalProperties": false
|
|
3495
|
+
}
|
|
3496
|
+
}
|
|
3497
|
+
},
|
|
3498
|
+
"required": [
|
|
3499
|
+
"kind",
|
|
3500
|
+
"entries"
|
|
3501
|
+
],
|
|
3502
|
+
"additionalProperties": false
|
|
3503
|
+
}
|
|
3504
|
+
]
|
|
3505
|
+
}
|
|
3506
|
+
},
|
|
3507
|
+
"required": [
|
|
3508
|
+
"key",
|
|
3509
|
+
"value"
|
|
3510
|
+
],
|
|
3511
|
+
"additionalProperties": false
|
|
3512
|
+
}
|
|
3513
|
+
},
|
|
3514
|
+
"containerPath": {
|
|
3515
|
+
"type": "array",
|
|
3516
|
+
"maxItems": 8,
|
|
3517
|
+
"items": {
|
|
3518
|
+
"type": "string"
|
|
3519
|
+
}
|
|
3520
|
+
}
|
|
3521
|
+
},
|
|
3522
|
+
"required": [
|
|
3523
|
+
"operation",
|
|
3524
|
+
"target",
|
|
3525
|
+
"script"
|
|
3526
|
+
],
|
|
3527
|
+
"additionalProperties": false
|
|
3528
|
+
},
|
|
3529
|
+
{
|
|
3530
|
+
"type": "object",
|
|
3531
|
+
"properties": {
|
|
3532
|
+
"operation": {
|
|
3533
|
+
"const": "add_scripted_trigger_call"
|
|
3534
|
+
},
|
|
3535
|
+
"target": {
|
|
3536
|
+
"type": "string"
|
|
3537
|
+
},
|
|
3538
|
+
"script": {
|
|
3539
|
+
"type": "string",
|
|
3540
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3541
|
+
},
|
|
3542
|
+
"arguments": {
|
|
3543
|
+
"type": "array",
|
|
3544
|
+
"maxItems": 256,
|
|
3545
|
+
"items": {
|
|
3546
|
+
"type": "object",
|
|
3547
|
+
"properties": {
|
|
3548
|
+
"key": {
|
|
3549
|
+
"type": "string",
|
|
3550
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3551
|
+
},
|
|
3552
|
+
"value": {
|
|
3553
|
+
"oneOf": [
|
|
3554
|
+
{
|
|
3555
|
+
"type": "object",
|
|
3556
|
+
"properties": {
|
|
3557
|
+
"kind": {
|
|
3558
|
+
"const": "identifier"
|
|
3559
|
+
},
|
|
3560
|
+
"value": {
|
|
3561
|
+
"type": "string",
|
|
3562
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3563
|
+
}
|
|
3564
|
+
},
|
|
3565
|
+
"required": [
|
|
3566
|
+
"kind",
|
|
3567
|
+
"value"
|
|
3568
|
+
],
|
|
3569
|
+
"additionalProperties": false
|
|
3570
|
+
},
|
|
3571
|
+
{
|
|
3572
|
+
"type": "object",
|
|
3573
|
+
"properties": {
|
|
3574
|
+
"kind": {
|
|
3575
|
+
"const": "string"
|
|
3576
|
+
},
|
|
3577
|
+
"value": {
|
|
3578
|
+
"type": "string",
|
|
3579
|
+
"maxLength": 4096,
|
|
3580
|
+
"pattern": "^[^\u0000-\u001f]*$"
|
|
3581
|
+
}
|
|
3582
|
+
},
|
|
3583
|
+
"required": [
|
|
3584
|
+
"kind",
|
|
3585
|
+
"value"
|
|
3586
|
+
],
|
|
3587
|
+
"additionalProperties": false
|
|
3588
|
+
},
|
|
3589
|
+
{
|
|
3590
|
+
"type": "object",
|
|
3591
|
+
"properties": {
|
|
3592
|
+
"kind": {
|
|
3593
|
+
"const": "number"
|
|
3594
|
+
},
|
|
3595
|
+
"value": {
|
|
3596
|
+
"type": "number"
|
|
3597
|
+
}
|
|
3598
|
+
},
|
|
3599
|
+
"required": [
|
|
3600
|
+
"kind",
|
|
3601
|
+
"value"
|
|
3602
|
+
],
|
|
3603
|
+
"additionalProperties": false
|
|
3604
|
+
},
|
|
3605
|
+
{
|
|
3606
|
+
"type": "object",
|
|
3607
|
+
"properties": {
|
|
3608
|
+
"kind": {
|
|
3609
|
+
"const": "boolean"
|
|
3610
|
+
},
|
|
3611
|
+
"value": {
|
|
3612
|
+
"type": "boolean"
|
|
3613
|
+
}
|
|
3614
|
+
},
|
|
3615
|
+
"required": [
|
|
3616
|
+
"kind",
|
|
3617
|
+
"value"
|
|
3618
|
+
],
|
|
3619
|
+
"additionalProperties": false
|
|
3620
|
+
},
|
|
3621
|
+
{
|
|
3622
|
+
"type": "object",
|
|
3623
|
+
"properties": {
|
|
3624
|
+
"kind": {
|
|
3625
|
+
"const": "list"
|
|
3626
|
+
},
|
|
3627
|
+
"values": {
|
|
3628
|
+
"type": "array",
|
|
3629
|
+
"maxItems": 256,
|
|
3630
|
+
"items": {
|
|
3631
|
+
"type": "object",
|
|
3632
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
3633
|
+
"properties": {
|
|
3634
|
+
"kind": {
|
|
3635
|
+
"type": "string",
|
|
3636
|
+
"enum": [
|
|
3637
|
+
"identifier",
|
|
3638
|
+
"string",
|
|
3639
|
+
"number",
|
|
3640
|
+
"boolean",
|
|
3641
|
+
"list",
|
|
3642
|
+
"block"
|
|
3643
|
+
]
|
|
3644
|
+
}
|
|
3645
|
+
},
|
|
3646
|
+
"required": [
|
|
3647
|
+
"kind"
|
|
3648
|
+
],
|
|
3649
|
+
"additionalProperties": true
|
|
3650
|
+
}
|
|
3651
|
+
}
|
|
3652
|
+
},
|
|
3653
|
+
"required": [
|
|
3654
|
+
"kind",
|
|
3655
|
+
"values"
|
|
3656
|
+
],
|
|
3657
|
+
"additionalProperties": false
|
|
3658
|
+
},
|
|
3659
|
+
{
|
|
3660
|
+
"type": "object",
|
|
3661
|
+
"properties": {
|
|
3662
|
+
"kind": {
|
|
3663
|
+
"const": "block"
|
|
3664
|
+
},
|
|
3665
|
+
"entries": {
|
|
3666
|
+
"type": "array",
|
|
3667
|
+
"maxItems": 256,
|
|
3668
|
+
"items": {
|
|
3669
|
+
"type": "object",
|
|
3670
|
+
"properties": {
|
|
3671
|
+
"key": {
|
|
3672
|
+
"type": "string",
|
|
3673
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3674
|
+
},
|
|
3675
|
+
"value": {
|
|
3676
|
+
"type": "object",
|
|
3677
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
3678
|
+
"properties": {
|
|
3679
|
+
"kind": {
|
|
3680
|
+
"type": "string",
|
|
3681
|
+
"enum": [
|
|
3682
|
+
"identifier",
|
|
3683
|
+
"string",
|
|
3684
|
+
"number",
|
|
3685
|
+
"boolean",
|
|
3686
|
+
"list",
|
|
3687
|
+
"block"
|
|
3688
|
+
]
|
|
3689
|
+
}
|
|
3690
|
+
},
|
|
3691
|
+
"required": [
|
|
3692
|
+
"kind"
|
|
3693
|
+
],
|
|
3694
|
+
"additionalProperties": true
|
|
3695
|
+
}
|
|
3696
|
+
},
|
|
3697
|
+
"required": [
|
|
3698
|
+
"key",
|
|
3699
|
+
"value"
|
|
3700
|
+
],
|
|
3701
|
+
"additionalProperties": false
|
|
3702
|
+
}
|
|
3703
|
+
}
|
|
3704
|
+
},
|
|
3705
|
+
"required": [
|
|
3706
|
+
"kind",
|
|
3707
|
+
"entries"
|
|
3708
|
+
],
|
|
3709
|
+
"additionalProperties": false
|
|
3710
|
+
}
|
|
3711
|
+
]
|
|
3712
|
+
}
|
|
3713
|
+
},
|
|
3714
|
+
"required": [
|
|
3715
|
+
"key",
|
|
3716
|
+
"value"
|
|
3717
|
+
],
|
|
3718
|
+
"additionalProperties": false
|
|
3719
|
+
}
|
|
3720
|
+
},
|
|
3721
|
+
"containerPath": {
|
|
3722
|
+
"type": "array",
|
|
3723
|
+
"maxItems": 8,
|
|
3724
|
+
"items": {
|
|
3725
|
+
"type": "string"
|
|
3726
|
+
}
|
|
3727
|
+
}
|
|
3728
|
+
},
|
|
3729
|
+
"required": [
|
|
3730
|
+
"operation",
|
|
3731
|
+
"target",
|
|
3732
|
+
"script"
|
|
3733
|
+
],
|
|
3734
|
+
"additionalProperties": false
|
|
3735
|
+
},
|
|
3736
|
+
{
|
|
3737
|
+
"type": "object",
|
|
3738
|
+
"properties": {
|
|
3739
|
+
"operation": {
|
|
3740
|
+
"const": "add_on_action_entry"
|
|
3741
|
+
},
|
|
3742
|
+
"target": {
|
|
3743
|
+
"type": "string"
|
|
3744
|
+
},
|
|
3745
|
+
"entry": {
|
|
3746
|
+
"type": "object",
|
|
3747
|
+
"properties": {
|
|
3748
|
+
"key": {
|
|
3749
|
+
"type": "string",
|
|
3750
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3751
|
+
},
|
|
3752
|
+
"value": {
|
|
3753
|
+
"oneOf": [
|
|
3754
|
+
{
|
|
3755
|
+
"type": "object",
|
|
3756
|
+
"properties": {
|
|
3757
|
+
"kind": {
|
|
3758
|
+
"const": "identifier"
|
|
3759
|
+
},
|
|
3760
|
+
"value": {
|
|
3761
|
+
"type": "string",
|
|
3762
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3763
|
+
}
|
|
3764
|
+
},
|
|
3765
|
+
"required": [
|
|
3766
|
+
"kind",
|
|
3767
|
+
"value"
|
|
3768
|
+
],
|
|
3769
|
+
"additionalProperties": false
|
|
3770
|
+
},
|
|
3771
|
+
{
|
|
3772
|
+
"type": "object",
|
|
3773
|
+
"properties": {
|
|
3774
|
+
"kind": {
|
|
3775
|
+
"const": "string"
|
|
3776
|
+
},
|
|
3777
|
+
"value": {
|
|
3778
|
+
"type": "string",
|
|
3779
|
+
"maxLength": 4096,
|
|
3780
|
+
"pattern": "^[^\u0000-\u001f]*$"
|
|
3781
|
+
}
|
|
3782
|
+
},
|
|
3783
|
+
"required": [
|
|
3784
|
+
"kind",
|
|
3785
|
+
"value"
|
|
3786
|
+
],
|
|
3787
|
+
"additionalProperties": false
|
|
3788
|
+
},
|
|
3789
|
+
{
|
|
3790
|
+
"type": "object",
|
|
3791
|
+
"properties": {
|
|
3792
|
+
"kind": {
|
|
3793
|
+
"const": "number"
|
|
3794
|
+
},
|
|
3795
|
+
"value": {
|
|
3796
|
+
"type": "number"
|
|
3797
|
+
}
|
|
3798
|
+
},
|
|
3799
|
+
"required": [
|
|
3800
|
+
"kind",
|
|
3801
|
+
"value"
|
|
3802
|
+
],
|
|
3803
|
+
"additionalProperties": false
|
|
3804
|
+
},
|
|
3805
|
+
{
|
|
3806
|
+
"type": "object",
|
|
3807
|
+
"properties": {
|
|
3808
|
+
"kind": {
|
|
3809
|
+
"const": "boolean"
|
|
3810
|
+
},
|
|
3811
|
+
"value": {
|
|
3812
|
+
"type": "boolean"
|
|
3813
|
+
}
|
|
3814
|
+
},
|
|
3815
|
+
"required": [
|
|
3816
|
+
"kind",
|
|
3817
|
+
"value"
|
|
3818
|
+
],
|
|
3819
|
+
"additionalProperties": false
|
|
3820
|
+
},
|
|
3821
|
+
{
|
|
3822
|
+
"type": "object",
|
|
3823
|
+
"properties": {
|
|
3824
|
+
"kind": {
|
|
3825
|
+
"const": "list"
|
|
3826
|
+
},
|
|
3827
|
+
"values": {
|
|
3828
|
+
"type": "array",
|
|
3829
|
+
"maxItems": 256,
|
|
3830
|
+
"items": {
|
|
3831
|
+
"type": "object",
|
|
3832
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
3833
|
+
"properties": {
|
|
3834
|
+
"kind": {
|
|
3835
|
+
"type": "string",
|
|
3836
|
+
"enum": [
|
|
3837
|
+
"identifier",
|
|
3838
|
+
"string",
|
|
3839
|
+
"number",
|
|
3840
|
+
"boolean",
|
|
3841
|
+
"list",
|
|
3842
|
+
"block"
|
|
3843
|
+
]
|
|
3844
|
+
}
|
|
3845
|
+
},
|
|
3846
|
+
"required": [
|
|
3847
|
+
"kind"
|
|
3848
|
+
],
|
|
3849
|
+
"additionalProperties": true
|
|
3850
|
+
}
|
|
3851
|
+
}
|
|
3852
|
+
},
|
|
3853
|
+
"required": [
|
|
3854
|
+
"kind",
|
|
3855
|
+
"values"
|
|
3856
|
+
],
|
|
3857
|
+
"additionalProperties": false
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
"type": "object",
|
|
3861
|
+
"properties": {
|
|
3862
|
+
"kind": {
|
|
3863
|
+
"const": "block"
|
|
3864
|
+
},
|
|
3865
|
+
"entries": {
|
|
3866
|
+
"type": "array",
|
|
3867
|
+
"maxItems": 256,
|
|
3868
|
+
"items": {
|
|
3869
|
+
"type": "object",
|
|
3870
|
+
"properties": {
|
|
3871
|
+
"key": {
|
|
3872
|
+
"type": "string",
|
|
3873
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3874
|
+
},
|
|
3875
|
+
"value": {
|
|
3876
|
+
"type": "object",
|
|
3877
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
3878
|
+
"properties": {
|
|
3879
|
+
"kind": {
|
|
3880
|
+
"type": "string",
|
|
3881
|
+
"enum": [
|
|
3882
|
+
"identifier",
|
|
3883
|
+
"string",
|
|
3884
|
+
"number",
|
|
3885
|
+
"boolean",
|
|
3886
|
+
"list",
|
|
3887
|
+
"block"
|
|
3888
|
+
]
|
|
3889
|
+
}
|
|
3890
|
+
},
|
|
3891
|
+
"required": [
|
|
3892
|
+
"kind"
|
|
3893
|
+
],
|
|
3894
|
+
"additionalProperties": true
|
|
3895
|
+
}
|
|
3896
|
+
},
|
|
3897
|
+
"required": [
|
|
3898
|
+
"key",
|
|
3899
|
+
"value"
|
|
3900
|
+
],
|
|
3901
|
+
"additionalProperties": false
|
|
3902
|
+
}
|
|
3903
|
+
}
|
|
3904
|
+
},
|
|
3905
|
+
"required": [
|
|
3906
|
+
"kind",
|
|
3907
|
+
"entries"
|
|
3908
|
+
],
|
|
3909
|
+
"additionalProperties": false
|
|
3910
|
+
}
|
|
3911
|
+
]
|
|
3912
|
+
}
|
|
3913
|
+
},
|
|
3914
|
+
"required": [
|
|
3915
|
+
"key",
|
|
3916
|
+
"value"
|
|
3917
|
+
],
|
|
3918
|
+
"additionalProperties": false
|
|
3919
|
+
}
|
|
3920
|
+
},
|
|
3921
|
+
"required": [
|
|
3922
|
+
"operation",
|
|
3923
|
+
"target",
|
|
3924
|
+
"entry"
|
|
3925
|
+
],
|
|
3926
|
+
"additionalProperties": false
|
|
3927
|
+
},
|
|
3928
|
+
{
|
|
3929
|
+
"type": "object",
|
|
3930
|
+
"properties": {
|
|
3931
|
+
"operation": {
|
|
3932
|
+
"const": "bind_event_target"
|
|
3933
|
+
},
|
|
3934
|
+
"target": {
|
|
3935
|
+
"type": "string"
|
|
3936
|
+
},
|
|
3937
|
+
"eventTarget": {
|
|
3938
|
+
"type": "string",
|
|
3939
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3940
|
+
},
|
|
3941
|
+
"containerPath": {
|
|
3942
|
+
"type": "array",
|
|
3943
|
+
"maxItems": 8,
|
|
3944
|
+
"items": {
|
|
3945
|
+
"type": "string"
|
|
3946
|
+
}
|
|
3947
|
+
}
|
|
3948
|
+
},
|
|
3949
|
+
"required": [
|
|
3950
|
+
"operation",
|
|
3951
|
+
"target",
|
|
3952
|
+
"eventTarget"
|
|
3953
|
+
],
|
|
3954
|
+
"additionalProperties": false
|
|
3955
|
+
},
|
|
3956
|
+
{
|
|
3957
|
+
"type": "object",
|
|
3958
|
+
"properties": {
|
|
3959
|
+
"operation": {
|
|
3960
|
+
"const": "clear_event_target"
|
|
3961
|
+
},
|
|
3962
|
+
"target": {
|
|
3963
|
+
"type": "string"
|
|
3964
|
+
},
|
|
3965
|
+
"eventTarget": {
|
|
3966
|
+
"type": "string",
|
|
3967
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
3968
|
+
},
|
|
3969
|
+
"containerPath": {
|
|
3970
|
+
"type": "array",
|
|
3971
|
+
"maxItems": 8,
|
|
3972
|
+
"items": {
|
|
3973
|
+
"type": "string"
|
|
3974
|
+
}
|
|
3975
|
+
}
|
|
3976
|
+
},
|
|
3977
|
+
"required": [
|
|
3978
|
+
"operation",
|
|
3979
|
+
"target",
|
|
3980
|
+
"eventTarget"
|
|
3981
|
+
],
|
|
3982
|
+
"additionalProperties": false
|
|
3983
|
+
},
|
|
3984
|
+
{
|
|
3985
|
+
"type": "object",
|
|
3986
|
+
"properties": {
|
|
3987
|
+
"operation": {
|
|
3988
|
+
"const": "add_variable_transition"
|
|
3989
|
+
},
|
|
3990
|
+
"target": {
|
|
3991
|
+
"type": "string"
|
|
3992
|
+
},
|
|
3993
|
+
"transition": {
|
|
3994
|
+
"type": "string",
|
|
3995
|
+
"enum": [
|
|
3996
|
+
"set_variable",
|
|
3997
|
+
"change_variable",
|
|
3998
|
+
"multiply_variable",
|
|
3999
|
+
"divide_variable"
|
|
4000
|
+
]
|
|
4001
|
+
},
|
|
4002
|
+
"variable": {
|
|
4003
|
+
"type": "string",
|
|
4004
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
4005
|
+
},
|
|
4006
|
+
"value": {
|
|
4007
|
+
"oneOf": [
|
|
4008
|
+
{
|
|
4009
|
+
"type": "object",
|
|
4010
|
+
"properties": {
|
|
4011
|
+
"kind": {
|
|
4012
|
+
"const": "identifier"
|
|
4013
|
+
},
|
|
4014
|
+
"value": {
|
|
4015
|
+
"type": "string",
|
|
4016
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
4017
|
+
}
|
|
4018
|
+
},
|
|
4019
|
+
"required": [
|
|
4020
|
+
"kind",
|
|
4021
|
+
"value"
|
|
4022
|
+
],
|
|
4023
|
+
"additionalProperties": false
|
|
4024
|
+
},
|
|
4025
|
+
{
|
|
4026
|
+
"type": "object",
|
|
4027
|
+
"properties": {
|
|
4028
|
+
"kind": {
|
|
4029
|
+
"const": "string"
|
|
4030
|
+
},
|
|
4031
|
+
"value": {
|
|
4032
|
+
"type": "string",
|
|
4033
|
+
"maxLength": 4096,
|
|
4034
|
+
"pattern": "^[^\u0000-\u001f]*$"
|
|
4035
|
+
}
|
|
4036
|
+
},
|
|
4037
|
+
"required": [
|
|
4038
|
+
"kind",
|
|
4039
|
+
"value"
|
|
4040
|
+
],
|
|
4041
|
+
"additionalProperties": false
|
|
4042
|
+
},
|
|
4043
|
+
{
|
|
4044
|
+
"type": "object",
|
|
4045
|
+
"properties": {
|
|
4046
|
+
"kind": {
|
|
4047
|
+
"const": "number"
|
|
4048
|
+
},
|
|
4049
|
+
"value": {
|
|
4050
|
+
"type": "number"
|
|
4051
|
+
}
|
|
4052
|
+
},
|
|
4053
|
+
"required": [
|
|
4054
|
+
"kind",
|
|
4055
|
+
"value"
|
|
4056
|
+
],
|
|
4057
|
+
"additionalProperties": false
|
|
4058
|
+
},
|
|
4059
|
+
{
|
|
4060
|
+
"type": "object",
|
|
4061
|
+
"properties": {
|
|
4062
|
+
"kind": {
|
|
4063
|
+
"const": "boolean"
|
|
4064
|
+
},
|
|
4065
|
+
"value": {
|
|
4066
|
+
"type": "boolean"
|
|
4067
|
+
}
|
|
4068
|
+
},
|
|
4069
|
+
"required": [
|
|
4070
|
+
"kind",
|
|
4071
|
+
"value"
|
|
4072
|
+
],
|
|
4073
|
+
"additionalProperties": false
|
|
4074
|
+
},
|
|
4075
|
+
{
|
|
4076
|
+
"type": "object",
|
|
4077
|
+
"properties": {
|
|
4078
|
+
"kind": {
|
|
4079
|
+
"const": "list"
|
|
4080
|
+
},
|
|
4081
|
+
"values": {
|
|
4082
|
+
"type": "array",
|
|
4083
|
+
"maxItems": 256,
|
|
4084
|
+
"items": {
|
|
4085
|
+
"type": "object",
|
|
4086
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
4087
|
+
"properties": {
|
|
4088
|
+
"kind": {
|
|
4089
|
+
"type": "string",
|
|
4090
|
+
"enum": [
|
|
4091
|
+
"identifier",
|
|
4092
|
+
"string",
|
|
4093
|
+
"number",
|
|
4094
|
+
"boolean",
|
|
4095
|
+
"list",
|
|
4096
|
+
"block"
|
|
4097
|
+
]
|
|
4098
|
+
}
|
|
4099
|
+
},
|
|
4100
|
+
"required": [
|
|
4101
|
+
"kind"
|
|
4102
|
+
],
|
|
4103
|
+
"additionalProperties": true
|
|
4104
|
+
}
|
|
4105
|
+
}
|
|
4106
|
+
},
|
|
4107
|
+
"required": [
|
|
4108
|
+
"kind",
|
|
4109
|
+
"values"
|
|
4110
|
+
],
|
|
4111
|
+
"additionalProperties": false
|
|
4112
|
+
},
|
|
4113
|
+
{
|
|
4114
|
+
"type": "object",
|
|
4115
|
+
"properties": {
|
|
4116
|
+
"kind": {
|
|
4117
|
+
"const": "block"
|
|
4118
|
+
},
|
|
4119
|
+
"entries": {
|
|
4120
|
+
"type": "array",
|
|
4121
|
+
"maxItems": 256,
|
|
4122
|
+
"items": {
|
|
4123
|
+
"type": "object",
|
|
4124
|
+
"properties": {
|
|
4125
|
+
"key": {
|
|
4126
|
+
"type": "string",
|
|
4127
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:@-]*$"
|
|
4128
|
+
},
|
|
4129
|
+
"value": {
|
|
4130
|
+
"type": "object",
|
|
4131
|
+
"description": "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.",
|
|
4132
|
+
"properties": {
|
|
4133
|
+
"kind": {
|
|
4134
|
+
"type": "string",
|
|
4135
|
+
"enum": [
|
|
4136
|
+
"identifier",
|
|
4137
|
+
"string",
|
|
4138
|
+
"number",
|
|
4139
|
+
"boolean",
|
|
4140
|
+
"list",
|
|
4141
|
+
"block"
|
|
4142
|
+
]
|
|
4143
|
+
}
|
|
4144
|
+
},
|
|
4145
|
+
"required": [
|
|
4146
|
+
"kind"
|
|
4147
|
+
],
|
|
4148
|
+
"additionalProperties": true
|
|
4149
|
+
}
|
|
4150
|
+
},
|
|
4151
|
+
"required": [
|
|
4152
|
+
"key",
|
|
4153
|
+
"value"
|
|
4154
|
+
],
|
|
4155
|
+
"additionalProperties": false
|
|
4156
|
+
}
|
|
4157
|
+
}
|
|
4158
|
+
},
|
|
4159
|
+
"required": [
|
|
4160
|
+
"kind",
|
|
4161
|
+
"entries"
|
|
4162
|
+
],
|
|
4163
|
+
"additionalProperties": false
|
|
4164
|
+
}
|
|
4165
|
+
]
|
|
4166
|
+
},
|
|
4167
|
+
"containerPath": {
|
|
4168
|
+
"type": "array",
|
|
4169
|
+
"maxItems": 8,
|
|
4170
|
+
"items": {
|
|
4171
|
+
"type": "string"
|
|
4172
|
+
}
|
|
4173
|
+
}
|
|
4174
|
+
},
|
|
4175
|
+
"required": [
|
|
4176
|
+
"operation",
|
|
4177
|
+
"target",
|
|
4178
|
+
"transition",
|
|
4179
|
+
"variable",
|
|
4180
|
+
"value"
|
|
4181
|
+
],
|
|
4182
|
+
"additionalProperties": false
|
|
4183
|
+
}
|
|
4184
|
+
],
|
|
4185
|
+
"description": "One discriminated typed mutation. Raw code/oldString/newString fields are rejected."
|
|
4186
|
+
}
|
|
4187
|
+
},
|
|
4188
|
+
"required": [
|
|
4189
|
+
"filePath",
|
|
4190
|
+
"operation"
|
|
4191
|
+
],
|
|
4192
|
+
"additionalProperties": false
|
|
4193
|
+
}
|
|
4194
|
+
},
|
|
4195
|
+
"registry": {
|
|
4196
|
+
"name": "typed_pdx_write",
|
|
4197
|
+
"isWrite": true,
|
|
4198
|
+
"isReadOnly": false,
|
|
4199
|
+
"effect": "workspace_write",
|
|
4200
|
+
"riskLevel": 2,
|
|
4201
|
+
"concurrencyClass": "per-file-write"
|
|
4202
|
+
}
|
|
4203
|
+
},
|
|
4204
|
+
{
|
|
4205
|
+
"tool": {
|
|
4206
|
+
"name": "candidate_transaction",
|
|
4207
|
+
"description": "Manage one bounded candidate transaction. begin creates an overlay; validate runs host semantic evidence plus detached LSP parser/catalog validation without writing disk; commit atomically materializes validated candidates and rolls back if fresh diagnostics introduce errors; discard removes candidates.",
|
|
4208
|
+
"inputSchema": {
|
|
4209
|
+
"type": "object",
|
|
4210
|
+
"properties": {
|
|
4211
|
+
"action": {
|
|
4212
|
+
"type": "string",
|
|
4213
|
+
"enum": [
|
|
4214
|
+
"begin",
|
|
4215
|
+
"validate",
|
|
4216
|
+
"commit",
|
|
4217
|
+
"discard",
|
|
4218
|
+
"status"
|
|
4219
|
+
]
|
|
4220
|
+
},
|
|
4221
|
+
"transactionId": {
|
|
4222
|
+
"type": "string",
|
|
4223
|
+
"description": "Required after begin."
|
|
4224
|
+
},
|
|
4225
|
+
"validationPassed": {
|
|
4226
|
+
"type": "boolean",
|
|
4227
|
+
"description": "Optional explicit veto for the exact staged fingerprint. The host always runs detached overlay validation and never trusts this flag as proof."
|
|
4228
|
+
}
|
|
4229
|
+
},
|
|
4230
|
+
"required": [
|
|
4231
|
+
"action"
|
|
4232
|
+
]
|
|
4233
|
+
}
|
|
4234
|
+
},
|
|
4235
|
+
"registry": {
|
|
4236
|
+
"name": "candidate_transaction",
|
|
4237
|
+
"isWrite": true,
|
|
4238
|
+
"isReadOnly": false,
|
|
4239
|
+
"effect": "workspace_write",
|
|
4240
|
+
"riskLevel": 2,
|
|
4241
|
+
"concurrencyClass": "per-file-write"
|
|
4242
|
+
}
|
|
4243
|
+
},
|
|
4244
|
+
{
|
|
4245
|
+
"tool": {
|
|
4246
|
+
"name": "convert_image_to_dds",
|
|
4247
|
+
"description": "Convert a PNG/JPG/TGA image to DDS format (required by Clausewitz engine for icons, sprites, and textures). Uses ImageMagick. Supports DXT5/BC3, DXT1/BC1, DXT3/BC2, and uncompressed DDS output. Mipmaps are disabled by default. Requires ImageMagick installed and accessible. Custom path can be set via stellarisLanguageServices.ai.imageMagickPath setting.",
|
|
4248
|
+
"inputSchema": {
|
|
4249
|
+
"type": "object",
|
|
4250
|
+
"properties": {
|
|
4251
|
+
"sourcePath": {
|
|
4252
|
+
"type": "string",
|
|
4253
|
+
"description": "Absolute path to the source image file (PNG, JPG, or TGA)."
|
|
4254
|
+
},
|
|
4255
|
+
"outputDir": {
|
|
4256
|
+
"type": "string",
|
|
4257
|
+
"description": "Directory to write the converted DDS file to. Can be absolute or relative to workspace root (e.g. \"gfx/interface/icons/\")."
|
|
4258
|
+
},
|
|
4259
|
+
"compression": {
|
|
4260
|
+
"type": "string",
|
|
4261
|
+
"enum": [
|
|
4262
|
+
"dxt5",
|
|
4263
|
+
"dxt1",
|
|
4264
|
+
"dxt3",
|
|
4265
|
+
"none"
|
|
4266
|
+
],
|
|
4267
|
+
"description": "DDS compression type. \"dxt5\" (default): supports alpha channel, use for most icons. \"dxt1\": no alpha, smaller file size. \"dxt3\": legacy explicit alpha. \"none\": uncompressed."
|
|
4268
|
+
},
|
|
4269
|
+
"generateMipmaps": {
|
|
4270
|
+
"type": "boolean",
|
|
4271
|
+
"description": "Whether to generate mipmaps (default false)."
|
|
4272
|
+
}
|
|
4273
|
+
},
|
|
4274
|
+
"required": [
|
|
4275
|
+
"sourcePath"
|
|
4276
|
+
]
|
|
4277
|
+
}
|
|
4278
|
+
},
|
|
4279
|
+
"registry": {
|
|
4280
|
+
"name": "convert_image_to_dds",
|
|
4281
|
+
"isWrite": false,
|
|
4282
|
+
"isReadOnly": false,
|
|
4283
|
+
"effect": "media",
|
|
4284
|
+
"riskLevel": 2,
|
|
4285
|
+
"concurrencyClass": "interactive"
|
|
4286
|
+
}
|
|
4287
|
+
},
|
|
4288
|
+
{
|
|
4289
|
+
"tool": {
|
|
4290
|
+
"name": "convert_audio",
|
|
4291
|
+
"description": "Convert audio files between formats (MP3->OGG for BGM/voice, MP3->WAV for UI sound effects). Uses ffmpeg. Clausewitz engine requires .ogg (Vorbis) for music/voice and .wav (16-bit PCM) for UI sounds. Requires ffmpeg installed and accessible. Custom path can be set via stellarisLanguageServices.ai.ffmpegPath setting.",
|
|
4292
|
+
"inputSchema": {
|
|
4293
|
+
"type": "object",
|
|
4294
|
+
"properties": {
|
|
4295
|
+
"sourcePath": {
|
|
4296
|
+
"type": "string",
|
|
4297
|
+
"description": "Absolute path to the source audio file."
|
|
4298
|
+
},
|
|
4299
|
+
"outputDir": {
|
|
4300
|
+
"type": "string",
|
|
4301
|
+
"description": "Directory to write the converted file to. Can be absolute or relative to workspace root (e.g. \"sound/vo/\")."
|
|
4302
|
+
},
|
|
4303
|
+
"targetFormat": {
|
|
4304
|
+
"type": "string",
|
|
4305
|
+
"enum": [
|
|
4306
|
+
"ogg",
|
|
4307
|
+
"wav"
|
|
4308
|
+
],
|
|
4309
|
+
"description": "Target audio format. \"ogg\": Vorbis encoding for BGM and voice lines. \"wav\": 16-bit PCM for UI sound effects."
|
|
4310
|
+
},
|
|
4311
|
+
"sampleRate": {
|
|
4312
|
+
"type": "number",
|
|
4313
|
+
"description": "Output sample rate in Hz (e.g. 44100, 48000). Default: keep original."
|
|
4314
|
+
},
|
|
4315
|
+
"channels": {
|
|
4316
|
+
"type": "number",
|
|
4317
|
+
"description": "Number of audio channels. 1 = mono (recommended for voice/sfx), 2 = stereo (recommended for music). Default: keep original."
|
|
4318
|
+
}
|
|
4319
|
+
},
|
|
4320
|
+
"required": [
|
|
4321
|
+
"sourcePath",
|
|
4322
|
+
"targetFormat"
|
|
4323
|
+
]
|
|
4324
|
+
}
|
|
4325
|
+
},
|
|
4326
|
+
"registry": {
|
|
4327
|
+
"name": "convert_audio",
|
|
4328
|
+
"isWrite": false,
|
|
4329
|
+
"isReadOnly": false,
|
|
4330
|
+
"effect": "media",
|
|
4331
|
+
"riskLevel": 2,
|
|
4332
|
+
"concurrencyClass": "interactive"
|
|
4333
|
+
}
|
|
4334
|
+
},
|
|
4335
|
+
{
|
|
4336
|
+
"tool": {
|
|
4337
|
+
"name": "deploy_mod_asset",
|
|
4338
|
+
"description": "Copy a generated/converted media asset file to its final location in the mod workspace. Requires user permission. Use this after convert_image_to_dds or convert_audio to place files in the correct game directory (e.g. gfx/interface/icons/, sound/vo/). The retract system can undo this operation.",
|
|
4339
|
+
"inputSchema": {
|
|
4340
|
+
"type": "object",
|
|
4341
|
+
"properties": {
|
|
4342
|
+
"sourcePath": {
|
|
4343
|
+
"type": "string",
|
|
4344
|
+
"description": "Absolute path to the source file to deploy."
|
|
4345
|
+
},
|
|
4346
|
+
"targetRelativePath": {
|
|
4347
|
+
"type": "string",
|
|
4348
|
+
"description": "Target path relative to workspace root (e.g. \"gfx/interface/icons/tech/my_tech.dds\" or \"sound/vo/my_voice.ogg\")."
|
|
4349
|
+
},
|
|
4350
|
+
"overwrite": {
|
|
4351
|
+
"type": "boolean",
|
|
4352
|
+
"description": "If true, overwrite existing file at target. Default: false (fails if file exists)."
|
|
4353
|
+
}
|
|
4354
|
+
},
|
|
4355
|
+
"required": [
|
|
4356
|
+
"sourcePath",
|
|
4357
|
+
"targetRelativePath"
|
|
4358
|
+
]
|
|
4359
|
+
}
|
|
4360
|
+
},
|
|
4361
|
+
"registry": {
|
|
4362
|
+
"name": "deploy_mod_asset",
|
|
4363
|
+
"isWrite": true,
|
|
4364
|
+
"isReadOnly": false,
|
|
4365
|
+
"effect": "media",
|
|
4366
|
+
"riskLevel": 2,
|
|
4367
|
+
"concurrencyClass": "interactive"
|
|
4368
|
+
}
|
|
1366
4369
|
}
|
|
1367
4370
|
];
|