Sha256: 44aac6d4ba5d279f7c483883fa1dd907c7afd3f2e1e481734cb5445228c824ad

Contents?: true

Size: 1.35 KB

Versions: 1

Compression:

Stored size: 1.35 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
  <xs:include schemaLocation="extended.xsd"/>
  <xs:element name="Individual" type="individualType"/>
  <xs:complexType name="individualType">
    <xs:sequence>
      <xs:element name="Name" type="xs:string">
        <xs:annotation>
          <xs:documentation>The individual's name</xs:documentation>
          <xs:documentation>Example: Wussy O'Weakling</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Age" type="xs:nonNegativeInteger" minOccurs="0"/>
      <xs:element name="Joy" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="percentType">
            <xs:minInclusive value="0"/>
            <xs:maxInclusive value="100"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="Pickled" type="xs:boolean" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Whether or not this individual is pickled</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PartyId" type="xs:string">
        <xs:annotation>
          <xs:documentation>Which funtime party this individual happy with is</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spectifly-0.0.6 spec/expectations/presented/positionless_individual.xsd