coursecode 0.1.0
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/LICENSE +21 -0
- package/README.md +322 -0
- package/THIRD_PARTY_NOTICES.md +22 -0
- package/bin/cli.js +331 -0
- package/framework/assets/logo-coursecode-black.svg +14 -0
- package/framework/assets/logo-coursecode-white.svg +14 -0
- package/framework/assets/logo-coursecode.svg +14 -0
- package/framework/css/01-base.css +160 -0
- package/framework/css/02-layout.css +499 -0
- package/framework/css/accessibility.css +834 -0
- package/framework/css/components/accordions.css +710 -0
- package/framework/css/components/assessments.css +520 -0
- package/framework/css/components/audio-player.css +570 -0
- package/framework/css/components/badges.css +80 -0
- package/framework/css/components/breadcrumbs.css +87 -0
- package/framework/css/components/buttons.css +707 -0
- package/framework/css/components/callouts.css +1280 -0
- package/framework/css/components/cards.css +475 -0
- package/framework/css/components/carousel.css +193 -0
- package/framework/css/components/checkbox-group.css +123 -0
- package/framework/css/components/checklist.css +203 -0
- package/framework/css/components/collapse.css +96 -0
- package/framework/css/components/comparison.css +33 -0
- package/framework/css/components/content-image.css +36 -0
- package/framework/css/components/document-gallery.css +425 -0
- package/framework/css/components/dropdown.css +115 -0
- package/framework/css/components/embed-frame.css +142 -0
- package/framework/css/components/engagement.css +412 -0
- package/framework/css/components/features.css +35 -0
- package/framework/css/components/flip-cards.css +253 -0
- package/framework/css/components/footer.css +353 -0
- package/framework/css/components/forms.css +294 -0
- package/framework/css/components/hero.css +216 -0
- package/framework/css/components/images.css +528 -0
- package/framework/css/components/interactive-timeline.css +274 -0
- package/framework/css/components/intro-cards.css +30 -0
- package/framework/css/components/lightbox.css +666 -0
- package/framework/css/components/loading.css +65 -0
- package/framework/css/components/modals.css +235 -0
- package/framework/css/components/notifications.css +107 -0
- package/framework/css/components/quote.css +150 -0
- package/framework/css/components/sidebar.css +684 -0
- package/framework/css/components/slide-header.css +52 -0
- package/framework/css/components/spinner.css +62 -0
- package/framework/css/components/stats.css +44 -0
- package/framework/css/components/steps.css +232 -0
- package/framework/css/components/tables.css +90 -0
- package/framework/css/components/tabs.css +347 -0
- package/framework/css/components/timeline.css +154 -0
- package/framework/css/components/toggle.css +95 -0
- package/framework/css/components/tooltip.css +226 -0
- package/framework/css/components/video-player.css +438 -0
- package/framework/css/design-tokens.css +707 -0
- package/framework/css/framework.css +86 -0
- package/framework/css/interactions/accessibility.css +75 -0
- package/framework/css/interactions/base.css +92 -0
- package/framework/css/interactions/drag-drop.css +295 -0
- package/framework/css/interactions/fill-in-the-blank.css +236 -0
- package/framework/css/interactions/hotspots.css +69 -0
- package/framework/css/interactions/index.css +45 -0
- package/framework/css/interactions/interactive-image.css +359 -0
- package/framework/css/interactions/likert.css +126 -0
- package/framework/css/interactions/matching.css +354 -0
- package/framework/css/interactions/numeric-input.css +78 -0
- package/framework/css/interactions/sequencing.css +378 -0
- package/framework/css/interactions/true-false.css +177 -0
- package/framework/css/layouts/article.css +258 -0
- package/framework/css/layouts/base.css +30 -0
- package/framework/css/layouts/canvas.css +38 -0
- package/framework/css/layouts/focused.css +236 -0
- package/framework/css/layouts/index.css +29 -0
- package/framework/css/layouts/presentation.css +191 -0
- package/framework/css/layouts/traditional.css +52 -0
- package/framework/css/responsive.css +439 -0
- package/framework/css/utilities/accessibility-utils.css +59 -0
- package/framework/css/utilities/animations.css +419 -0
- package/framework/css/utilities/borders.css +72 -0
- package/framework/css/utilities/colors.css +76 -0
- package/framework/css/utilities/container.css +46 -0
- package/framework/css/utilities/decorative.css +442 -0
- package/framework/css/utilities/display.css +257 -0
- package/framework/css/utilities/flexbox.css +80 -0
- package/framework/css/utilities/grid.css +69 -0
- package/framework/css/utilities/icons.css +534 -0
- package/framework/css/utilities/lists.css +190 -0
- package/framework/css/utilities/spacing.css +167 -0
- package/framework/css/utilities/tables.css +81 -0
- package/framework/css/utilities/typography.css +159 -0
- package/framework/css/utilities/visibility.css +117 -0
- package/framework/docs/COURSE_AUTHORING_GUIDE.md +1773 -0
- package/framework/docs/COURSE_OUTLINE_GUIDE.md +725 -0
- package/framework/docs/COURSE_OUTLINE_TEMPLATE.md +161 -0
- package/framework/docs/DATA_MODEL.md +409 -0
- package/framework/docs/FRAMEWORK_GUIDE.md +1088 -0
- package/framework/docs/USER_GUIDE.md +583 -0
- package/framework/docs/examples/cloudflare-channel-relay.js +169 -0
- package/framework/docs/examples/cloudflare-data-worker.js +102 -0
- package/framework/docs/examples/cloudflare-error-worker.js +228 -0
- package/framework/index.html +175 -0
- package/framework/js/app/AppActions.js +410 -0
- package/framework/js/app/AppState.js +225 -0
- package/framework/js/app/AppUI.js +616 -0
- package/framework/js/assessment/AssessmentActions.js +615 -0
- package/framework/js/assessment/AssessmentFactory.js +471 -0
- package/framework/js/assessment/AssessmentState.js +322 -0
- package/framework/js/assessment/AssessmentUI.js +451 -0
- package/framework/js/automation/api-engagement.js +196 -0
- package/framework/js/automation/api-interactions.js +167 -0
- package/framework/js/automation/api.js +242 -0
- package/framework/js/automation/index.js +41 -0
- package/framework/js/components/interactions/drag-drop.js +884 -0
- package/framework/js/components/interactions/fill-in.js +535 -0
- package/framework/js/components/interactions/hotspot.js +702 -0
- package/framework/js/components/interactions/interaction-base.js +511 -0
- package/framework/js/components/interactions/likert.js +301 -0
- package/framework/js/components/interactions/matching.js +699 -0
- package/framework/js/components/interactions/multiple-choice.js +377 -0
- package/framework/js/components/interactions/numeric.js +271 -0
- package/framework/js/components/interactions/sequencing.js +423 -0
- package/framework/js/components/interactions/true-false.js +241 -0
- package/framework/js/components/ui-components/accordion.js +442 -0
- package/framework/js/components/ui-components/alert.js +88 -0
- package/framework/js/components/ui-components/audio-player.js +1193 -0
- package/framework/js/components/ui-components/callout.js +121 -0
- package/framework/js/components/ui-components/carousel.js +145 -0
- package/framework/js/components/ui-components/checkbox-group.js +87 -0
- package/framework/js/components/ui-components/checklist.js +40 -0
- package/framework/js/components/ui-components/collapse.js +114 -0
- package/framework/js/components/ui-components/comparison.js +30 -0
- package/framework/js/components/ui-components/conditional-display.js +150 -0
- package/framework/js/components/ui-components/content-image.js +41 -0
- package/framework/js/components/ui-components/dropdown.js +262 -0
- package/framework/js/components/ui-components/embed-frame.js +274 -0
- package/framework/js/components/ui-components/features.js +33 -0
- package/framework/js/components/ui-components/flip-card.js +230 -0
- package/framework/js/components/ui-components/form-validator.js +76 -0
- package/framework/js/components/ui-components/hero.js +49 -0
- package/framework/js/components/ui-components/index.js +12 -0
- package/framework/js/components/ui-components/interactive-image.js +235 -0
- package/framework/js/components/ui-components/interactive-timeline.js +285 -0
- package/framework/js/components/ui-components/intro-cards.js +35 -0
- package/framework/js/components/ui-components/lightbox.js +652 -0
- package/framework/js/components/ui-components/modal.js +386 -0
- package/framework/js/components/ui-components/notifications.js +145 -0
- package/framework/js/components/ui-components/progress.js +88 -0
- package/framework/js/components/ui-components/quote.js +41 -0
- package/framework/js/components/ui-components/stats.js +33 -0
- package/framework/js/components/ui-components/steps.js +41 -0
- package/framework/js/components/ui-components/tabs.js +255 -0
- package/framework/js/components/ui-components/timeline.js +42 -0
- package/framework/js/components/ui-components/toggle-group.js +73 -0
- package/framework/js/components/ui-components/tooltip.js +458 -0
- package/framework/js/components/ui-components/value-display.js +133 -0
- package/framework/js/components/ui-components/video-player.js +686 -0
- package/framework/js/core/component-catalog.js +121 -0
- package/framework/js/core/event-bus.js +178 -0
- package/framework/js/core/interaction-catalog.js +149 -0
- package/framework/js/dev/runtime-linter.js +1725 -0
- package/framework/js/drivers/cmi5-driver.js +768 -0
- package/framework/js/drivers/driver-factory.js +77 -0
- package/framework/js/drivers/driver-interface.js +110 -0
- package/framework/js/drivers/http-driver-base.js +241 -0
- package/framework/js/drivers/lti-driver.js +508 -0
- package/framework/js/drivers/proxy-driver.js +444 -0
- package/framework/js/drivers/scorm-12-driver.js +560 -0
- package/framework/js/drivers/scorm-2004-driver.js +775 -0
- package/framework/js/drivers/scorm-driver-base.js +112 -0
- package/framework/js/engagement/engagement-manager.js +404 -0
- package/framework/js/engagement/engagement-progress.js +191 -0
- package/framework/js/engagement/engagement-trackers.js +215 -0
- package/framework/js/engagement/requirement-strategies.js +268 -0
- package/framework/js/main.js +727 -0
- package/framework/js/managers/accessibility-manager.js +499 -0
- package/framework/js/managers/assessment-manager.js +230 -0
- package/framework/js/managers/audio-manager.js +944 -0
- package/framework/js/managers/comment-manager.js +88 -0
- package/framework/js/managers/flag-manager.js +86 -0
- package/framework/js/managers/interaction-manager.js +254 -0
- package/framework/js/managers/interaction-registry.js +96 -0
- package/framework/js/managers/objective-manager.js +423 -0
- package/framework/js/managers/score-manager.js +441 -0
- package/framework/js/managers/video-manager.js +536 -0
- package/framework/js/navigation/Breadcrumbs.js +234 -0
- package/framework/js/navigation/NavigationActions.js +1132 -0
- package/framework/js/navigation/NavigationState.js +276 -0
- package/framework/js/navigation/NavigationUI.js +574 -0
- package/framework/js/navigation/document-gallery.js +357 -0
- package/framework/js/navigation/navigation-helpers.js +175 -0
- package/framework/js/navigation/navigation-validators.js +174 -0
- package/framework/js/state/index.js +8 -0
- package/framework/js/state/lms-connection.js +482 -0
- package/framework/js/state/lms-error-utils.js +58 -0
- package/framework/js/state/state-commits.js +200 -0
- package/framework/js/state/state-domains.js +86 -0
- package/framework/js/state/state-manager.js +502 -0
- package/framework/js/state/state-validation.js +311 -0
- package/framework/js/state/transaction-log.js +41 -0
- package/framework/js/state/xapi-statement-service.js +325 -0
- package/framework/js/utilities/access-control.js +99 -0
- package/framework/js/utilities/breakpoint-manager.js +315 -0
- package/framework/js/utilities/canvas-slide.js +35 -0
- package/framework/js/utilities/conditional-display.js +388 -0
- package/framework/js/utilities/course-channel.js +214 -0
- package/framework/js/utilities/course-helpers.js +420 -0
- package/framework/js/utilities/data-reporter.js +273 -0
- package/framework/js/utilities/error-reporter.js +313 -0
- package/framework/js/utilities/hotspot-helper.js +341 -0
- package/framework/js/utilities/icons.js +348 -0
- package/framework/js/utilities/logger.js +92 -0
- package/framework/js/utilities/markdown-renderer.js +45 -0
- package/framework/js/utilities/scroll-tracker.js +68 -0
- package/framework/js/utilities/ui-initializer.js +146 -0
- package/framework/js/utilities/utilities.js +293 -0
- package/framework/js/utilities/view-manager.js +227 -0
- package/framework/js/validation/html-validators.js +422 -0
- package/framework/js/validation/scorm-validators.js +438 -0
- package/framework/js/vendor/pipwerks.js +931 -0
- package/framework/scripts/generate-narration.js +629 -0
- package/framework/scripts/tts-providers/azure-provider.js +178 -0
- package/framework/scripts/tts-providers/base-provider.js +81 -0
- package/framework/scripts/tts-providers/deepgram-provider.js +135 -0
- package/framework/scripts/tts-providers/elevenlabs-provider.js +148 -0
- package/framework/scripts/tts-providers/google-provider.js +272 -0
- package/framework/scripts/tts-providers/index.js +158 -0
- package/framework/scripts/tts-providers/openai-provider.js +143 -0
- package/framework/version.json +63 -0
- package/lib/authoring-api.js +919 -0
- package/lib/build-linter.js +450 -0
- package/lib/build-packaging.js +186 -0
- package/lib/build.js +88 -0
- package/lib/cloud.js +691 -0
- package/lib/convert.js +341 -0
- package/lib/course-parser.js +936 -0
- package/lib/course-writer.js +258 -0
- package/lib/create.js +248 -0
- package/lib/css-index.js +237 -0
- package/lib/dev.js +51 -0
- package/lib/export-content.js +1246 -0
- package/lib/headless-browser.js +413 -0
- package/lib/import.js +377 -0
- package/lib/index.js +80 -0
- package/lib/info.js +79 -0
- package/lib/interaction-formatters.js +568 -0
- package/lib/manifest/cmi5-manifest.js +63 -0
- package/lib/manifest/lti-tool-config.js +53 -0
- package/lib/manifest/manifest-factory.js +99 -0
- package/lib/manifest/scorm-12-manifest.js +61 -0
- package/lib/manifest/scorm-2004-manifest.js +94 -0
- package/lib/manifest/scorm-proxy-manifest.js +104 -0
- package/lib/manifest-parser.js +96 -0
- package/lib/mcp-prompts.js +753 -0
- package/lib/mcp-server.js +316 -0
- package/lib/narration.js +53 -0
- package/lib/pdf-structure.js +142 -0
- package/lib/preview-export.js +231 -0
- package/lib/preview-routes-api.js +662 -0
- package/lib/preview-routes-editing.js +159 -0
- package/lib/preview-routes-lms.js +230 -0
- package/lib/preview-server.js +564 -0
- package/lib/project-utils.js +269 -0
- package/lib/proxy-templates/proxy.html +68 -0
- package/lib/proxy-templates/scorm-bridge.js +112 -0
- package/lib/scaffold.js +193 -0
- package/lib/schema-extractor.js +361 -0
- package/lib/slide-source-editor.js +586 -0
- package/lib/stub-player/app-viewer.js +195 -0
- package/lib/stub-player/app.js +370 -0
- package/lib/stub-player/catalog-panel.js +312 -0
- package/lib/stub-player/config-panel.js +1303 -0
- package/lib/stub-player/content-generator.js +586 -0
- package/lib/stub-player/content-viewer.js +173 -0
- package/lib/stub-player/debug-panel.js +420 -0
- package/lib/stub-player/edit-mode.js +922 -0
- package/lib/stub-player/edit-utils.js +400 -0
- package/lib/stub-player/header-bar.js +354 -0
- package/lib/stub-player/interaction-editor.js +210 -0
- package/lib/stub-player/interactions-panel.js +565 -0
- package/lib/stub-player/lms-api.js +1094 -0
- package/lib/stub-player/login-screen.js +74 -0
- package/lib/stub-player/outline-mode.js +689 -0
- package/lib/stub-player/styles/_assessments-panel.css +245 -0
- package/lib/stub-player/styles/_base.css +89 -0
- package/lib/stub-player/styles/_catalog-icons.css +96 -0
- package/lib/stub-player/styles/_catalog-panel.css +291 -0
- package/lib/stub-player/styles/_config-panel.css +636 -0
- package/lib/stub-player/styles/_content-viewer.css +834 -0
- package/lib/stub-player/styles/_debug-panel.css +576 -0
- package/lib/stub-player/styles/_edit-mode.css +128 -0
- package/lib/stub-player/styles/_header-bar.css +343 -0
- package/lib/stub-player/styles/_interaction-editor.css +140 -0
- package/lib/stub-player/styles/_interactions-panel.css +1038 -0
- package/lib/stub-player/styles/_login-screen.css +102 -0
- package/lib/stub-player/styles/_outline-mode.css +752 -0
- package/lib/stub-player/styles.css +15 -0
- package/lib/stub-player.js +160 -0
- package/lib/test-data-reporting.js +176 -0
- package/lib/test-error-reporting.js +146 -0
- package/lib/token.js +86 -0
- package/lib/upgrade.js +257 -0
- package/lib/validation-rules.js +517 -0
- package/lib/vite-plugin-content-discovery.js +296 -0
- package/package.json +108 -0
- package/schemas/XMLSchema.dtd +402 -0
- package/schemas/adlcp_v1p3.xsd +111 -0
- package/schemas/adlnav_v1p3.xsd +61 -0
- package/schemas/adlseq_v1p3.xsd +93 -0
- package/schemas/common/anyElement.xsd +27 -0
- package/schemas/common/dataTypes.xsd +138 -0
- package/schemas/common/elementNames.xsd +767 -0
- package/schemas/common/elementTypes.xsd +786 -0
- package/schemas/common/rootElement.xsd +31 -0
- package/schemas/common/vocabTypes.xsd +345 -0
- package/schemas/common/vocabValues.xsd +257 -0
- package/schemas/datatypes.dtd +203 -0
- package/schemas/ims_xml.xsd +35 -0
- package/schemas/imscp_v1p1.xsd +368 -0
- package/schemas/imsss_v1p0.xsd +67 -0
- package/schemas/imsss_v1p0auxresource.xsd +19 -0
- package/schemas/imsss_v1p0control.xsd +20 -0
- package/schemas/imsss_v1p0delivery.xsd +17 -0
- package/schemas/imsss_v1p0limit.xsd +47 -0
- package/schemas/imsss_v1p0objective.xsd +67 -0
- package/schemas/imsss_v1p0random.xsd +16 -0
- package/schemas/imsss_v1p0rollup.xsd +46 -0
- package/schemas/imsss_v1p0seqrule.xsd +108 -0
- package/schemas/imsss_v1p0util.xsd +94 -0
- package/schemas/license.txt +17 -0
- package/schemas/lom.xsd +102 -0
- package/schemas/lomCustom.xsd +62 -0
- package/schemas/lomLoose.xsd +62 -0
- package/schemas/lomStrict.xsd +62 -0
- package/schemas/xml.xsd +81 -0
- package/template/.env.example +92 -0
- package/template/course/assets/audio/example-intro.mp3 +0 -0
- package/template/course/assets/audio/example-ui-demo--compact-player.mp3 +0 -0
- package/template/course/assets/audio/example-ui-demo--demo-modal.mp3 +0 -0
- package/template/course/assets/audio/example-ui-demo--full-player.mp3 +0 -0
- package/template/course/assets/docs/example_md_1.md +39 -0
- package/template/course/assets/docs/example_md_2.md +41 -0
- package/template/course/assets/docs/example_pdf_1_thumbnail.png +0 -0
- package/template/course/assets/docs/example_pdf_2.pdf +0 -0
- package/template/course/assets/images/course-architecture.svg +36 -0
- package/template/course/assets/images/logo.svg +14 -0
- package/template/course/assets/widgets/counter-demo.html +190 -0
- package/template/course/assets/widgets/gravity-painter.html +384 -0
- package/template/course/course-config.js +539 -0
- package/template/course/icons.js +19 -0
- package/template/course/interactions/PLUGIN_GUIDE.md +97 -0
- package/template/course/slides/example-course-structure.js +138 -0
- package/template/course/slides/example-final-exam.js +144 -0
- package/template/course/slides/example-finishing.js +127 -0
- package/template/course/slides/example-interactions-showcase.js +615 -0
- package/template/course/slides/example-preview-tour.js +129 -0
- package/template/course/slides/example-remedial.js +143 -0
- package/template/course/slides/example-summary.js +103 -0
- package/template/course/slides/example-ui-showcase.js +1805 -0
- package/template/course/slides/example-welcome.js +123 -0
- package/template/course/slides/example-workflow.js +140 -0
- package/template/course/theme.css +165 -0
- package/template/eslint.config.js +47 -0
- package/template/package.json +28 -0
- package/template/vite.config.js +339 -0
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
DTD for XML Schemas: Part 2: Datatypes
|
|
3
|
+
$Id: datatypes.dtd,v 1.1 2004/07/21 18:10:14 BarrettM Exp $
|
|
4
|
+
Note this DTD is NOT normative, or even definitive. - - the
|
|
5
|
+
prose copy in the datatypes REC is the definitive version
|
|
6
|
+
(which shouldn't differ from this one except for this comment
|
|
7
|
+
and entity expansions, but just in case)
|
|
8
|
+
-->
|
|
9
|
+
|
|
10
|
+
<!--
|
|
11
|
+
This DTD cannot be used on its own, it is intended
|
|
12
|
+
only for incorporation in XMLSchema.dtd, q.v.
|
|
13
|
+
-->
|
|
14
|
+
|
|
15
|
+
<!-- Define all the element names, with optional prefix -->
|
|
16
|
+
<!ENTITY % simpleType "%p;simpleType">
|
|
17
|
+
<!ENTITY % restriction "%p;restriction">
|
|
18
|
+
<!ENTITY % list "%p;list">
|
|
19
|
+
<!ENTITY % union "%p;union">
|
|
20
|
+
<!ENTITY % maxExclusive "%p;maxExclusive">
|
|
21
|
+
<!ENTITY % minExclusive "%p;minExclusive">
|
|
22
|
+
<!ENTITY % maxInclusive "%p;maxInclusive">
|
|
23
|
+
<!ENTITY % minInclusive "%p;minInclusive">
|
|
24
|
+
<!ENTITY % totalDigits "%p;totalDigits">
|
|
25
|
+
<!ENTITY % fractionDigits "%p;fractionDigits">
|
|
26
|
+
<!ENTITY % length "%p;length">
|
|
27
|
+
<!ENTITY % minLength "%p;minLength">
|
|
28
|
+
<!ENTITY % maxLength "%p;maxLength">
|
|
29
|
+
<!ENTITY % enumeration "%p;enumeration">
|
|
30
|
+
<!ENTITY % whiteSpace "%p;whiteSpace">
|
|
31
|
+
<!ENTITY % pattern "%p;pattern">
|
|
32
|
+
|
|
33
|
+
<!--
|
|
34
|
+
Customisation entities for the ATTLIST of each element
|
|
35
|
+
type. Define one of these if your schema takes advantage
|
|
36
|
+
of the anyAttribute='##other' in the schema for schemas
|
|
37
|
+
-->
|
|
38
|
+
|
|
39
|
+
<!ENTITY % simpleTypeAttrs "">
|
|
40
|
+
<!ENTITY % restrictionAttrs "">
|
|
41
|
+
<!ENTITY % listAttrs "">
|
|
42
|
+
<!ENTITY % unionAttrs "">
|
|
43
|
+
<!ENTITY % maxExclusiveAttrs "">
|
|
44
|
+
<!ENTITY % minExclusiveAttrs "">
|
|
45
|
+
<!ENTITY % maxInclusiveAttrs "">
|
|
46
|
+
<!ENTITY % minInclusiveAttrs "">
|
|
47
|
+
<!ENTITY % totalDigitsAttrs "">
|
|
48
|
+
<!ENTITY % fractionDigitsAttrs "">
|
|
49
|
+
<!ENTITY % lengthAttrs "">
|
|
50
|
+
<!ENTITY % minLengthAttrs "">
|
|
51
|
+
<!ENTITY % maxLengthAttrs "">
|
|
52
|
+
<!ENTITY % enumerationAttrs "">
|
|
53
|
+
<!ENTITY % whiteSpaceAttrs "">
|
|
54
|
+
<!ENTITY % patternAttrs "">
|
|
55
|
+
|
|
56
|
+
<!-- Define some entities for informative use as attribute
|
|
57
|
+
types -->
|
|
58
|
+
<!ENTITY % URIref "CDATA">
|
|
59
|
+
<!ENTITY % XPathExpr "CDATA">
|
|
60
|
+
<!ENTITY % QName "NMTOKEN">
|
|
61
|
+
<!ENTITY % QNames "NMTOKENS">
|
|
62
|
+
<!ENTITY % NCName "NMTOKEN">
|
|
63
|
+
<!ENTITY % nonNegativeInteger "NMTOKEN">
|
|
64
|
+
<!ENTITY % boolean "(true|false)">
|
|
65
|
+
<!ENTITY % simpleDerivationSet "CDATA">
|
|
66
|
+
<!--
|
|
67
|
+
#all or space-separated list drawn from derivationChoice
|
|
68
|
+
-->
|
|
69
|
+
|
|
70
|
+
<!--
|
|
71
|
+
Note that the use of 'facet' below is less restrictive
|
|
72
|
+
than is really intended: There should in fact be no
|
|
73
|
+
more than one of each of minInclusive, minExclusive,
|
|
74
|
+
maxInclusive, maxExclusive, totalDigits, fractionDigits,
|
|
75
|
+
length, maxLength, minLength within datatype,
|
|
76
|
+
and the min- and max- variants of Inclusive and Exclusive
|
|
77
|
+
are mutually exclusive. On the other hand, pattern and
|
|
78
|
+
enumeration may repeat.
|
|
79
|
+
-->
|
|
80
|
+
<!ENTITY % minBound "(%minInclusive; | %minExclusive;)">
|
|
81
|
+
<!ENTITY % maxBound "(%maxInclusive; | %maxExclusive;)">
|
|
82
|
+
<!ENTITY % bounds "%minBound; | %maxBound;">
|
|
83
|
+
<!ENTITY % numeric "%totalDigits; | %fractionDigits;">
|
|
84
|
+
<!ENTITY % ordered "%bounds; | %numeric;">
|
|
85
|
+
<!ENTITY % unordered
|
|
86
|
+
"%pattern; | %enumeration; | %whiteSpace; | %length; |
|
|
87
|
+
%maxLength; | %minLength;">
|
|
88
|
+
<!ENTITY % facet "%ordered; | %unordered;">
|
|
89
|
+
<!ENTITY % facetAttr
|
|
90
|
+
"value CDATA #REQUIRED
|
|
91
|
+
id ID #IMPLIED">
|
|
92
|
+
<!ENTITY % fixedAttr "fixed %boolean; #IMPLIED">
|
|
93
|
+
<!ENTITY % facetModel "(%annotation;)?">
|
|
94
|
+
<!ELEMENT %simpleType;
|
|
95
|
+
((%annotation;)?, (%restriction; | %list; | %union;))>
|
|
96
|
+
<!ATTLIST %simpleType;
|
|
97
|
+
name %NCName; #IMPLIED
|
|
98
|
+
final %simpleDerivationSet; #IMPLIED
|
|
99
|
+
id ID #IMPLIED
|
|
100
|
+
%simpleTypeAttrs;>
|
|
101
|
+
<!-- name is required at top level -->
|
|
102
|
+
<!ELEMENT %restriction; ((%annotation;)?,
|
|
103
|
+
(%restriction1; |
|
|
104
|
+
((%simpleType;)?,(%facet;)*)),
|
|
105
|
+
(%attrDecls;))>
|
|
106
|
+
<!ATTLIST %restriction;
|
|
107
|
+
base %QName; #IMPLIED
|
|
108
|
+
id ID #IMPLIED
|
|
109
|
+
%restrictionAttrs;>
|
|
110
|
+
<!--
|
|
111
|
+
base and simpleType child are mutually exclusive,
|
|
112
|
+
one is required.
|
|
113
|
+
|
|
114
|
+
restriction is shared between simpleType and
|
|
115
|
+
simpleContent and complexContent (in XMLSchema.xsd).
|
|
116
|
+
restriction1 is for the latter cases, when this
|
|
117
|
+
is restricting a complex type, as is attrDecls.
|
|
118
|
+
-->
|
|
119
|
+
<!ELEMENT %list; ((%annotation;)?,(%simpleType;)?)>
|
|
120
|
+
<!ATTLIST %list;
|
|
121
|
+
itemType %QName; #IMPLIED
|
|
122
|
+
id ID #IMPLIED
|
|
123
|
+
%listAttrs;>
|
|
124
|
+
<!--
|
|
125
|
+
itemType and simpleType child are mutually exclusive,
|
|
126
|
+
one is required
|
|
127
|
+
-->
|
|
128
|
+
<!ELEMENT %union; ((%annotation;)?,(%simpleType;)*)>
|
|
129
|
+
<!ATTLIST %union;
|
|
130
|
+
id ID #IMPLIED
|
|
131
|
+
memberTypes %QNames; #IMPLIED
|
|
132
|
+
%unionAttrs;>
|
|
133
|
+
<!--
|
|
134
|
+
At least one item in memberTypes or one simpleType
|
|
135
|
+
child is required
|
|
136
|
+
-->
|
|
137
|
+
|
|
138
|
+
<!ELEMENT %maxExclusive; %facetModel;>
|
|
139
|
+
<!ATTLIST %maxExclusive;
|
|
140
|
+
%facetAttr;
|
|
141
|
+
%fixedAttr;
|
|
142
|
+
%maxExclusiveAttrs;>
|
|
143
|
+
<!ELEMENT %minExclusive; %facetModel;>
|
|
144
|
+
<!ATTLIST %minExclusive;
|
|
145
|
+
%facetAttr;
|
|
146
|
+
%fixedAttr;
|
|
147
|
+
%minExclusiveAttrs;>
|
|
148
|
+
|
|
149
|
+
<!ELEMENT %maxInclusive; %facetModel;>
|
|
150
|
+
<!ATTLIST %maxInclusive;
|
|
151
|
+
%facetAttr;
|
|
152
|
+
%fixedAttr;
|
|
153
|
+
%maxInclusiveAttrs;>
|
|
154
|
+
<!ELEMENT %minInclusive; %facetModel;>
|
|
155
|
+
<!ATTLIST %minInclusive;
|
|
156
|
+
%facetAttr;
|
|
157
|
+
%fixedAttr;
|
|
158
|
+
%minInclusiveAttrs;>
|
|
159
|
+
|
|
160
|
+
<!ELEMENT %totalDigits; %facetModel;>
|
|
161
|
+
<!ATTLIST %totalDigits;
|
|
162
|
+
%facetAttr;
|
|
163
|
+
%fixedAttr;
|
|
164
|
+
%totalDigitsAttrs;>
|
|
165
|
+
<!ELEMENT %fractionDigits; %facetModel;>
|
|
166
|
+
<!ATTLIST %fractionDigits;
|
|
167
|
+
%facetAttr;
|
|
168
|
+
%fixedAttr;
|
|
169
|
+
%fractionDigitsAttrs;>
|
|
170
|
+
|
|
171
|
+
<!ELEMENT %length; %facetModel;>
|
|
172
|
+
<!ATTLIST %length;
|
|
173
|
+
%facetAttr;
|
|
174
|
+
%fixedAttr;
|
|
175
|
+
%lengthAttrs;>
|
|
176
|
+
<!ELEMENT %minLength; %facetModel;>
|
|
177
|
+
<!ATTLIST %minLength;
|
|
178
|
+
%facetAttr;
|
|
179
|
+
%fixedAttr;
|
|
180
|
+
%minLengthAttrs;>
|
|
181
|
+
<!ELEMENT %maxLength; %facetModel;>
|
|
182
|
+
<!ATTLIST %maxLength;
|
|
183
|
+
%facetAttr;
|
|
184
|
+
%fixedAttr;
|
|
185
|
+
%maxLengthAttrs;>
|
|
186
|
+
|
|
187
|
+
<!-- This one can be repeated -->
|
|
188
|
+
<!ELEMENT %enumeration; %facetModel;>
|
|
189
|
+
<!ATTLIST %enumeration;
|
|
190
|
+
%facetAttr;
|
|
191
|
+
%enumerationAttrs;>
|
|
192
|
+
|
|
193
|
+
<!ELEMENT %whiteSpace; %facetModel;>
|
|
194
|
+
<!ATTLIST %whiteSpace;
|
|
195
|
+
%facetAttr;
|
|
196
|
+
%fixedAttr;
|
|
197
|
+
%whiteSpaceAttrs;>
|
|
198
|
+
|
|
199
|
+
<!-- This one can be repeated -->
|
|
200
|
+
<!ELEMENT %pattern; %facetModel;>
|
|
201
|
+
<!ATTLIST %pattern;
|
|
202
|
+
%facetAttr;
|
|
203
|
+
%patternAttrs;>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- filename=ims_xml.xsd -->
|
|
3
|
+
|
|
4
|
+
<xsd:schema xmlns="http://www.w3.org/XML/1998/namespace"
|
|
5
|
+
targetNamespace="http://www.w3.org/XML/1998/namespace"
|
|
6
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
7
|
+
elementFormDefault="qualified">
|
|
8
|
+
|
|
9
|
+
<!-- CHANGE HISTORY -->
|
|
10
|
+
<xsd:annotation>
|
|
11
|
+
<xsd:documentation>2001-02-22: Thomas Wason initial creation </xsd:documentation>
|
|
12
|
+
<xsd:documentation>In namespace-aware XML processors, the "xml" </xsd:documentation>
|
|
13
|
+
<xsd:documentation>prefix is bound to the namespace name http://www.w3.org/XML/1998/namespace.</xsd:documentation>
|
|
14
|
+
<xsd:documentation>Do not reference this file in XML instances </xsd:documentation>
|
|
15
|
+
<xsd:documentation>Schawn Thropp: Changed the uriReference type to string type</xsd:documentation>
|
|
16
|
+
<xsd:documentation>2001-07-26: S Thropp: Changed the XSD namespace to point to</xsd:documentation>
|
|
17
|
+
<xsd:documentation>Schema of schemas for the 5/2/2001 W3C Recommendation </xsd:documentation>
|
|
18
|
+
<xsd:documentation>Changed the XSD types for base and link to xsd:anyURI </xsd:documentation>
|
|
19
|
+
</xsd:annotation>
|
|
20
|
+
|
|
21
|
+
<xsd:attribute name="lang" type="xsd:language">
|
|
22
|
+
<xsd:annotation>
|
|
23
|
+
<xsd:documentation>Refers to universal XML 1.0 lang attribute</xsd:documentation>
|
|
24
|
+
</xsd:annotation>
|
|
25
|
+
</xsd:attribute>
|
|
26
|
+
|
|
27
|
+
<xsd:attribute name="base" type="xsd:anyURI">
|
|
28
|
+
<xsd:annotation>
|
|
29
|
+
<xsd:documentation>Refers to XML Base: http://www.w3.org/TR/xmlbase</xsd:documentation>
|
|
30
|
+
</xsd:annotation>
|
|
31
|
+
</xsd:attribute>
|
|
32
|
+
|
|
33
|
+
<xsd:attribute name="link" type="xsd:anyURI"/>
|
|
34
|
+
|
|
35
|
+
</xsd:schema>
|
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
<?xml version = "1.0" encoding = "UTF-8"?>
|
|
2
|
+
<!--Generated by Turbo XML 2.3.1.100. Conforms to w3c http://www.w3.org/2001/XMLSchema-->
|
|
3
|
+
<xsd:schema xmlns = "http://www.imsglobal.org/xsd/imscp_v1p1"
|
|
4
|
+
targetNamespace = "http://www.imsglobal.org/xsd/imscp_v1p1"
|
|
5
|
+
xmlns:xsd = "http://www.w3.org/2001/XMLSchema"
|
|
6
|
+
version = "IMS CP 1.1.3"
|
|
7
|
+
elementFormDefault = "unqualified">
|
|
8
|
+
<xsd:import namespace = "http://www.w3.org/XML/1998/namespace" schemaLocation = "xml.xsd"/>
|
|
9
|
+
<xsd:annotation>
|
|
10
|
+
<xsd:documentation xml:lang = "en">DRAFT XSD for IMS Content Packaging version 1.1 DRAFT </xsd:documentation>
|
|
11
|
+
<xsd:documentation> Copyright (c) 2001 IMS GLC, Inc. </xsd:documentation>
|
|
12
|
+
<xsd:documentation>2000-04-21, Adjustments by T.D. Wason from CP 1.0. </xsd:documentation>
|
|
13
|
+
<xsd:documentation>2001-02-22, T.D.Wason: Modify for 2000-10-24 XML-Schema version. </xsd:documentation>
|
|
14
|
+
<xsd:documentation> Modified to support extension. </xsd:documentation>
|
|
15
|
+
<xsd:documentation>2001-03-12, T.D.Wason: Change filename, target and meta-data namespaces </xsd:documentation>
|
|
16
|
+
<xsd:documentation> and meta-data filename. </xsd:documentation>
|
|
17
|
+
<xsd:documentation> Add meta-data to itemType, fileType and organizationType. </xsd:documentation>
|
|
18
|
+
<xsd:documentation> Do not define namespaces for xml in XML instances generated from this xsd. </xsd:documentation>
|
|
19
|
+
<xsd:documentation> Imports IMS meta-data xsd, lower case element names. </xsd:documentation>
|
|
20
|
+
<xsd:documentation> This XSD provides a reference to the IMS meta-data root element as imsmd:record </xsd:documentation>
|
|
21
|
+
<xsd:documentation> If the IMS meta-data is to be used in the XML instance then the instance </xsd:documentation>
|
|
22
|
+
<xsd:documentation> must definean IMS meta-data prefix with a namespace. </xsd:documentation>
|
|
23
|
+
<xsd:documentation> The meta-data targetNamespace should be used. </xsd:documentation>
|
|
24
|
+
<xsd:documentation>2001-03-20, Thor Anderson: Remove manifestref, change resourceref back to </xsd:documentation>
|
|
25
|
+
<xsd:documentation> identifierref, change manifest back to contained by manifest. </xsd:documentation>
|
|
26
|
+
<xsd:documentation> --Tom Wason: manifest may contain _none_ or more manifests. </xsd:documentation>
|
|
27
|
+
<xsd:documentation>2001-04-13 Tom Wason: corrected attirbute name structure. Was misnamed type. </xsd:documentation>
|
|
28
|
+
<xsd:documentation>2001-05-14 Schawn Thropp: Made all complexType extensible with the group.any </xsd:documentation>
|
|
29
|
+
<xsd:documentation> Added the anyAttribute to all complexTypes. </xsd:documentation>
|
|
30
|
+
<xsd:documentation> Changed the href attribute on the fileType and resourceType to xsd:string </xsd:documentation>
|
|
31
|
+
<xsd:documentation> Changed the maxLength of the href, identifierref, parameters, structure </xsd:documentation>
|
|
32
|
+
<xsd:documentation> attributes to match the Information model. </xsd:documentation>
|
|
33
|
+
<xsd:documentation>2001-07-25 Schawn Thropp: Changed the namespace for the Schema of Schemas to </xsd:documentation>
|
|
34
|
+
<xsd:documentation> the 5/2/2001 W3C XML Schema Recommendation. </xsd:documentation>
|
|
35
|
+
<xsd:documentation> attributeGroup attr.imsmd deleted, was not used anywhere. </xsd:documentation>
|
|
36
|
+
<xsd:documentation> Any attribute declarations that have use = "default" </xsd:documentation>
|
|
37
|
+
<xsd:documentation> changed to use="optional" - attr.structure.req. </xsd:documentation>
|
|
38
|
+
<xsd:documentation> Any attribute declarations that have value="somevalue" changed to </xsd:documentation>
|
|
39
|
+
<xsd:documentation> default="somevalue" - attr.structure.req (hierarchical). </xsd:documentation>
|
|
40
|
+
<xsd:documentation> Removed references to IMS MD Version 1.1. </xsd:documentation>
|
|
41
|
+
<xsd:documentation> Modified attribute group "attr.resourcetype.req" to change use from optional </xsd:documentation>
|
|
42
|
+
<xsd:documentation> to required to match the information model. As a result the default value </xsd:documentation>
|
|
43
|
+
<xsd:documentation> also needed to be removed </xsd:documentation>
|
|
44
|
+
<xsd:documentation> Name change for XSD. Changed to match version of CP Spec </xsd:documentation>
|
|
45
|
+
<xsd:documentation> 2001-11-04 Chris Moffatt: </xsd:documentation>
|
|
46
|
+
<xsd:documentation> 1. Refer to the xml namespace using the "x" abbreviation instead of "xml". </xsd:documentation>
|
|
47
|
+
<xsd:documentation> This changes enables the schema to work with commercial XML Tools </xsd:documentation>
|
|
48
|
+
<xsd:documentation> 2. Revert to original IMS CP version 1.1 namespace. </xsd:documentation>
|
|
49
|
+
<xsd:documentation> i.e. "http://www.imsglobal.org/xsd/imscp_v1p1" </xsd:documentation>
|
|
50
|
+
<xsd:documentation> This change done to support the decision to only change the XML namespace with </xsd:documentation>
|
|
51
|
+
<xsd:documentation> major revisions of the specification i.e. where the information model or binding</xsd:documentation>
|
|
52
|
+
<xsd:documentation> changes (as opposed to addressing bugs or omissions). A stable namespace is </xsd:documentation>
|
|
53
|
+
<xsd:documentation> necessary to the increasing number of implementors. </xsd:documentation>
|
|
54
|
+
<xsd:documentation> 3. Changed name of schema file to "imscp_v1p1p3.xsd" and </xsd:documentation>
|
|
55
|
+
<xsd:documentation> version attribute to "IMS CP 1.1.3" to reflect minor version change </xsd:documentation>
|
|
56
|
+
<xsd:documentation>Inclusions and Imports </xsd:documentation>
|
|
57
|
+
<xsd:documentation>Attribute Declarations </xsd:documentation>
|
|
58
|
+
<xsd:documentation>element groups </xsd:documentation>
|
|
59
|
+
<xsd:documentation>
|
|
60
|
+
|
|
61
|
+
</xsd:documentation>
|
|
62
|
+
<xsd:documentation>2003-03-21 Schawn Thropp </xsd:documentation>
|
|
63
|
+
<xsd:documentation>The following updates were made to the Version 1.1.3 "Public Draft" version: </xsd:documentation>
|
|
64
|
+
<xsd:documentation> 1. Updated name of schema file (imscp_v1p1.xsd) to match to IMS naming guideance </xsd:documentation>
|
|
65
|
+
<xsd:documentation> 2. Updated the import statement to reference the xml.xsd found at </xsd:documentation>
|
|
66
|
+
<xsd:documentation> "http://www.w3.org/2001/03/xml.xsd". This is the current W3C schema </xsd:documentation>
|
|
67
|
+
<xsd:documentation> recommended by the W3C to reference. </xsd:documentation>
|
|
68
|
+
<xsd:documentation> 3. Removed all maxLength's facets. The maxLength facets was an incorrect binding </xsd:documentation>
|
|
69
|
+
<xsd:documentation> implementation. These lengths were supposed, according to the information </xsd:documentation>
|
|
70
|
+
<xsd:documentation> model, to be treated as smallest permitted maximums. </xsd:documentation>
|
|
71
|
+
<xsd:documentation> 4. Added the variations content model to support the addition in the information </xsd:documentation>
|
|
72
|
+
<xsd:documentation> model. </xsd:documentation>
|
|
73
|
+
</xsd:annotation>
|
|
74
|
+
<xsd:group name = "grp.any">
|
|
75
|
+
<xsd:annotation>
|
|
76
|
+
<xsd:documentation>Any namespaced element from any namespace may be included within an "any" element. The namespace for the imported element must be defined in the instance, and the schema must be imported. </xsd:documentation>
|
|
77
|
+
</xsd:annotation>
|
|
78
|
+
<xsd:sequence>
|
|
79
|
+
<xsd:any namespace = "##other" processContents = "strict" minOccurs = "0" maxOccurs = "unbounded"/>
|
|
80
|
+
</xsd:sequence>
|
|
81
|
+
</xsd:group>
|
|
82
|
+
<xsd:attributeGroup name = "attr.version">
|
|
83
|
+
<xsd:attribute name = "version" type = "xsd:string"/>
|
|
84
|
+
</xsd:attributeGroup>
|
|
85
|
+
<xsd:attributeGroup name = "attr.structure.req">
|
|
86
|
+
<xsd:attribute name = "structure" default = "hierarchical" type = "xsd:string"/>
|
|
87
|
+
</xsd:attributeGroup>
|
|
88
|
+
<xsd:attributeGroup name = "attr.resourcetype.req">
|
|
89
|
+
<xsd:attribute name = "type" use = "required" type = "xsd:string"/>
|
|
90
|
+
</xsd:attributeGroup>
|
|
91
|
+
<xsd:attributeGroup name = "attr.identifierref.req">
|
|
92
|
+
<xsd:attribute name = "identifierref" use = "required" type = "xsd:string"/>
|
|
93
|
+
</xsd:attributeGroup>
|
|
94
|
+
<xsd:attributeGroup name = "attr.identifierref">
|
|
95
|
+
<xsd:attribute name = "identifierref" type = "xsd:string"/>
|
|
96
|
+
</xsd:attributeGroup>
|
|
97
|
+
<xsd:attributeGroup name = "attr.parameters">
|
|
98
|
+
<xsd:attribute name = "parameters" type = "xsd:string"/>
|
|
99
|
+
</xsd:attributeGroup>
|
|
100
|
+
<xsd:attributeGroup name = "attr.isvisible">
|
|
101
|
+
<xsd:attribute name = "isvisible" type = "xsd:boolean"/>
|
|
102
|
+
</xsd:attributeGroup>
|
|
103
|
+
<xsd:attributeGroup name = "attr.identifier">
|
|
104
|
+
<xsd:attribute name = "identifier" type = "xsd:ID"/>
|
|
105
|
+
</xsd:attributeGroup>
|
|
106
|
+
<xsd:attributeGroup name = "attr.identifier.req">
|
|
107
|
+
<xsd:attribute name = "identifier" use = "required" type = "xsd:ID"/>
|
|
108
|
+
</xsd:attributeGroup>
|
|
109
|
+
<xsd:attributeGroup name = "attr.href.req">
|
|
110
|
+
<xsd:attribute name = "href" use = "required" type = "xsd:anyURI"/>
|
|
111
|
+
</xsd:attributeGroup>
|
|
112
|
+
<xsd:attributeGroup name = "attr.href">
|
|
113
|
+
<xsd:attribute name = "href" type = "xsd:anyURI"/>
|
|
114
|
+
</xsd:attributeGroup>
|
|
115
|
+
<xsd:attributeGroup name = "attr.default">
|
|
116
|
+
<xsd:attribute name = "default" type = "xsd:IDREF"/>
|
|
117
|
+
</xsd:attributeGroup>
|
|
118
|
+
<xsd:attributeGroup name = "attr.base">
|
|
119
|
+
<xsd:attribute ref = "xml:base"/>
|
|
120
|
+
</xsd:attributeGroup>
|
|
121
|
+
|
|
122
|
+
<!-- Copyright (2) 2003 IMS Global Learning Consortium, Inc. -->
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
<!-- ******************** -->
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
<!-- ** Change History ** -->
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
<!-- ******************** -->
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
<!-- **************************** -->
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
<!-- ** Attribute Declarations ** -->
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
<!-- **************************** -->
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
<!-- ************************** -->
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
<!-- ** Element Declarations ** -->
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
<!-- ************************** -->
|
|
150
|
+
|
|
151
|
+
<xsd:element name = "dependency" type = "dependencyType"/>
|
|
152
|
+
<xsd:element name = "file" type = "fileType"/>
|
|
153
|
+
<xsd:element name = "item" type = "itemType"/>
|
|
154
|
+
<xsd:element name = "manifest" type = "manifestType"/>
|
|
155
|
+
<xsd:element name = "metadata" type = "metadataType"/>
|
|
156
|
+
<xsd:element name = "organization" type = "organizationType"/>
|
|
157
|
+
<xsd:element name = "organizations" type = "organizationsType"/>
|
|
158
|
+
<xsd:element name = "resource" type = "resourceType"/>
|
|
159
|
+
<xsd:element name = "resources" type = "resourcesType"/>
|
|
160
|
+
<xsd:element name = "schema" type = "schemaType"/>
|
|
161
|
+
<xsd:element name = "schemaversion" type = "schemaversionType"/>
|
|
162
|
+
<xsd:element name = "title" type = "titleType"/>
|
|
163
|
+
|
|
164
|
+
<!-- ******************* -->
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
<!-- ** Complex Types ** -->
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
<!-- ******************* -->
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
<!-- **************** -->
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
<!-- ** dependency ** -->
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
<!-- **************** -->
|
|
180
|
+
|
|
181
|
+
<xsd:complexType name = "dependencyType">
|
|
182
|
+
<xsd:sequence>
|
|
183
|
+
<xsd:group ref = "grp.any"/>
|
|
184
|
+
</xsd:sequence>
|
|
185
|
+
<xsd:attributeGroup ref = "attr.identifierref.req"/>
|
|
186
|
+
<xsd:anyAttribute namespace = "##other" processContents = "strict"/>
|
|
187
|
+
</xsd:complexType>
|
|
188
|
+
|
|
189
|
+
<!-- ********** -->
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
<!-- ** file ** -->
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
<!-- ********** -->
|
|
196
|
+
|
|
197
|
+
<xsd:complexType name = "fileType">
|
|
198
|
+
<xsd:sequence>
|
|
199
|
+
<xsd:element ref = "metadata" minOccurs = "0"/>
|
|
200
|
+
<xsd:group ref = "grp.any"/>
|
|
201
|
+
</xsd:sequence>
|
|
202
|
+
<xsd:attributeGroup ref = "attr.href.req"/>
|
|
203
|
+
<xsd:anyAttribute namespace = "##other" processContents = "strict"/>
|
|
204
|
+
</xsd:complexType>
|
|
205
|
+
|
|
206
|
+
<!-- ********** -->
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
<!-- ** item ** -->
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
<!-- ********** -->
|
|
213
|
+
|
|
214
|
+
<xsd:complexType name = "itemType">
|
|
215
|
+
<xsd:sequence>
|
|
216
|
+
<xsd:element ref = "title" minOccurs = "0"/>
|
|
217
|
+
<xsd:element ref = "item" minOccurs = "0" maxOccurs = "unbounded"/>
|
|
218
|
+
<xsd:element ref = "metadata" minOccurs = "0"/>
|
|
219
|
+
<xsd:group ref = "grp.any"/>
|
|
220
|
+
</xsd:sequence>
|
|
221
|
+
<xsd:attributeGroup ref = "attr.identifier.req"/>
|
|
222
|
+
<xsd:attributeGroup ref = "attr.identifierref"/>
|
|
223
|
+
<xsd:attributeGroup ref = "attr.isvisible"/>
|
|
224
|
+
<xsd:attributeGroup ref = "attr.parameters"/>
|
|
225
|
+
<xsd:anyAttribute namespace = "##other" processContents = "strict"/>
|
|
226
|
+
</xsd:complexType>
|
|
227
|
+
|
|
228
|
+
<!-- ************** -->
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
<!-- ** manifest ** -->
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
<!-- ************** -->
|
|
235
|
+
|
|
236
|
+
<xsd:complexType name = "manifestType">
|
|
237
|
+
<xsd:sequence>
|
|
238
|
+
<xsd:element ref = "metadata" minOccurs = "0"/>
|
|
239
|
+
<xsd:element ref = "organizations"/>
|
|
240
|
+
<xsd:element ref = "resources"/>
|
|
241
|
+
<xsd:element ref = "manifest" minOccurs = "0" maxOccurs = "unbounded"/>
|
|
242
|
+
<xsd:group ref = "grp.any"/>
|
|
243
|
+
</xsd:sequence>
|
|
244
|
+
<xsd:attributeGroup ref = "attr.identifier.req"/>
|
|
245
|
+
<xsd:attributeGroup ref = "attr.version"/>
|
|
246
|
+
<xsd:attribute ref = "xml:base"/>
|
|
247
|
+
<xsd:anyAttribute namespace = "##other" processContents = "strict"/>
|
|
248
|
+
</xsd:complexType>
|
|
249
|
+
|
|
250
|
+
<!-- ************** -->
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
<!-- ** metadata ** -->
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
<!-- ************** -->
|
|
257
|
+
|
|
258
|
+
<xsd:complexType name = "metadataType">
|
|
259
|
+
<xsd:sequence>
|
|
260
|
+
<xsd:element ref = "schema" minOccurs = "0"/>
|
|
261
|
+
<xsd:element ref = "schemaversion" minOccurs = "0"/>
|
|
262
|
+
<xsd:group ref = "grp.any"/>
|
|
263
|
+
</xsd:sequence>
|
|
264
|
+
</xsd:complexType>
|
|
265
|
+
|
|
266
|
+
<!-- ******************* -->
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
<!-- ** organizations ** -->
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
<!-- ******************* -->
|
|
273
|
+
|
|
274
|
+
<xsd:complexType name = "organizationsType">
|
|
275
|
+
<xsd:sequence>
|
|
276
|
+
<xsd:element ref = "organization" minOccurs = "0" maxOccurs = "unbounded"/>
|
|
277
|
+
<xsd:group ref = "grp.any"/>
|
|
278
|
+
</xsd:sequence>
|
|
279
|
+
<xsd:attributeGroup ref = "attr.default"/>
|
|
280
|
+
<xsd:anyAttribute namespace = "##other" processContents = "strict"/>
|
|
281
|
+
</xsd:complexType>
|
|
282
|
+
|
|
283
|
+
<!-- ****************** -->
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
<!-- ** organization ** -->
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
<!-- ****************** -->
|
|
290
|
+
|
|
291
|
+
<xsd:complexType name = "organizationType">
|
|
292
|
+
<xsd:sequence>
|
|
293
|
+
<xsd:element ref = "title" minOccurs = "0"/>
|
|
294
|
+
<xsd:element ref = "item" minOccurs = "0" maxOccurs = "unbounded"/>
|
|
295
|
+
<xsd:element ref = "metadata" minOccurs = "0"/>
|
|
296
|
+
<xsd:group ref = "grp.any"/>
|
|
297
|
+
</xsd:sequence>
|
|
298
|
+
<xsd:attributeGroup ref = "attr.identifier.req"/>
|
|
299
|
+
<xsd:attributeGroup ref = "attr.structure.req"/>
|
|
300
|
+
<xsd:anyAttribute namespace = "##other" processContents = "strict"/>
|
|
301
|
+
</xsd:complexType>
|
|
302
|
+
|
|
303
|
+
<!-- *************** -->
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
<!-- ** resources ** -->
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
<!-- *************** -->
|
|
310
|
+
|
|
311
|
+
<xsd:complexType name = "resourcesType">
|
|
312
|
+
<xsd:sequence>
|
|
313
|
+
<xsd:element ref = "resource" minOccurs = "0" maxOccurs = "unbounded"/>
|
|
314
|
+
<xsd:group ref = "grp.any"/>
|
|
315
|
+
</xsd:sequence>
|
|
316
|
+
<xsd:attributeGroup ref = "attr.base"/>
|
|
317
|
+
<xsd:anyAttribute namespace = "##other" processContents = "strict"/>
|
|
318
|
+
</xsd:complexType>
|
|
319
|
+
|
|
320
|
+
<!-- ************** -->
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
<!-- ** resource ** -->
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
<!-- ************** -->
|
|
327
|
+
|
|
328
|
+
<xsd:complexType name = "resourceType">
|
|
329
|
+
<xsd:sequence>
|
|
330
|
+
<xsd:element ref = "metadata" minOccurs = "0"/>
|
|
331
|
+
<xsd:element ref = "file" minOccurs = "0" maxOccurs = "unbounded"/>
|
|
332
|
+
<xsd:element ref = "dependency" minOccurs = "0" maxOccurs = "unbounded"/>
|
|
333
|
+
<xsd:group ref = "grp.any"/>
|
|
334
|
+
</xsd:sequence>
|
|
335
|
+
<xsd:attributeGroup ref = "attr.identifier.req"/>
|
|
336
|
+
<xsd:attributeGroup ref = "attr.resourcetype.req"/>
|
|
337
|
+
<xsd:attributeGroup ref = "attr.base"/>
|
|
338
|
+
<xsd:attributeGroup ref = "attr.href"/>
|
|
339
|
+
<xsd:anyAttribute namespace = "##other" processContents = "strict"/>
|
|
340
|
+
</xsd:complexType>
|
|
341
|
+
|
|
342
|
+
<!-- *************** -->
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
<!-- ** variation ** -->
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
<!-- *************** -->
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
<!-- ****************** -->
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
<!-- ** Simple Types ** -->
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
<!-- ****************** -->
|
|
358
|
+
|
|
359
|
+
<xsd:simpleType name = "schemaType">
|
|
360
|
+
<xsd:restriction base = "xsd:string"/>
|
|
361
|
+
</xsd:simpleType>
|
|
362
|
+
<xsd:simpleType name = "schemaversionType">
|
|
363
|
+
<xsd:restriction base = "xsd:string"/>
|
|
364
|
+
</xsd:simpleType>
|
|
365
|
+
<xsd:simpleType name = "titleType">
|
|
366
|
+
<xsd:restriction base = "xsd:string"/>
|
|
367
|
+
</xsd:simpleType>
|
|
368
|
+
</xsd:schema>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<?xml version = "1.0" encoding = "UTF-8"?>
|
|
2
|
+
<!--Generated by Turbo XML 2.3.1.100. Conforms to w3c http://www.w3.org/2001/XMLSchema-->
|
|
3
|
+
<xs:schema xmlns = "http://www.imsglobal.org/xsd/imsss"
|
|
4
|
+
targetNamespace = "http://www.imsglobal.org/xsd/imsss"
|
|
5
|
+
xmlns:xs = "http://www.w3.org/2001/XMLSchema"
|
|
6
|
+
elementFormDefault = "qualified"
|
|
7
|
+
attributeFormDefault = "unqualified">
|
|
8
|
+
<xs:include schemaLocation = "imsss_v1p0seqrule.xsd"/>
|
|
9
|
+
<xs:include schemaLocation = "imsss_v1p0objective.xsd"/>
|
|
10
|
+
<xs:include schemaLocation = "imsss_v1p0delivery.xsd"/>
|
|
11
|
+
<xs:include schemaLocation = "imsss_v1p0random.xsd"/>
|
|
12
|
+
<xs:include schemaLocation = "imsss_v1p0rollup.xsd"/>
|
|
13
|
+
<xs:include schemaLocation = "imsss_v1p0control.xsd"/>
|
|
14
|
+
<xs:include schemaLocation = "imsss_v1p0limit.xsd"/>
|
|
15
|
+
<xs:include schemaLocation = "imsss_v1p0auxresource.xsd"/>
|
|
16
|
+
<xs:element name = "sequencing" type = "sequencingType"
|
|
17
|
+
block = "#all">
|
|
18
|
+
<xs:annotation>
|
|
19
|
+
<xs:documentation>The root element for all sequencing tags. This tag will usually appear as a child element to an IMS CP item tag.</xs:documentation>
|
|
20
|
+
</xs:annotation>
|
|
21
|
+
</xs:element>
|
|
22
|
+
<xs:complexType name = "sequencingType">
|
|
23
|
+
<xs:annotation>
|
|
24
|
+
<xs:documentation>The type associated with any top-level sequencing tag</xs:documentation>
|
|
25
|
+
</xs:annotation>
|
|
26
|
+
<xs:sequence>
|
|
27
|
+
<xs:element name = "controlMode" type = "controlModeType"
|
|
28
|
+
block = "#all" minOccurs = "0">
|
|
29
|
+
<xs:annotation>
|
|
30
|
+
<xs:documentation>non-exclusive definition of acceptable control-modes</xs:documentation>
|
|
31
|
+
</xs:annotation>
|
|
32
|
+
</xs:element>
|
|
33
|
+
<xs:element name = "sequencingRules" type = "sequencingRulesType"
|
|
34
|
+
block = "#all" minOccurs = "0"/>
|
|
35
|
+
<xs:element name = "limitConditions" type = "limitConditionsType"
|
|
36
|
+
block = "#all" minOccurs = "0"/>
|
|
37
|
+
<xs:element name = "auxiliaryResources" type = "auxiliaryResourcesType"
|
|
38
|
+
block = "#all" minOccurs = "0"/>
|
|
39
|
+
<xs:element name = "rollupRules" type = "rollupRulesType"
|
|
40
|
+
block = "#all" minOccurs = "0"/>
|
|
41
|
+
<xs:element name = "objectives" type = "objectivesType"
|
|
42
|
+
block = "#all" minOccurs = "0">
|
|
43
|
+
<!--
|
|
44
|
+
<xs:unique name = "uniqueGlobalObjective">
|
|
45
|
+
<xs:selector xpath = ".//imsss:mapInfo[@writeSatisfiedStatus = 'true' or @writeNormalizedMeasure = 'true']"/>
|
|
46
|
+
<xs:field xpath = "@targetObjectiveID"/>
|
|
47
|
+
</xs:unique>
|
|
48
|
+
-->
|
|
49
|
+
</xs:element>
|
|
50
|
+
<xs:element name = "randomizationControls" type = "randomizationType"
|
|
51
|
+
block = "#all" minOccurs = "0"/>
|
|
52
|
+
<xs:element name = "deliveryControls" type = "deliveryControlsType"
|
|
53
|
+
block = "#all" minOccurs = "0"/>
|
|
54
|
+
<xs:any namespace = "##other" processContents = "strict" minOccurs = "0" maxOccurs = "unbounded"/>
|
|
55
|
+
</xs:sequence>
|
|
56
|
+
<xs:attribute name = "ID" type = "xs:ID"/>
|
|
57
|
+
<xs:attribute name = "IDRef" type = "xs:IDREF"/>
|
|
58
|
+
</xs:complexType>
|
|
59
|
+
<xs:element name = "sequencingCollection"
|
|
60
|
+
block = "#all">
|
|
61
|
+
<xs:complexType>
|
|
62
|
+
<xs:sequence>
|
|
63
|
+
<xs:element ref = "sequencing" maxOccurs = "unbounded"/>
|
|
64
|
+
</xs:sequence>
|
|
65
|
+
</xs:complexType>
|
|
66
|
+
</xs:element>
|
|
67
|
+
</xs:schema>
|