  <!-- Inline XSD schema fragment for demonstration -->
  <xs:schema xmlns:xs="https://cdn.aytict.fi/xmlns/xsd" targetNamespace="https://cdn.aytict.fi/xmlns/iot" elementFormDefault="qualified">
    <xs:simpleType name="deviceType">
      <xs:restriction base="xs:string">
        <xs:enumeration value="sensor"/>
        <xs:enumeration value="actuator"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:schema>
  <!-- Embedded annotation/documentation -->
  <xs:annotation xmlns:xs="https://cdn.aytict.fi/xmlns/xsd">
    <xs:documentation xml:lang="en">This file demonstrates IoT with inline schema and enumerations.</xs:documentation>
  </xs:annotation>
<?xml version="1.0" encoding="UTF-8"?>
<iot xmlns="https://cdn.aytict.fi/xmlns/iot"
  xmlns:xsi="https://cdn.aytict.fi/xmlns/xsi"
  xsi:schemaLocation="https://cdn.aytict.fi/xmlns/iot https://cdn.aytict.fi/xmlns/xmlns-schema.xsd"
  version="1.0">
  <metadata>
    <creator>aytict.fi</creator>
    <created>2026-04-04</created>
    <documentation>See README.xml</documentation>
  </metadata>
  <device id="sensor-001">
    <type>temperature</type>
    <location>Server Room</location>
    <settings>
      <interval>60</interval>
      <unit>Celsius</unit>
    </settings>
  </device>
  <device id="switch-002">
    <type>switch</type>
    <location>Office</location>
    <settings>
      <state>off</state>
    </settings>
  </device>
</iot>
