<?xml version="1.0" encoding="UTF-8" standalone="no"?><!--
  ~ Copyright (c) 2010-2014 Evolveum and contributors
  ~
  ~ Licensed under the EUPL-1.2 or later.
  --><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" elementFormDefault="qualified" targetNamespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting/extension-3">

    <xsd:annotation>
        <xsd:documentation>
            Scripting task extensions.
        </xsd:documentation>
        <xsd:appinfo>
            <a:defaultPrefix>se</a:defaultPrefix>
        </xsd:appinfo>
    </xsd:annotation>

    <xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" schemaLocation="scripting-3.xsd"/>

    <xsd:element name="executeScript" type="s:ExecuteScriptType">
        <xsd:annotation>
            <xsd:documentation>
                Script to be executed.
            </xsd:documentation>
            <xsd:appinfo>
                <a:displayName>TaskExtension.executeScript</a:displayName>
                <a:maxOccurs>1</a:maxOccurs>            <!-- TODO (maybe there could be more scripts) -->
                <a:indexed>false</a:indexed>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:element>
</xsd:schema>