University of Padua datastream API

Requests for transforming and validating datastreams

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/university-of-padua-datastream-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

university-of-padua-datastream-api-openapi.yml Raw ↑
openapi: 3.0.2
info:
  description: Documentation of the PHAIDRA API.
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  title: PHAIDRA datastream API
  version: '3.0'
servers:
- description: API endpoint
  url: https://phaidra.unipd.it/api
tags:
- description: Requests for transforming and validating datastreams
  name: datastream
paths:
  /annotations/json2xml:
    post:
      description: Transforms the annotations JSON structure to XML (see an [example of annotation JSON structure](https://github.com/phaidra/phaidra-api/wiki/Annotations)).
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                metadata:
                  description: example of annotation JSON
                  properties:
                    metadata:
                      $ref: '#/components/schemas/annotations'
                  type: object
              type: object
        description: Annotations JSON
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  alerts:
                    items:
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                      type: object
                    type: array
                  annotations:
                    type: object
                type: object
          description: Annotations in XML.
      summary: Transforms annotations JSON to XML.
      tags:
      - datastream
  /annotations/json2xml_validate:
    post:
      description: 'Transforms the annotations structure from JSON to XML and validates it. '
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                metadata:
                  $ref: '#/components/schemas/annotations'
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
          description: annotations JSON validated.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
          description: Bad request
      summary: Validates the annotations JSON.
      tags:
      - datastream
  /annotations/validate:
    post:
      description: Validates the annotations structure in XML.
      requestBody:
        content:
          application/json:
            schema:
              properties:
                metadata:
                  properties:
                    annotations:
                      example: <ph:annotations xmlns:ph="http://phaidra.org/XML/V1.0/annotations"><ph:annotation ph:id="1"><ph:x>0.7</ph:x><ph:y>0.6</ph:y><ph:w>0.2</ph:w><ph:h>0.18</ph:h><ph:category>pigments</ph:category><ph:text>prussian blue</ph:text></ph:annotation><ph:annotation ph:id="3"><ph:x>0.7</ph:x><ph:y>0.4</ph:y><ph:w>0.1</ph:w><ph:h>0.1</ph:h><ph:category>people</ph:category><ph:text>Mary</ph:text></ph:annotation><ph:annotation ph:id="2"><ph:x>0.1</ph:x><ph:y>0.8</ph:y><ph:w>0.15</ph:w><ph:h>0.1</ph:h><ph:category>pigments</ph:category><ph:text>azurite</ph:text></ph:annotation></ph:annotations>
                      type: string
                  type: object
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
          description: Annotations XML validated.
      summary: Validates the annotations XML.
      tags:
      - datastream
  /annotations/xml2json:
    post:
      description: Transforms the XML annotations structure to JSON.
      requestBody:
        content:
          application/json:
            schema:
              properties:
                metadata:
                  properties:
                    annotations:
                      example: <ph:annotations xmlns:ph="http://phaidra.org/XML/V1.0/annotations"><ph:annotation ph:id=1><ph:x>0.7</ph:x><ph:y>0.6</ph:y><ph:w>0.2</ph:w><ph:h>0.18</ph:h><ph:category>pigments</ph:category><ph:text>prussian blue</ph:text></ph:annotation><ph:annotation ph:id=3><ph:x>0.7</ph:x><ph:y>0.4</ph:y><ph:w>0.1</ph:w><ph:h>0.1</ph:h><ph:category>people</ph:category><ph:text>Mary</ph:text></ph:annotation><ph:annotation ph:id="2"><ph:x>0.1</ph:x><ph:y>0.8</ph:y><ph:w>0.15</ph:w><ph:h>0.1</ph:h><ph:category>pigments</ph:category><ph:text>azurite</ph:text></ph:annotation></ph:annotations>
                      type: string
                  type: object
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  alerts:
                    items:
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                      type: object
                    type: array
                  metadata:
                    $ref: '#/components/schemas/annotations'
                type: object
          description: annotations in JSON
      summary: Transforms annotations XML to JSON.
      tags:
      - datastream
  /geo/json2xml:
    post:
      description: Transforms the geo structure from JSON to XML (see [examples of geo datastream of a map object](https://github.com/phaidra/phaidra-api/wiki/GEO-datastream-of-a-map-object)).
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                metadata:
                  description: example of geo JSON
                  properties:
                    metadata:
                      $ref: '#/components/schemas/geo'
                  type: object
              type: object
        description: Geo JSON
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  alerts:
                    items:
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                      type: object
                    type: array
                  metadata:
                    properties:
                      geo:
                        type: string
                    type: object
                type: object
          description: geolocation in XML.
      summary: Transforms the geo JSON to XML.
      tags:
      - datastream
  /geo/json2xml_validate:
    post:
      description: Transforms the geo structure from JSON to XML and validates it. See [examples of geo datastream of a map object](https://github.com/phaidra/phaidra-api/wiki/GEO-datastream-of-a-map-object).
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                metadata:
                  $ref: '#/components/schemas/geo'
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
          description: geo JSON validated.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
          description: Bad request
      summary: Validates the geo JSON.
      tags:
      - datastream
  /geo/validate:
    post:
      description: Validates the geo structure in XML.
      requestBody:
        content:
          application/json:
            schema:
              properties:
                metadata:
                  properties:
                    geo:
                      example: <kml:kml xmlns:kml="http://www.opengis.net/kml/2.2"><kml:Document><kml:Placemark><kml:name>Tiflis, Metechi-Kirche</kml:name><kml:description>Tiflis, Georgien Tbilisi, Georgia</kml:description><kml:Point><kml:coordinates>44.8112504748688,41.6902784095934,0</kml:coordinates></kml:Point></kml:Placemark></kml:Document></kml:kml>
                      type: string
                  type: object
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
          description: geo XML validated.
      summary: Validates the geo XML.
      tags:
      - datastream
  /geo/xml2json:
    post:
      description: Transforms the geo structure from XML to JSON (see [examples of geo datastream of a map object](https://github.com/phaidra/phaidra-api/wiki/GEO-datastream-of-a-map-object)).
      requestBody:
        content:
          application/json:
            schema:
              properties:
                metadata:
                  properties:
                    geo:
                      example: <kml:kml xmlns:kml="http://www.opengis.net/kml/2.2"><kml:Document><kml:Placemark><kml:name>Tiflis, Metechi-Kirche</kml:name><kml:description>Tiflis, Georgien Tbilisi, Georgia</kml:description><kml:Point><kml:coordinates>44.8112504748688,41.6902784095934,0</kml:coordinates></kml:Point></kml:Placemark></kml:Document></kml:kml>
                      type: string
                  type: object
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  alerts:
                    items:
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                      type: object
                    type: array
                  geo:
                    $ref: '#/components/schemas/geo'
                type: object
          description: geo in JSON
      summary: Transforms geo XML to JSON.
      tags:
      - datastream
  /members/order/json2xml:
    post:
      description: Transforms the members JSON structure to XML. See [example of members JSON structure](https://github.com/phaidra/phaidra-api/wiki/Collection-members-json-structure).
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                metadata:
                  properties:
                    metadata:
                      $ref: '#/components/schemas/members'
                  type: object
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  alerts:
                    type: array
                  metadata:
                    type: string
                type: object
          description: Members JSON in XML format.
      summary: Transforms members JSON to XML.
      tags:
      - datastream
  /members/order/xml2json:
    post:
      requestBody:
        content:
          application/json:
            schema:
              properties:
                metadata:
                  properties:
                    geo:
                      example: <co:collection_order xmlns:co="http://phaidra.univie.ac.at/XML/collection_order/V1.0"><co:member pos="1">o:98079</co:member><co:member pos="2">o:97973</co:member><co:member pos="3">o:98109</co:member><co:member pos="4">o:98074</co:member><co:member pos="5">o:16066</co:member><co:member pos="6">o:16083</co:member><co:member pos="7">o:98076</co:member><co:member pos="8">o:26111</co:member><co:member pos="9">o:18</co:member><co:member pos="10">o:62026</co:member></co:collection_order>
                      type: string
                  type: object
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  alerts:
                    items:
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                      type: object
                    type: array
                  metadata:
                    $ref: '#/components/schemas/members'
                type: object
          description: Collection members in JSON
      summary: Transforms the members XML structure to JSON.
      tags:
      - datastream
  /mods/json2xml:
    post:
      description: Transforms the MODS from JSON to XML.
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                metadata:
                  $ref: '#/components/schemas/mods'
                  description: example of mods JSON
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  alerts:
                    items:
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                      type: object
                    type: array
                  metadata:
                    properties:
                      mods:
                        type: string
                    type: object
                type: object
          description: MODS XML.
      summary: Transforms MODS JSON to XML.
      tags:
      - datastream
  /mods/json2xml_validate:
    post:
      description: Transforms the MODS structure from JSON to XML and validates it.
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                metadata:
                  $ref: '#/components/schemas/mods'
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
          description: MODS JSON validated.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
          description: Bad request
      summary: Validates MODS JSON
      tags:
      - datastream
  /mods/tree:
    get:
      description: Returns the MODS structure with all nodes, dictionaries, etc.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/mods_tree'
          description: Mods tree.
      summary: Get MODS tree.
      tags:
      - datastream
  /mods/validate:
    post:
      description: Validates the MODS structure in XML.
      requestBody:
        content:
          application/json:
            schema:
              properties:
                metadata:
                  properties:
                    annotations:
                      example: <mods:mods xmlns:mods="http://www.loc.gov/mods/v3"><mods:identifier type="ac-number">AC04090285</mods:identifier><mods:language><mods:languageTerm authority="iso639-2b" type="code">ger</mods:languageTerm></mods:language><mods:name authority="gnd" authorityURI="http://d-nb.info/gnd/" type="personal" valueURI="http://d-nb.info/gnd/121309096"><mods:namePart type="given">Gustav</mods:namePart><mods:namePart type="family">Freytag</mods:namePart><mods:role><mods:roleTerm authority="marcrelator" type="code">edt</mods:roleTerm></mods:role></mods:name><mods:titleInfo><mods:title>Karte der Dachstein-Gruppe</mods:title><mods:subTitle>für Touristen</mods:subTitle></mods:titleInfo><mods:relatedItem type="series"><mods:titleInfo><mods:title>Touristenkarten</mods:title></mods:titleInfo></mods:relatedItem><mods:classification authority="bkl" authorityURI="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/classification/" valueURI="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/classification/cls_10/1065197">Deutschland, Österreich, Schweiz &lt;Geographie&gt;</mods:classification><mods:subject><mods:geographic authority="gnd" authorityURI="http://d-nb.info/gnd/" valueURI="http://d-nb.info/gnd/4010858-2">Dachstein</mods:geographic><mods:topic authority="gnd">Karte</mods:topic></mods:subject><mods:originInfo><mods:dateIssued encoding="w3cdtf" keyDate="yes">1931</mods:dateIssued><mods:place><mods:placeTerm type="text">Wien</mods:placeTerm></mods:place><mods:publisher>G. Freytag &amp; Berndt</mods:publisher></mods:originInfo><mods:physicalDescription><mods:extent>1 Kt.</mods:extent><mods:form>mehrfarb.</mods:form><mods:extent>58 x 55 cm</mods:extent></mods:physicalDescription><mods:recordInfo><mods:recordContentSource>Universitätsbibliothek Wien</mods:recordContentSource><mods:recordOrigin>Maschinell erzeugt</mods:recordOrigin><mods:languageOfCataloging><mods:languageTerm authority="iso639-2b" type="code">ger</mods:languageTerm></mods:languageOfCataloging><mods:descriptionStandard>rakwb</mods:descriptionStandard></mods:recordInfo><mods:note type="statement of responsibility">Bestand der Kartensammlung der Fachbereichsbibliothek Geographie und Regionalforschung, Universität Wien</mods:note><mods:accessCondition type="use and reproduction">http://creativecommons.org/publicdomain/mark/1.0/</mods:accessCondition></mods:mods>
                      type: string
                  type: object
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
          description: XML validated.
      summary: Validates the MODS XML.
      tags:
      - datastream
  /mods/xml2json:
    post:
      description: Transforms the MODS from XML to JSON.
      parameters:
      - description: mode full or basic
        in: query
        name: mode
        schema:
          default: basic
          enum:
          - full
          - basic
          required: false
          type: string
      requestBody:
        content:
          application/json:
            schema:
              properties:
                metadata:
                  properties:
                    annotations:
                      example: <mods:mods xmlns:mods="http://www.loc.gov/mods/v3"><mods:identifier type="ac-number">AC04090285</mods:identifier><mods:language><mods:languageTerm authority="iso639-2b" type="code">ger</mods:languageTerm></mods:language><mods:name authority="gnd" authorityURI="http://d-nb.info/gnd/" type="personal" valueURI="http://d-nb.info/gnd/121309096"><mods:namePart type="given">Gustav</mods:namePart><mods:namePart type="family">Freytag</mods:namePart><mods:role><mods:roleTerm authority="marcrelator" type="code">edt</mods:roleTerm></mods:role></mods:name><mods:titleInfo><mods:title>Karte der Dachstein-Gruppe</mods:title><mods:subTitle>für Touristen</mods:subTitle></mods:titleInfo><mods:relatedItem type="series"><mods:titleInfo><mods:title>Touristenkarten</mods:title></mods:titleInfo></mods:relatedItem><mods:classification authority="bkl" authorityURI="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/classification/" valueURI="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/classification/cls_10/1065197">Deutschland, Österreich, Schweiz &lt;Geographie&gt;</mods:classification><mods:subject><mods:geographic authority="gnd" authorityURI="http://d-nb.info/gnd/" valueURI="http://d-nb.info/gnd/4010858-2">Dachstein</mods:geographic><mods:topic authority="gnd">Karte</mods:topic></mods:subject><mods:originInfo><mods:dateIssued encoding="w3cdtf" keyDate="yes">1931</mods:dateIssued><mods:place><mods:placeTerm type="text">Wien</mods:placeTerm></mods:place><mods:publisher>G. Freytag &amp; Berndt</mods:publisher></mods:originInfo><mods:physicalDescription><mods:extent>1 Kt.</mods:extent><mods:form>mehrfarb.</mods:form><mods:extent>58 x 55 cm</mods:extent></mods:physicalDescription><mods:recordInfo><mods:recordContentSource>Universitätsbibliothek Wien</mods:recordContentSource><mods:recordOrigin>Maschinell erzeugt</mods:recordOrigin><mods:languageOfCataloging><mods:languageTerm authority="iso639-2b" type="code">ger</mods:languageTerm></mods:languageOfCataloging><mods:descriptionStandard>rakwb</mods:descriptionStandard></mods:recordInfo><mods:note type="statement of responsibility">Bestand der Kartensammlung der Fachbereichsbibliothek Geographie und Regionalforschung, Universität Wien</mods:note><mods:accessCondition type="use and reproduction">http://creativecommons.org/publicdomain/mark/1.0/</mods:accessCondition></mods:mods>
                      type: string
                  type: object
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  alerts:
                    items:
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                      type: object
                    type: array
                  mods:
                    $ref: '#/components/schemas/mods'
                type: object
          description: MODS as JSON structure.
      summary: Transforms MODS XML to JSON.
      tags:
      - datastream
  /rights/json2xml:
    post:
      description: Transforms the rights structure from JSON to XML (see [examples of rights structure](https://github.com/phaidra/phaidra-api/wiki/Example-of-rights))
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                metadata:
                  description: example of rights JSON
                  properties:
                    metadata:
                      properties:
                        rights:
                          $ref: '#/components/schemas/rights'
                      type: object
                  type: object
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  alerts:
                    items:
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                      type: object
                    type: array
                  metadata:
                    properties:
                      rights:
                        type: string
                    type: object
                type: object
          description: rights in XML.
      summary: Transforms rights JSON to XML.
      tags:
      - datastream
  /rights/json2xml_validate:
    post:
      description: Transforms the rights structure from JSON to XML and validates it (see [examples of rights structure](https://github.com/phaidra/phaidra-api/wiki/Example-of-rights)).
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                metadata:
                  properties:
                    metadata:
                      $ref: '#/components/schemas/rights'
                  type: object
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
          description: JSON validated.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
          description: Bad request
      summary: Validates rights JSON.
      tags:
      - datastream
  /rights/validate:
    post:
      description: Validates the rights structure in XML.
      requestBody:
        content:
          application/json:
            schema:
              properties:
                metadata:
                  properties:
                    rights:
                      example: <uwr:rights xmlns:uwr="http://phaidra.univie.ac.at/XML/V1.0/rights"><uwr:allow><uwr:username expires="2016-08-25T14:31:34Z" >username123</uwr:username></uwr:allow></uwr:rights>
                      type: string
                  type: object
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
          description: xml validated.
      summary: Validates rights XML.
      tags:
      - datastream
  /rights/xml2json:
    post:
      description: Transforms the rights structure from XML to JSON (see [examples of rights structure](https://github.com/phaidra/phaidra-api/wiki/Example-of-rights)).
      requestBody:
        content:
          application/json:
            schema:
              properties:
                metadata:
                  properties:
                    rights:
                      example: <uwr:rights xmlns:uwr="http://phaidra.univie.ac.at/XML/V1.0/rights"><uwr:allow><uwr:username expires="2016-08-25T14:31:34Z" >username123</uwr:username></uwr:allow></uwr:rights>
                      type: string
                  type: object
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  alerts:
                    items:
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                      type: object
                    type: array
                  rights:
                    $ref: '#/components/schemas/rights'
                  status:
                    type: number
                type: object
          description: rights in JSON
      summary: Transforms rights XML to JSON.
      tags:
      - datastream
  /uwmetadata/json2xml:
    post:
      description: Transforms uwmetadata structure from JSON to XML (see [examples of uwmetadata](https://github.com/phaidra/phaidra-api/wiki/Datastream-examples)).
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                metadata:
                  description: example of uwmetadata JSON
                  properties:
                    metadata:
                      properties:
                        uwmetadata:
                          $ref: '#/components/schemas/uwmetadata_min'
                      type: object
                  type: object
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  alerts:
                    items:
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                      type: object
                    type: array
                  metadata:
                    properties:
                      uwmetadata:
                        type: string
                    type: object
                type: object
          description: XML uwmetadata.
      summary: Transforms uwmetadata JSON to XML.
      tags:
      - datastream
  /uwmetadata/json2xml_validate:
    post:
      description: 'Transforms uwmetadata structure from JSON to XML, then validates the uwmetadata XML. See [examples of uwmetadata](https://github.com/phaidra/phaidra-api/wiki/Datastream-examples). '
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                metadata:
                  $ref: '#/components/schemas/uwmetadata_article_basic'
              type: object
        description: JSON uwmetadata. An example of article uwmetadata in basic mode is provided.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
          description: Json uwmetadata validated.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
          description: Bad request
      summary: Validates JSON uwmetadata.
      tags:
      - datastream
  /uwmetadata/tree:
    get:
      description: Returns the uwmetadata structure with all nodes, labels, dictionaries, etc.
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  alerts:
                    items:
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                      type: object
                    type: array
                  languages:
                    type: object
                  status:
                    type: number
                  tree:
                    $ref: '#/components/schemas/uwmetadata'
                type: object
          description: Uwmetadata tree.
      summary: Get uwmetadata structure.
      tags:
      - datastream
  /uwmetadata/validate:
    post:
      description: Validates the uwmetadata structure in XML (see an [example of uwmetadata XML](https://github.com/phaidra/phaidra-api/wiki/Article-uwmetadata-in-xml-format)). The XML has to be sent in the request body as raw data.
      requestBody:
        content:
          text/plain:
            schema:
              description: uwmetadata XML, the XML has to be sent in the request body as raw data.
              format: binary
              type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
          description: Xml uwmetadata validated.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
          description: Bad request
      summary: Validates uwmetadata XML.
      tags:
      - datastream
  /uwmetadata/xml2json:
    post:
      description: Transforms the uwmetadata structure from XML to JSON (see [examples of uwmetadata](https://github.com/phaidra/phaidra-api/wiki/Datastream-examples)).
      parameters:
      - description: mode full or basic
        in: query
        name: mode
        schema:
          default: basic
          enum:
          - full
          - basic
          required: false
          type: string
      requestBody:
        content:
          application/json:
            schema:
              properties:
                metadata:
                  properties:
                    uwmetadata:
                      example: '<ns0:uwmetadata xmlns:ns0="http://phaidra.univie.ac.at/XML/metadata/V1.0" xmlns:ns1="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0" xmlns:ns2="http://phaidra.univie.ac.at/XML/metadata/extended/V1.0" xmlns:ns3="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/entity" xmlns:ns4="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/requirement" xmlns:ns5="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/educational" xmlns:ns6="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/annotation" xmlns:ns7="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/classification" xmlns:ns8="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/organization" xmlns:ns9="http://phaidra.univie.ac.at/XML/metadata/histkult/V1.0" xmlns:ns10="http://phaidra.univie.ac.at/XML/metadata/provenience/V1.0" xmlns:ns11="http://phaidra.univie.ac.at/XML/metadata/provenience/V1.0/entity" xmlns:ns12="http://phaidra.univie.ac.at/XML/metadata/digitalbook/V1.0" xmlns:ns13="http://phaidra.univie.ac.at/XML/metadata/etheses/V1.0">

                        <ns1:general>

                        <ns1:title language="de">Title</ns1:title>

                        <ns1:language>de</ns1:language>

                        </ns1:general>

                        <ns1:lifecycle>

                        <ns1:contribute seq="0">

                        <ns1:role>46</ns1:role>

                        <ns1:entity seq="0">

                        <ns3:firstname>Brenda</ns3:firstname>

                        <ns3:lastname>Walsh</ns3:lastname>

                        </ns1:entity>

                        </ns1:contribute>

                        </ns1:lifecycle>

                        <ns1:rights

# --- truncated at 32 KB (76 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/university-of-padua/refs/heads/main/openapi/university-of-padua-datastream-api-openapi.yml