/open-dm-mi/solutions/usa-patient/USAPatient/src/Configuration/schema/midm.xsd
XML Schema | 248 lines | 247 code | 1 blank | 0 comment | 0 complexity | 096cd94ef55023233ca5dbb84043a540 MD5 | raw file
Possible License(s): BSD-3-Clause, LGPL-2.0
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
- #
- # Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.
- #
- # The contents of this file are subject to the terms of the Common
- # Development and Distribution License ("CDDL")(the "License"). You
- # may not use this file except in compliance with the License.
- #
- # You can obtain a copy of the License at
- # https://open-dm-mi.dev.java.net/cddl.html
- # or open-dm-mi/bootstrap/legal/license.txt. See the License for the
- # specific language governing permissions and limitations under the
- # License.
- #
- # When distributing the Covered Code, include this CDDL Header Notice
- # in each file and include the License file at
- # open-dm-mi/bootstrap/legal/license.txt.
- # If applicable, add the following below this CDDL Header, with the
- # fields enclosed by brackets [] replaced by your own identifying
- # information: "Portions Copyrighted [year] [name of copyright owner]"
- -->
-
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
- <xs:element name="midm">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="node" minOccurs="1" maxOccurs="unbounded"/>
- <xs:element name="relationships" minOccurs="1" maxOccurs="1"/>
- <xs:element name="impl-details" type="implDetailType" minOccurs="1" maxOccurs="1"/>
- <xs:element name="gui-definition" type="guiDefinitionType" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="name" type="xs:string"/>
- <xs:element name="display-name" type="xs:string"/>
- <xs:element name="local-id" type="xs:string"/>
- <xs:element name="initial-screen-id" type="idOrderType"/>
- <xs:element name="screen-id" type="idOrderType"/>
- <xs:element name="display-order" type="idOrderType"/>
- <xs:element name="max-length" type="xs:positiveInteger"/>
- <xs:element name="gui-type" type="xs:string"/>
- <xs:element name="value-list" type="xs:string"/>
- <xs:element name="input-mask" type="xs:string"/>
- <xs:element name="value-mask" type="xs:string"/>
- <xs:element name="value-type" type="xs:string"/>
- <xs:element name="is-sensitive" type="xs:boolean"/>
- <xs:element name="key-type" type="xs:boolean"/>
- <xs:element name="root-object" type="xs:string"/>
- <xs:element name="tab-name" type="xs:string"/>
- <xs:element name="report-name" type="xs:string"/>
- <xs:element name="enable" type="xs:boolean"/>
- <xs:element name="allow-insert" type="xs:boolean"/>
- <xs:element name="field">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="name"/>
- <xs:element ref="display-name"/>
- <xs:element ref="display-order"/>
- <xs:element ref="max-length"/>
- <xs:element ref="gui-type"/>
- <xs:element ref="value-list" minOccurs="0"/>
- <xs:element ref="input-mask" minOccurs="0"/>
- <xs:element ref="value-mask" minOccurs="0"/>
- <xs:element ref="value-type"/>
- <xs:element ref="is-sensitive" minOccurs="0"/>
- <xs:element ref="key-type"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="node">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="name"/>
- <xs:element ref="field" minOccurs="1" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="search-pages" type="searchPagesType"/>
- <xs:element name="search-result-pages" type="searchResultPagesType"/>
- <xs:complexType name="guiDefinitionType">
- <xs:sequence>
- <xs:element name="page-definition" type="qwsDefinitionType"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="qwsDefinitionType">
- <xs:sequence>
- <xs:element ref="local-id" minOccurs="0" maxOccurs="1"/>
- <xs:element ref="initial-screen-id" minOccurs="0" maxOccurs="1"/>
- <xs:element name="dashboard" type="sourceRecordReportsType"/>
- <xs:element name="record-details" type="commonBlockType"/>
- <xs:element name="transactions" type="commonBlockType"/>
- <xs:element name="duplicate-records" type="commonBlockType"/>
- <xs:element name="assumed-matches" type="commonBlockType"/>
- <xs:element name="source-record" type="sourceRecordReportsType"/>
- <xs:element name="reports" type="sourceRecordReportsType"/>
- <xs:element name="audit-log" type="commonBlockType"/>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="idOrderType">
- <xs:restriction base="xs:int">
- <xs:minInclusive id="short.minInclusive" value="0"/>
- <xs:maxInclusive id="short.maxInclusive" value="32767"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="simpleSearchPageType">
- <xs:sequence>
- <xs:element name="screen-title" type="xs:string" minOccurs="0"/>
- <xs:element ref="report-name" minOccurs="0" maxOccurs="1"/>
- <xs:element name="search-result-id" type="idOrderType" minOccurs="0"/>
- <xs:element name="search-screen-order" type="idOrderType" minOccurs="0"/>
- <xs:element name="show-euid" type="xs:boolean" minOccurs="0"/>
- <xs:element name="show-lid" type="xs:boolean" minOccurs="0"/>
- <xs:element name="show-status" type="xs:boolean" minOccurs="0"/>
- <xs:element name="show-create-date" type="xs:boolean" minOccurs="0"/>
- <xs:element name="show-create-time" type="xs:boolean" minOccurs="0"/>
- <xs:element name="show-timestamp" type="xs:boolean" minOccurs="0"/>
- <xs:element name="instruction" type="xs:string" minOccurs="0"/>
- <xs:element name="field-group" type="fieldGroupType" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="search-option" type="searchOptionType" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="searchPagesType">
- <xs:sequence>
- <xs:element name="simple-search-page" type="simpleSearchPageType" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="searchResultPagesType">
- <xs:sequence>
- <xs:element name="search-result-list-page" type="searchResultListPageType" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="subscreenType">
- <xs:sequence>
- <xs:element ref="enable" minOccurs="0"/>
- <xs:element ref="root-object"/>
- <xs:element ref="tab-name"/>
- <xs:element ref="report-name" minOccurs="0" maxOccurs="1"/>
- <xs:element ref="screen-id"/>
- <xs:element ref="display-order"/>
- <xs:element ref="search-pages" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="search-result-pages" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="sourceRecordReportsType">
- <xs:sequence>
- <xs:element ref="root-object"/>
- <xs:element ref="tab-name"/>
- <xs:element ref="screen-id"/>
- <xs:element ref="display-order"/>
- <xs:element ref="search-pages" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="search-result-pages" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="subscreen-configurations">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="subscreen" type="subscreenType" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="fieldGroupType">
- <xs:sequence>
- <xs:element name="description" type="xs:string" minOccurs="0"/>
- <xs:element name="field-ref" minOccurs="0" maxOccurs="98">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="required">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="choice">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="searchOptionType">
- <xs:sequence>
- <xs:element name="display-name" type="xs:string"/>
- <xs:element name="query-builder" type="xs:string"/>
- <xs:element name="weighted" type="xs:boolean"/>
- <xs:element name="candidate-threshold" type="xs:int" minOccurs="0" maxOccurs="1"/>
- <xs:element name="parameter" type="searchOptionParameterType" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="searchOptionParameterType">
- <xs:sequence>
- <xs:element name="name" type="xs:string"/>
- <xs:element name="value" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="searchResultListPageType">
- <xs:sequence>
- <xs:element name="search-result-id" type="idOrderType"/>
- <xs:element name="item-per-page" type="xs:positiveInteger"/>
- <xs:element name="max-result-size" type="xs:positiveInteger"/>
- <xs:element name="show-euid" type="xs:boolean" minOccurs="0"/>
- <xs:element name="show-lid" type="xs:boolean" minOccurs="0"/>
- <xs:element name="show-status" type="xs:boolean" minOccurs="0"/>
- <xs:element name="show-create-date" type="xs:boolean" minOccurs="0"/>
- <xs:element name="show-create-time" type="xs:boolean" minOccurs="0"/>
- <xs:element name="show-timestamp" type="xs:boolean" minOccurs="0"/>
- <xs:element name="field-ref" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="field-group" type="fieldGroupType" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="commonBlockType">
- <xs:sequence>
- <xs:element ref="allow-insert" minOccurs="0"/>
- <xs:element ref="root-object"/>
- <xs:element ref="tab-name"/>
- <xs:element ref="screen-id"/>
- <xs:element ref="display-order"/>
- <xs:element ref="search-pages" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="search-result-pages" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence>
- </xs:complexType>
- <xs:element name="relationships">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="name" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="children" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="implDetailType">
- <xs:sequence>
- <xs:element name="master-controller-jndi-name" type="xs:string"/>
- <xs:element name="validation-service-jndi-name" type="xs:string"/>
- <xs:element name="usercode-jndi-name" type="xs:string"/>
- <xs:element name="reportgenerator-jndi-name" type="xs:string"/>
- <xs:element name="debug-flag" type="xs:boolean" minOccurs="0"/>
- <xs:element name="debug-dest" type="xs:string" minOccurs="0"/>
- <xs:element name="enable-security" type="xs:boolean" default="true" minOccurs="0"/>
- <xs:element name="object-sensitive-plug-in-class" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:schema>