context_schema.py 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. """
  2. -----------------------------------------------------------------------------------------
  3. INTERSEL - 4 cité d'Hauteville - 75010 PARIS
  4. RCS PARIS 488 379 660 - NAF 721Z
  5. File : core/context/context_schema.py
  6. Object : Context schema for the MCP server
  7. Must respect the following structure :
  8. {
  9. <ModxType>: {
  10. <id>: {
  11. <actionType>: True,
  12. <actionType>: False
  13. },...
  14. },
  15. ...
  16. }
  17. -----------------------------------------------------------------------------------------
  18. Modifications :
  19. - 2026/01/16 - Damien Lugagne-Delpon - V1.0.0- Creation
  20. -----------------------------------------------------------------------------------------
  21. @copyright : Intersel 2026
  22. @author : Damien Lugagne-Delpon - damien.lugagne-delpon@livinweb.fr
  23. @version : 1.0.0 (to be updated to the current_version of the developed software if file is touched)
  24. -----------------------------------------------------------------------------------------
  25. """
  26. from mcp_server.core.constants import ModxType, actionType
  27. DEFAULT_CONTEXT = {
  28. ModxType.RESOURCE: {},
  29. ModxType.TEMPLATE: {},
  30. }