<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" vc:minVersion="1.1" elementFormDefault="unqualified" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:sawsdl="http://www.w3.org/ns/sawsdl">
  <xs:include schemaLocation="../agent/schema.xsd"/>
  <xs:complexType name="funding_reference" sawsdl:modelReference="https://model.ccmm.cz/vocabulary/datacite#FundingReference">
    <xs:annotation>
      <xs:documentation xml:lang="en">
        Funding reference - Information about financial support (funding) for the resource being registered.
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element minOccurs="0" name="iri" type="xs:anyURI"/>
      <xs:element minOccurs="0" name="funding_program" type="xs:anyURI" sawsdl:modelReference="https://model.ccmm.cz/vocabulary/ccmm#fundingProgram">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            funding program - Reference to the specific funding program.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="award_title" type="xs:string" sawsdl:modelReference="https://model.ccmm.cz/vocabulary/datacite#awardTitle">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            award title -  The human readable title or name of the award (grant).
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="local_identifier" type="xs:string" sawsdl:modelReference="https://model.ccmm.cz/vocabulary/datacite#awardNumber">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            local identifier - The code assigned by the funder to a sponsored award (grant).
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element maxOccurs="unbounded" name="funder" type="agent" sawsdl:modelReference="https://model.ccmm.cz/vocabulary/datacite#hasFunderIdentifier">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            has funder - Relation to the agent entity of a funder.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="funding_reference" type="funding_reference"/>
</xs:schema>
