symfony-1.0.xsd 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <xsd:schema xmlns="http://symfony.com/schema/dic/symfony"
  3. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  4. targetNamespace="http://symfony.com/schema/dic/symfony"
  5. elementFormDefault="qualified">
  6. <xsd:element name="config" type="config" />
  7. <xsd:complexType name="config">
  8. <xsd:all>
  9. <xsd:element name="form" type="form" minOccurs="0" maxOccurs="1" />
  10. <xsd:element name="csrf-protection" type="csrf_protection" minOccurs="0" maxOccurs="1" />
  11. <xsd:element name="esi" type="esi" minOccurs="0" maxOccurs="1" />
  12. <xsd:element name="profiler" type="profiler" minOccurs="0" maxOccurs="1" />
  13. <xsd:element name="router" type="router" minOccurs="0" maxOccurs="1" />
  14. <xsd:element name="session" type="session" minOccurs="0" maxOccurs="1" />
  15. <xsd:element name="templating" type="templating" minOccurs="0" maxOccurs="1" />
  16. <xsd:element name="translator" type="translator" minOccurs="0" maxOccurs="1" />
  17. <xsd:element name="validation" type="validation" minOccurs="0" maxOccurs="1" />
  18. <xsd:element name="annotations" type="annotations" minOccurs="0" maxOccurs="1" />
  19. </xsd:all>
  20. <xsd:attribute name="charset" type="xsd:string" />
  21. <xsd:attribute name="trust-proxy-headers" type="xsd:string" />
  22. <xsd:attribute name="ide" type="xsd:string" />
  23. <xsd:attribute name="secret" type="xsd:string" />
  24. </xsd:complexType>
  25. <xsd:complexType name="form">
  26. <xsd:attribute name="enabled" type="xsd:boolean" />
  27. </xsd:complexType>
  28. <xsd:complexType name="csrf_protection">
  29. <xsd:attribute name="enabled" type="xsd:boolean" />
  30. <xsd:attribute name="field-name" type="xsd:string" />
  31. </xsd:complexType>
  32. <xsd:complexType name="esi">
  33. <xsd:attribute name="enabled" type="xsd:boolean" />
  34. </xsd:complexType>
  35. <xsd:complexType name="param_converter">
  36. <xsd:attribute name="enabled" type="xsd:boolean" />
  37. </xsd:complexType>
  38. <xsd:complexType name="profiler">
  39. <xsd:all>
  40. <xsd:element name="matcher" type="profiler_matcher" minOccurs="0" maxOccurs="1" />
  41. </xsd:all>
  42. <xsd:attribute name="only-exceptions" type="xsd:string" />
  43. <xsd:attribute name="only-master-requests" type="xsd:string" />
  44. <xsd:attribute name="dsn" type="xsd:string" />
  45. <xsd:attribute name="username" type="xsd:string" />
  46. <xsd:attribute name="password" type="xsd:string" />
  47. <xsd:attribute name="lifetime" type="xsd:string" />
  48. </xsd:complexType>
  49. <xsd:complexType name="profiler_matcher">
  50. <xsd:attribute name="ip" type="xsd:string" />
  51. <xsd:attribute name="path" type="xsd:string" />
  52. <xsd:attribute name="service" type="xsd:string" />
  53. </xsd:complexType>
  54. <xsd:complexType name="router">
  55. <xsd:attribute name="resource" type="xsd:string" />
  56. <xsd:attribute name="type" type="xsd:string" />
  57. <xsd:attribute name="http-port" type="xsd:string" />
  58. <xsd:attribute name="https-port" type="xsd:string" />
  59. </xsd:complexType>
  60. <xsd:complexType name="session">
  61. <xsd:attribute name="storage-id" type="xsd:string" />
  62. <xsd:attribute name="default-locale" type="xsd:string" />
  63. <xsd:attribute name="name" type="xsd:string" />
  64. <xsd:attribute name="lifetime" type="xsd:integer" />
  65. <xsd:attribute name="path" type="xsd:string" />
  66. <xsd:attribute name="domain" type="xsd:string" />
  67. <xsd:attribute name="secure" type="xsd:boolean" />
  68. <xsd:attribute name="httponly" type="xsd:boolean" />
  69. <xsd:attribute name="cache-limiter" type="xsd:string" />
  70. <xsd:attribute name="auto-start" type="xsd:boolean" />
  71. </xsd:complexType>
  72. <xsd:complexType name="templating">
  73. <xsd:sequence>
  74. <xsd:element name="loader" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
  75. <xsd:element name="engine" type="xsd:string" minOccurs="1" maxOccurs="unbounded" />
  76. <xsd:element name="assets-base-url" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
  77. <xsd:element name="package" type="package" minOccurs="0" maxOccurs="unbounded" />
  78. <xsd:element name="form" type="form-resources" minOccurs="0" maxOccurs="1" />
  79. </xsd:sequence>
  80. <xsd:attribute name="assets-version" type="xsd:string" />
  81. <xsd:attribute name="assets-version-format" type="xsd:string" />
  82. <xsd:attribute name="cache" type="xsd:string" />
  83. </xsd:complexType>
  84. <xsd:complexType name="form-resources">
  85. <xsd:choice minOccurs="1" maxOccurs="unbounded">
  86. <xsd:element name="resource" type="xsd:string" />
  87. </xsd:choice>
  88. </xsd:complexType>
  89. <xsd:complexType name="package">
  90. <xsd:sequence>
  91. <xsd:element name="base-url" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
  92. </xsd:sequence>
  93. <xsd:attribute name="name" type="xsd:string" use="required" />
  94. <xsd:attribute name="version" type="xsd:string" />
  95. <xsd:attribute name="version-format" type="xsd:string" />
  96. </xsd:complexType>
  97. <xsd:complexType name="translator">
  98. <xsd:attribute name="enabled" type="xsd:boolean" />
  99. <xsd:attribute name="fallback" type="xsd:string" />
  100. </xsd:complexType>
  101. <xsd:complexType name="validation">
  102. <xsd:attribute name="enabled" type="xsd:boolean" />
  103. <xsd:attribute name="cache" type="xsd:string" />
  104. <xsd:attribute name="enable-annotations" type="xsd:boolean" />
  105. </xsd:complexType>
  106. <xsd:complexType name="annotations">
  107. <xsd:attribute name="cache" type="xsd:string" />
  108. <xsd:attribute name="debug" type="xsd:string" />
  109. <xsd:attribute name="file-cache-dir" type="xsd:string" />
  110. </xsd:complexType>
  111. </xsd:schema>