GetTypeSchemas

Returns a list of XML schemas for the data types used in records.

Type: synchronous

Example

http://localhost:14000/action=GetTypeSchemas

Response

The following is an extract from the response, showing the schema for face recognition results:

<type>
    <xs:schema>
        <xs:complexType name="FaceRecognitionResult" mixed="false" abstract="false">
            <xs:sequence>
                <xs:element name="id" type="mediaserver:UUIDData"/>
                <xs:element name="face" type="mediaserver:FaceData"/>
                <xs:element name="identity" type="mediaserver:IdentityData"/>
            </xs:sequence>
        </xs:complexType>
    </xs:schema>
</type>

You can see that each face recognition result includes XML elements named id, face, and identity, of types UUIDData, FaceData, and IdentityData. The response to the GetTypeSchemas action also includes schemas for these types.