<?xml version="1.0" encoding="UTF-8"?>

<foxml:digitalObject
        VERSION="1.1"
        PID="doms:Open_License"
        xmlns:foxml="info:fedora/fedora-system:def/foxml#"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation=
                "info:fedora/fedora-system:def/foxml#
                http://www.fedora.info/definitions/1/0/foxml1-1.xsd"
        >


    <foxml:objectProperties>
        <foxml:property
                NAME="info:fedora/fedora-system:def/model#state"
                VALUE="A"/>
        <foxml:property
                NAME="info:fedora/fedora-system:def/model#label"
                VALUE="Doms Open License"/>

    </foxml:objectProperties>

    <foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
        <foxml:datastreamVersion ID="DC.0" MIMETYPE="text/xml" LABEL="Default Dublin Core Record" SIZE="488" CREATED="2004-12-10T00:21:58.000Z">

            <foxml:xmlContent>
                <oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/">
                    <dc:title>Open License</dc:title>
                    <dc:description>A license granting unlimited access for all.</dc:description>
                    <dc:identifier>doms:Open_License</dc:identifier>
                </oai_dc:dc>
            </foxml:xmlContent>
        </foxml:datastreamVersion>
    </foxml:datastream>





    <foxml:datastream CONTROL_GROUP="X" ID="RELS-EXT" STATE="A" VERSIONABLE="true">
        <foxml:datastreamVersion  ID="RELS-EXT.1" LABEL="Relationships"
                                  MIMETYPE="application/rdf+xml" >
            <foxml:contentDigest DIGEST="none" TYPE="DISABLED"/>
            <foxml:xmlContent>
                <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
                         xmlns:doms="http://doms.statsbiblioteket.dk/relations/default/0/1/#">
                    <rdf:Description rdf:about="info:fedora/doms:Open_License">
                        <hasModel rdf:resource="info:fedora/doms:ContentModel_License" xmlns="info:fedora/fedora-system:def/model#"/>
                        <hasModel rdf:resource="info:fedora/doms:ContentModel_DOMS" xmlns="info:fedora/fedora-system:def/model#"/>
                        <doms:isPartOfCollection rdf:resource="info:fedora/doms:Root_Collection"/>
                        <doms:hasLicense rdf:resource="info:fedora/doms:Open_License"/>
                    </rdf:Description>
                </rdf:RDF>
            </foxml:xmlContent>
        </foxml:datastreamVersion>
    </foxml:datastream>



    <foxml:datastream
            CONTROL_GROUP="E"
            ID="POLICY"
            STATE="A"
            VERSIONABLE="true">
        <foxml:datastreamVersion
                ID="POLICY.0"
                MIMETYPE="text/xml"
                LABEL="License for this object">
            <foxml:contentDigest DIGEST="none" TYPE="DISABLED"/>
            <foxml:contentLocation REF="http://localhost:8080/fedora/get/doms:Open_License/LICENSE" TYPE="URL"/>
        </foxml:datastreamVersion>
    </foxml:datastream>



    <foxml:datastream ID="STATE" CONTROL_GROUP="X">
        <foxml:datastreamVersion ID="STATE.0" MIMETYPE="text/xml">
            <foxml:xmlContent>
                <s:state
                        value="published"
                        xmlns:s="http://doms.statsbiblioteket.dk/properties/state/0/1/#"/>
            </foxml:xmlContent>
        </foxml:datastreamVersion>
    </foxml:datastream>



    <foxml:datastream ID="LICENSE" CONTROL_GROUP="X">
        <foxml:datastreamVersion ID="LICENSE.0" MIMETYPE="text/xml">
            <foxml:xmlContent>
                <Policy xmlns="urn:oasis:names:tc:xacml:1.0:policy"
                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                        PolicyId="Open_License"
                        RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:first-applicable">

                    <Description>This is the default policy, if no other is specified. It allows
                        for all actions on a object by everybody.
                    </Description>
                    <Target>
                        <!-- *********************************************************************************************************************************************************-->
                        <!--  This policy is applicable to any Subject. -->
                        <!-- *********************************************************************************************************************************************************-->
                        <Subjects>
                            <AnySubject/>
                        </Subjects>
                        <!-- *********************************************************************************************************************************************************-->
                        <!--  This policy is applicable to any resource -->
                        <!-- *********************************************************************************************************************************************************-->
                        <Resources>
                            <AnyResource/>
                        </Resources>
                        <!-- *********************************************************************************************************************************************************-->
                        <!--  This policy is applicable to any action. -->
                        <!-- *********************************************************************************************************************************************************-->
                        <Actions>
                            <AnyAction/>
                        </Actions>
                    </Target>
                    <Rule RuleId="1" Effect="Permit"/>
                </Policy>
            </foxml:xmlContent>
        </foxml:datastreamVersion>
    </foxml:datastream>



</foxml:digitalObject>
