@brookmind/ai-toolkit 1.0.5 → 1.1.2

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.
Files changed (152) hide show
  1. package/README.md +60 -14
  2. package/agents/code-reviewer.md +6 -1
  3. package/agents/code-simplifier.md +52 -0
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +257 -220
  6. package/dist/index.js.map +1 -1
  7. package/mcps/context7/.mcp.json +13 -0
  8. package/mcps/expo-mcp/.mcp.json +13 -0
  9. package/mcps/figma-mcp/.mcp.json +4 -6
  10. package/package.json +4 -4
  11. package/skills/pdf-processing-pro/FORMS.md +610 -0
  12. package/skills/pdf-processing-pro/OCR.md +137 -0
  13. package/skills/pdf-processing-pro/SKILL.md +296 -0
  14. package/skills/pdf-processing-pro/TABLES.md +626 -0
  15. package/skills/pdf-processing-pro/scripts/analyze_form.py +307 -0
  16. package/skills/react-best-practices/AGENTS.md +915 -0
  17. package/skills/react-best-practices/README.md +127 -0
  18. package/skills/react-best-practices/SKILL.md +110 -0
  19. package/skills/react-best-practices/metadata.json +14 -0
  20. package/skills/react-best-practices/rules/_sections.md +41 -0
  21. package/skills/react-best-practices/rules/_template.md +28 -0
  22. package/skills/react-best-practices/rules/advanced-event-handler-refs.md +80 -0
  23. package/skills/react-best-practices/rules/advanced-use-latest.md +76 -0
  24. package/skills/react-best-practices/rules/async-defer-await.md +80 -0
  25. package/skills/react-best-practices/rules/async-dependencies.md +36 -0
  26. package/skills/react-best-practices/rules/async-parallel.md +28 -0
  27. package/skills/react-best-practices/rules/async-suspense-boundaries.md +100 -0
  28. package/skills/react-best-practices/rules/bundle-barrel-imports.md +42 -0
  29. package/skills/react-best-practices/rules/bundle-conditional.md +106 -0
  30. package/skills/react-best-practices/rules/bundle-preload.md +44 -0
  31. package/skills/react-best-practices/rules/client-event-listeners.md +131 -0
  32. package/skills/react-best-practices/rules/client-swr-dedup.md +133 -0
  33. package/skills/react-best-practices/rules/js-batch-dom-css.md +82 -0
  34. package/skills/react-best-practices/rules/js-cache-function-results.md +80 -0
  35. package/skills/react-best-practices/rules/js-cache-property-access.md +28 -0
  36. package/skills/react-best-practices/rules/js-cache-storage.md +70 -0
  37. package/skills/react-best-practices/rules/js-combine-iterations.md +32 -0
  38. package/skills/react-best-practices/rules/js-early-exit.md +50 -0
  39. package/skills/react-best-practices/rules/js-hoist-regexp.md +45 -0
  40. package/skills/react-best-practices/rules/js-index-maps.md +37 -0
  41. package/skills/react-best-practices/rules/js-length-check-first.md +49 -0
  42. package/skills/react-best-practices/rules/js-min-max-loop.md +82 -0
  43. package/skills/react-best-practices/rules/js-set-map-lookups.md +24 -0
  44. package/skills/react-best-practices/rules/js-tosorted-immutable.md +57 -0
  45. package/skills/react-best-practices/rules/rendering-activity.md +90 -0
  46. package/skills/react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
  47. package/skills/react-best-practices/rules/rendering-conditional-render.md +40 -0
  48. package/skills/react-best-practices/rules/rendering-content-visibility.md +38 -0
  49. package/skills/react-best-practices/rules/rendering-hoist-jsx.md +65 -0
  50. package/skills/react-best-practices/rules/rendering-svg-precision.md +28 -0
  51. package/skills/react-best-practices/rules/rerender-defer-reads.md +39 -0
  52. package/skills/react-best-practices/rules/rerender-dependencies.md +45 -0
  53. package/skills/react-best-practices/rules/rerender-derived-state.md +29 -0
  54. package/skills/react-best-practices/rules/rerender-functional-setstate.md +74 -0
  55. package/skills/react-best-practices/rules/rerender-lazy-state-init.md +58 -0
  56. package/skills/react-best-practices/rules/rerender-memo.md +85 -0
  57. package/skills/react-best-practices/rules/rerender-transitions.md +40 -0
  58. package/themes/README.md +68 -0
  59. package/themes/claude-vivid.json +72 -0
  60. package/mcps/context7/.claude-plugin +0 -1
  61. package/mcps/context7/README.md +0 -1
  62. package/mcps/context7/server.json +0 -1
  63. package/mcps/expo-mcp/README.md +0 -33
  64. package/mcps/expo-mcp/package.json +0 -30
  65. package/mcps/figma-mcp/README.md +0 -554
  66. package/mcps/figma-mcp/server.json +0 -17
  67. package/mcps/figma-mcp/skills/code-connect-components +0 -1
  68. package/mcps/figma-mcp/skills/create-design-system-rules +0 -1
  69. package/mcps/figma-mcp/skills/implement-design +0 -1
  70. package/mcps/pg-aiguide/.claude-plugin +0 -1
  71. package/mcps/pg-aiguide/CLAUDE.md +0 -21
  72. package/mcps/pg-aiguide/README.md +0 -275
  73. package/mcps/pg-aiguide/skills/design-postgres-tables +0 -1
  74. package/mcps/pg-aiguide/skills/find-hypertable-candidates +0 -1
  75. package/mcps/pg-aiguide/skills/migrate-postgres-tables-to-hypertables +0 -1
  76. package/mcps/pg-aiguide/skills/setup-timescaledb-hypertables +0 -1
  77. package/mcps/pg-aiguide/skills.yaml +0 -4
  78. package/skills/cloudflare-cli/SKILL.md +0 -151
  79. package/skills/docx/LICENSE.txt +0 -30
  80. package/skills/docx/SKILL.md +0 -197
  81. package/skills/docx/docx-js.md +0 -350
  82. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  83. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  84. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  85. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  86. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  87. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  88. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  89. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  90. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  91. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  92. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  93. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  94. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  95. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  96. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  97. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  98. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  99. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  100. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  101. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  102. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  103. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  104. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  105. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  106. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  107. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  108. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  109. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  110. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  111. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  112. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  113. package/skills/docx/ooxml/schemas/mce/mc.xsd +0 -75
  114. package/skills/docx/ooxml/schemas/microsoft/wml-2010.xsd +0 -560
  115. package/skills/docx/ooxml/schemas/microsoft/wml-2012.xsd +0 -67
  116. package/skills/docx/ooxml/schemas/microsoft/wml-2018.xsd +0 -14
  117. package/skills/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +0 -20
  118. package/skills/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +0 -13
  119. package/skills/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  120. package/skills/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +0 -8
  121. package/skills/docx/ooxml/scripts/pack.py +0 -159
  122. package/skills/docx/ooxml/scripts/unpack.py +0 -29
  123. package/skills/docx/ooxml/scripts/validate.py +0 -69
  124. package/skills/docx/ooxml/scripts/validation/__init__.py +0 -15
  125. package/skills/docx/ooxml/scripts/validation/base.py +0 -951
  126. package/skills/docx/ooxml/scripts/validation/docx.py +0 -274
  127. package/skills/docx/ooxml/scripts/validation/pptx.py +0 -315
  128. package/skills/docx/ooxml/scripts/validation/redlining.py +0 -279
  129. package/skills/docx/ooxml.md +0 -610
  130. package/skills/docx/scripts/__init__.py +0 -1
  131. package/skills/docx/scripts/document.py +0 -1276
  132. package/skills/docx/scripts/templates/comments.xml +0 -3
  133. package/skills/docx/scripts/templates/commentsExtended.xml +0 -3
  134. package/skills/docx/scripts/templates/commentsExtensible.xml +0 -3
  135. package/skills/docx/scripts/templates/commentsIds.xml +0 -3
  136. package/skills/docx/scripts/templates/people.xml +0 -3
  137. package/skills/docx/scripts/utilities.py +0 -374
  138. package/skills/pdf/LICENSE.txt +0 -30
  139. package/skills/pdf/SKILL.md +0 -294
  140. package/skills/pdf/forms.md +0 -205
  141. package/skills/pdf/reference.md +0 -612
  142. package/skills/pdf/scripts/check_bounding_boxes.py +0 -70
  143. package/skills/pdf/scripts/check_bounding_boxes_test.py +0 -226
  144. package/skills/pdf/scripts/check_fillable_fields.py +0 -12
  145. package/skills/pdf/scripts/convert_pdf_to_images.py +0 -35
  146. package/skills/pdf/scripts/create_validation_image.py +0 -41
  147. package/skills/pdf/scripts/extract_form_field_info.py +0 -152
  148. package/skills/pdf/scripts/fill_fillable_fields.py +0 -114
  149. package/skills/pdf/scripts/fill_pdf_form_with_annotations.py +0 -108
  150. package/skills/xlsx/LICENSE.txt +0 -30
  151. package/skills/xlsx/SKILL.md +0 -289
  152. package/skills/xlsx/recalc.py +0 -178
@@ -1,116 +0,0 @@
1
- <?xml version='1.0'?>
2
- <xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
3
-
4
- <xs:annotation>
5
- <xs:documentation>
6
- See http://www.w3.org/XML/1998/namespace.html and
7
- http://www.w3.org/TR/REC-xml for information about this namespace.
8
-
9
- This schema document describes the XML namespace, in a form
10
- suitable for import by other schema documents.
11
-
12
- Note that local names in this namespace are intended to be defined
13
- only by the World Wide Web Consortium or its subgroups. The
14
- following names are currently defined in this namespace and should
15
- not be used with conflicting semantics by any Working Group,
16
- specification, or document instance:
17
-
18
- base (as an attribute name): denotes an attribute whose value
19
- provides a URI to be used as the base for interpreting any
20
- relative URIs in the scope of the element on which it
21
- appears; its value is inherited. This name is reserved
22
- by virtue of its definition in the XML Base specification.
23
-
24
- lang (as an attribute name): denotes an attribute whose value
25
- is a language code for the natural language of the content of
26
- any element; its value is inherited. This name is reserved
27
- by virtue of its definition in the XML specification.
28
-
29
- space (as an attribute name): denotes an attribute whose
30
- value is a keyword indicating what whitespace processing
31
- discipline is intended for the content of the element; its
32
- value is inherited. This name is reserved by virtue of its
33
- definition in the XML specification.
34
-
35
- Father (in any context at all): denotes Jon Bosak, the chair of
36
- the original XML Working Group. This name is reserved by
37
- the following decision of the W3C XML Plenary and
38
- XML Coordination groups:
39
-
40
- In appreciation for his vision, leadership and dedication
41
- the W3C XML Plenary on this 10th day of February, 2000
42
- reserves for Jon Bosak in perpetuity the XML name
43
- xml:Father
44
- </xs:documentation>
45
- </xs:annotation>
46
-
47
- <xs:annotation>
48
- <xs:documentation>This schema defines attributes and an attribute group
49
- suitable for use by
50
- schemas wishing to allow xml:base, xml:lang or xml:space attributes
51
- on elements they define.
52
-
53
- To enable this, such a schema must import this schema
54
- for the XML namespace, e.g. as follows:
55
- &lt;schema . . .>
56
- . . .
57
- &lt;import namespace="http://www.w3.org/XML/1998/namespace"
58
- schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
59
-
60
- Subsequently, qualified reference to any of the attributes
61
- or the group defined below will have the desired effect, e.g.
62
-
63
- &lt;type . . .>
64
- . . .
65
- &lt;attributeGroup ref="xml:specialAttrs"/>
66
-
67
- will define a type which will schema-validate an instance
68
- element with any of those attributes</xs:documentation>
69
- </xs:annotation>
70
-
71
- <xs:annotation>
72
- <xs:documentation>In keeping with the XML Schema WG's standard versioning
73
- policy, this schema document will persist at
74
- http://www.w3.org/2001/03/xml.xsd.
75
- At the date of issue it can also be found at
76
- http://www.w3.org/2001/xml.xsd.
77
- The schema document at that URI may however change in the future,
78
- in order to remain compatible with the latest version of XML Schema
79
- itself. In other words, if the XML Schema namespace changes, the version
80
- of this document at
81
- http://www.w3.org/2001/xml.xsd will change
82
- accordingly; the version at
83
- http://www.w3.org/2001/03/xml.xsd will not change.
84
- </xs:documentation>
85
- </xs:annotation>
86
-
87
- <xs:attribute name="lang" type="xs:language">
88
- <xs:annotation>
89
- <xs:documentation>In due course, we should install the relevant ISO 2- and 3-letter
90
- codes as the enumerated possible values . . .</xs:documentation>
91
- </xs:annotation>
92
- </xs:attribute>
93
-
94
- <xs:attribute name="space" default="preserve">
95
- <xs:simpleType>
96
- <xs:restriction base="xs:NCName">
97
- <xs:enumeration value="default"/>
98
- <xs:enumeration value="preserve"/>
99
- </xs:restriction>
100
- </xs:simpleType>
101
- </xs:attribute>
102
-
103
- <xs:attribute name="base" type="xs:anyURI">
104
- <xs:annotation>
105
- <xs:documentation>See http://www.w3.org/TR/xmlbase/ for
106
- information about this attribute.</xs:documentation>
107
- </xs:annotation>
108
- </xs:attribute>
109
-
110
- <xs:attributeGroup name="specialAttrs">
111
- <xs:attribute ref="xml:base"/>
112
- <xs:attribute ref="xml:lang"/>
113
- <xs:attribute ref="xml:space"/>
114
- </xs:attributeGroup>
115
-
116
- </xs:schema>
@@ -1,42 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <xs:schema xmlns="http://schemas.openxmlformats.org/package/2006/content-types"
3
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
- targetNamespace="http://schemas.openxmlformats.org/package/2006/content-types"
5
- elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">
6
-
7
- <xs:element name="Types" type="CT_Types"/>
8
- <xs:element name="Default" type="CT_Default"/>
9
- <xs:element name="Override" type="CT_Override"/>
10
-
11
- <xs:complexType name="CT_Types">
12
- <xs:choice minOccurs="0" maxOccurs="unbounded">
13
- <xs:element ref="Default"/>
14
- <xs:element ref="Override"/>
15
- </xs:choice>
16
- </xs:complexType>
17
-
18
- <xs:complexType name="CT_Default">
19
- <xs:attribute name="Extension" type="ST_Extension" use="required"/>
20
- <xs:attribute name="ContentType" type="ST_ContentType" use="required"/>
21
- </xs:complexType>
22
-
23
- <xs:complexType name="CT_Override">
24
- <xs:attribute name="ContentType" type="ST_ContentType" use="required"/>
25
- <xs:attribute name="PartName" type="xs:anyURI" use="required"/>
26
- </xs:complexType>
27
-
28
- <xs:simpleType name="ST_ContentType">
29
- <xs:restriction base="xs:string">
30
- <xs:pattern
31
- value="(((([\p{IsBasicLatin}-[\p{Cc}&#127;\(\)&lt;&gt;@,;:\\&quot;/\[\]\?=\{\}\s\t]])+))/((([\p{IsBasicLatin}-[\p{Cc}&#127;\(\)&lt;&gt;@,;:\\&quot;/\[\]\?=\{\}\s\t]])+))((\s+)*;(\s+)*(((([\p{IsBasicLatin}-[\p{Cc}&#127;\(\)&lt;&gt;@,;:\\&quot;/\[\]\?=\{\}\s\t]])+))=((([\p{IsBasicLatin}-[\p{Cc}&#127;\(\)&lt;&gt;@,;:\\&quot;/\[\]\?=\{\}\s\t]])+)|(&quot;(([\p{IsLatin-1Supplement}\p{IsBasicLatin}-[\p{Cc}&#127;&quot;\n\r]]|(\s+))|(\\[\p{IsBasicLatin}]))*&quot;))))*)"
32
- />
33
- </xs:restriction>
34
- </xs:simpleType>
35
-
36
- <xs:simpleType name="ST_Extension">
37
- <xs:restriction base="xs:string">
38
- <xs:pattern
39
- value="([!$&amp;'\(\)\*\+,:=]|(%[0-9a-fA-F][0-9a-fA-F])|[:@]|[a-zA-Z0-9\-_~])+"/>
40
- </xs:restriction>
41
- </xs:simpleType>
42
- </xs:schema>
@@ -1,50 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema targetNamespace="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"
3
- xmlns="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"
4
- xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dc="http://purl.org/dc/elements/1.1/"
5
- xmlns:dcterms="http://purl.org/dc/terms/" elementFormDefault="qualified" blockDefault="#all">
6
-
7
- <xs:import namespace="http://purl.org/dc/elements/1.1/"
8
- schemaLocation="http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd"/>
9
- <xs:import namespace="http://purl.org/dc/terms/"
10
- schemaLocation="http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcterms.xsd"/>
11
- <xs:import id="xml" namespace="http://www.w3.org/XML/1998/namespace"/>
12
-
13
- <xs:element name="coreProperties" type="CT_CoreProperties"/>
14
-
15
- <xs:complexType name="CT_CoreProperties">
16
- <xs:all>
17
- <xs:element name="category" minOccurs="0" maxOccurs="1" type="xs:string"/>
18
- <xs:element name="contentStatus" minOccurs="0" maxOccurs="1" type="xs:string"/>
19
- <xs:element ref="dcterms:created" minOccurs="0" maxOccurs="1"/>
20
- <xs:element ref="dc:creator" minOccurs="0" maxOccurs="1"/>
21
- <xs:element ref="dc:description" minOccurs="0" maxOccurs="1"/>
22
- <xs:element ref="dc:identifier" minOccurs="0" maxOccurs="1"/>
23
- <xs:element name="keywords" minOccurs="0" maxOccurs="1" type="CT_Keywords"/>
24
- <xs:element ref="dc:language" minOccurs="0" maxOccurs="1"/>
25
- <xs:element name="lastModifiedBy" minOccurs="0" maxOccurs="1" type="xs:string"/>
26
- <xs:element name="lastPrinted" minOccurs="0" maxOccurs="1" type="xs:dateTime"/>
27
- <xs:element ref="dcterms:modified" minOccurs="0" maxOccurs="1"/>
28
- <xs:element name="revision" minOccurs="0" maxOccurs="1" type="xs:string"/>
29
- <xs:element ref="dc:subject" minOccurs="0" maxOccurs="1"/>
30
- <xs:element ref="dc:title" minOccurs="0" maxOccurs="1"/>
31
- <xs:element name="version" minOccurs="0" maxOccurs="1" type="xs:string"/>
32
- </xs:all>
33
- </xs:complexType>
34
-
35
- <xs:complexType name="CT_Keywords" mixed="true">
36
- <xs:sequence>
37
- <xs:element name="value" minOccurs="0" maxOccurs="unbounded" type="CT_Keyword"/>
38
- </xs:sequence>
39
- <xs:attribute ref="xml:lang" use="optional"/>
40
- </xs:complexType>
41
-
42
- <xs:complexType name="CT_Keyword">
43
- <xs:simpleContent>
44
- <xs:extension base="xs:string">
45
- <xs:attribute ref="xml:lang" use="optional"/>
46
- </xs:extension>
47
- </xs:simpleContent>
48
- </xs:complexType>
49
-
50
- </xs:schema>
@@ -1,49 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xsd:schema xmlns="http://schemas.openxmlformats.org/package/2006/digital-signature"
3
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4
- targetNamespace="http://schemas.openxmlformats.org/package/2006/digital-signature"
5
- elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">
6
-
7
- <xsd:element name="SignatureTime" type="CT_SignatureTime"/>
8
- <xsd:element name="RelationshipReference" type="CT_RelationshipReference"/>
9
- <xsd:element name="RelationshipsGroupReference" type="CT_RelationshipsGroupReference"/>
10
-
11
- <xsd:complexType name="CT_SignatureTime">
12
- <xsd:sequence>
13
- <xsd:element name="Format" type="ST_Format"/>
14
- <xsd:element name="Value" type="ST_Value"/>
15
- </xsd:sequence>
16
- </xsd:complexType>
17
-
18
- <xsd:complexType name="CT_RelationshipReference">
19
- <xsd:simpleContent>
20
- <xsd:extension base="xsd:string">
21
- <xsd:attribute name="SourceId" type="xsd:string" use="required"/>
22
- </xsd:extension>
23
- </xsd:simpleContent>
24
- </xsd:complexType>
25
-
26
- <xsd:complexType name="CT_RelationshipsGroupReference">
27
- <xsd:simpleContent>
28
- <xsd:extension base="xsd:string">
29
- <xsd:attribute name="SourceType" type="xsd:anyURI" use="required"/>
30
- </xsd:extension>
31
- </xsd:simpleContent>
32
- </xsd:complexType>
33
-
34
- <xsd:simpleType name="ST_Format">
35
- <xsd:restriction base="xsd:string">
36
- <xsd:pattern
37
- value="(YYYY)|(YYYY-MM)|(YYYY-MM-DD)|(YYYY-MM-DDThh:mmTZD)|(YYYY-MM-DDThh:mm:ssTZD)|(YYYY-MM-DDThh:mm:ss.sTZD)"
38
- />
39
- </xsd:restriction>
40
- </xsd:simpleType>
41
-
42
- <xsd:simpleType name="ST_Value">
43
- <xsd:restriction base="xsd:string">
44
- <xsd:pattern
45
- value="(([0-9][0-9][0-9][0-9]))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2))))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1))))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1)))T((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))(((\+|-)((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])))|Z))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1)))T((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))(((\+|-)((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])))|Z))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1)))T((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])):(((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))\.[0-9])(((\+|-)((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])))|Z))"
46
- />
47
- </xsd:restriction>
48
- </xsd:simpleType>
49
- </xsd:schema>
@@ -1,33 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <xsd:schema xmlns="http://schemas.openxmlformats.org/package/2006/relationships"
3
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4
- targetNamespace="http://schemas.openxmlformats.org/package/2006/relationships"
5
- elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">
6
-
7
- <xsd:element name="Relationships" type="CT_Relationships"/>
8
- <xsd:element name="Relationship" type="CT_Relationship"/>
9
-
10
- <xsd:complexType name="CT_Relationships">
11
- <xsd:sequence>
12
- <xsd:element ref="Relationship" minOccurs="0" maxOccurs="unbounded"/>
13
- </xsd:sequence>
14
- </xsd:complexType>
15
-
16
- <xsd:complexType name="CT_Relationship">
17
- <xsd:simpleContent>
18
- <xsd:extension base="xsd:string">
19
- <xsd:attribute name="TargetMode" type="ST_TargetMode" use="optional"/>
20
- <xsd:attribute name="Target" type="xsd:anyURI" use="required"/>
21
- <xsd:attribute name="Type" type="xsd:anyURI" use="required"/>
22
- <xsd:attribute name="Id" type="xsd:ID" use="required"/>
23
- </xsd:extension>
24
- </xsd:simpleContent>
25
- </xsd:complexType>
26
-
27
- <xsd:simpleType name="ST_TargetMode">
28
- <xsd:restriction base="xsd:string">
29
- <xsd:enumeration value="External"/>
30
- <xsd:enumeration value="Internal"/>
31
- </xsd:restriction>
32
- </xsd:simpleType>
33
- </xsd:schema>
@@ -1,75 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <xsd:schema xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
3
- attributeFormDefault="unqualified" elementFormDefault="qualified"
4
- targetNamespace="http://schemas.openxmlformats.org/markup-compatibility/2006"
5
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
6
-
7
- <!--
8
- This XSD is a modified version of the one found at:
9
- https://github.com/plutext/docx4j/blob/master/xsd/mce/markup-compatibility-2006-MINIMAL.xsd
10
-
11
- This XSD has 2 objectives:
12
-
13
- 1. round tripping @mc:Ignorable
14
-
15
- <w:document
16
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
17
- xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
18
- mc:Ignorable="w14 w15 wp14">
19
-
20
- 2. enabling AlternateContent to be manipulated in certain elements
21
- (in the unusual case where the content model is xsd:any, it doesn't have to be explicitly added)
22
-
23
- See further ECMA-376, 4th Edition, Office Open XML File Formats
24
- Part 3 : Markup Compatibility and Extensibility
25
- -->
26
-
27
- <!-- Objective 1 -->
28
- <xsd:attribute name="Ignorable" type="xsd:string" />
29
-
30
- <!-- Objective 2 -->
31
- <xsd:attribute name="MustUnderstand" type="xsd:string" />
32
- <xsd:attribute name="ProcessContent" type="xsd:string" />
33
-
34
- <!-- An AlternateContent element shall contain one or more Choice child elements, optionally followed by a
35
- Fallback child element. If present, there shall be only one Fallback element, and it shall follow all Choice
36
- elements. -->
37
- <xsd:element name="AlternateContent">
38
- <xsd:complexType>
39
- <xsd:sequence>
40
- <xsd:element name="Choice" minOccurs="0" maxOccurs="unbounded">
41
- <xsd:complexType>
42
- <xsd:sequence>
43
- <xsd:any minOccurs="0" maxOccurs="unbounded"
44
- processContents="strict">
45
- </xsd:any>
46
- </xsd:sequence>
47
- <xsd:attribute name="Requires" type="xsd:string" use="required" />
48
- <xsd:attribute ref="mc:Ignorable" use="optional" />
49
- <xsd:attribute ref="mc:MustUnderstand" use="optional" />
50
- <xsd:attribute ref="mc:ProcessContent" use="optional" />
51
- </xsd:complexType>
52
- </xsd:element>
53
- <xsd:element name="Fallback" minOccurs="0" maxOccurs="1">
54
- <xsd:complexType>
55
- <xsd:sequence>
56
- <xsd:any minOccurs="0" maxOccurs="unbounded"
57
- processContents="strict">
58
- </xsd:any>
59
- </xsd:sequence>
60
- <xsd:attribute ref="mc:Ignorable" use="optional" />
61
- <xsd:attribute ref="mc:MustUnderstand" use="optional" />
62
- <xsd:attribute ref="mc:ProcessContent" use="optional" />
63
- </xsd:complexType>
64
- </xsd:element>
65
- </xsd:sequence>
66
- <!-- AlternateContent elements might include the attributes Ignorable,
67
- MustUnderstand and ProcessContent described in this Part of ECMA-376. These
68
- attributes’ qualified names shall be prefixed when associated with an AlternateContent
69
- element. -->
70
- <xsd:attribute ref="mc:Ignorable" use="optional" />
71
- <xsd:attribute ref="mc:MustUnderstand" use="optional" />
72
- <xsd:attribute ref="mc:ProcessContent" use="optional" />
73
- </xsd:complexType>
74
- </xsd:element>
75
- </xsd:schema>