30 lines
628 B
XML
30 lines
628 B
XML
<Resource version="0.4.x">
|
|
<ID>12345</ID>
|
|
<Type>GenericResource</Type>
|
|
<Scopes></Scopes>
|
|
<Profile>
|
|
<SecondaryType>Ckan-Zenodo-Mappings</SecondaryType>
|
|
<Name>Deliverable</Name>
|
|
<Description>Simple mappings tests</Description>
|
|
<Body>
|
|
<mappings>
|
|
<resourceFilters>
|
|
<filter>
|
|
<condition>$.resources[?(@.format)]</condition>
|
|
</filter>
|
|
</resourceFilters>
|
|
|
|
<mapping>
|
|
<source>
|
|
<value type="constant">other</value>
|
|
</source>
|
|
<targetPath>$.metadata</targetPath>
|
|
<targetElement>upload_type</targetElement>
|
|
</mapping>
|
|
|
|
|
|
</mappings>
|
|
|
|
</Body>
|
|
</Profile>
|
|
</Resource> |