[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Proposal for custom extension
Good day, We were tasked with providing a non-normative template for generating custom extensions for ECF5. Attached in an XSD sample for consideration, thank you.
|
<?xml version="1.0" encoding="US-ASCII"?> <xs:schema targetNamespace="https://fileandservexpress.com/schema/ecf/v5.0/extensions" xmlns="https://fileandservexpress.com/schema/ecf/v5.0/extensions" xmlns:fsx="https://fileandservexpress.com/schema/ecf/v5.0/extensions" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:nc="http://release.niem.gov/niem/niem-core/4.0/" xmlns:structures="http://release.niem.gov/niem/structures/4.0/" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="5.0"> <xs:annotation> <xs:documentation>Schema for File&Serve Xpress extensions, namespace https://fileandservexpress.com/schema/ecf/v5.0/extensions</xs:documentation> </xs:annotation> <xs:import namespace="http://release.niem.gov/niem/niem-core/4.0/" schemaLocation="https://docs.oasis-open.org/legalxml-courtfiling/ecf/v5.0/cs01/schema/niem/niem-core/4.0/niem-core.xsd" /> <xs:import namespace="http://release.niem.gov/niem/structures/4.0/" schemaLocation="https://docs.oasis-open.org/legalxml-courtfiling/ecf/v5.0/cs01/schema/niem/utility/structures/4.0/structures.xsd" /> <!-- DO NOT edit/modify schema files from ECF 5.0 core specification DO NOT inherit and extend existing types, e.g. nc:PersonType DO create custom Augmentation types for relevant ECF or NIEM type augmentation points in additional files, e.g. nc:PersonAugmentationPoint DO use substitutionGroup to attach custom elements to augmentation points DO NOT use the NIEM 4.0 schema from https://release.niem.gov DO use the variant of NIEM 4.0 included with ECF 5.0 from https://docs.oasis-open.org/legalxml-courtfiling/ecf/v5.0/cs01/schema/niem Should only be one of each type --> <xs:complexType name="PersonAugmentationType"> <xs:annotation> <xs:documentation>FileAndServeXpress Person augmentation.</xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="structures:AugmentationType"> <xs:sequence> <xs:element ref="fsx:FsxIdentifier" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="OrganizationAugmentationType"> <xs:annotation> <xs:documentation>FileAndServeXpress Organization augmentation.</xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="structures:AugmentationType"> <xs:sequence> <xs:element ref="fsx:FsxIdentifier" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="FsxIdentifier" type="nc:TextType"> <xs:annotation> <xs:documentation>An FSX identifier.</xs:documentation> </xs:annotation> </xs:element> <!-- Use substitutionGroup to add FsxPersonAugmentation as a possible element for nc:PersonAugmentationPoint --> <xs:element name="FsxPersonAugmentation" type="fsx:PersonAugmentationType" substitutionGroup="nc:PersonAugmentationPoint"> <xs:annotation> <xs:documentation>FSX extension for nc:Person.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="FsxOrganizationAugmentation" type="fsx:OrganizationAugmentationType" substitutionGroup="nc:OrganizationAugmentationPoint"> <xs:annotation> <xs:documentation>FSX extension for nc:Organization.</xs:documentation> </xs:annotation> </xs:element> </xs:schema>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]