describeRecordType operation Discovery class

Table 17 — UML attributes and role in “present” operation normal response Name Definition Data type and value Optionality and use sessionInfo The core set of parameters required in each message exchanged between a client and server operating in a session context, where these parameters support message routing and session management SessionInfo, See Table 12 Zero or one Conditional Include when sessions are supportedrequired by protocol binding andor result sets are persistent retrievedData A subset of the results of this query request, organised and formatted as specified in the presentation, messageFormat, and sortField parameters. Record type for the catalogue or collection. One Mandatory cursor Last result set resource returned for this operation request. Non-negative integer One Mandatory hits Number of entries in the result set. Non-negative integer One Mandatory? NOTE This general model assumes that operation failure will be signalled to the client in a manner specified by each protocol binding

7.2.4.4 describeRecordType operation

The describeRecordType operation is more completely specified in Table 18. provides a UML model of the describeRecordType operation that shows the complete Discovery class with the DescribeRecordTypeRequest and DescribeRecordTypeResponse classes and the class they use. The operation request includes the attributes and association role name listed and defined in Table 19. The normal operation response includes the attributes and association role name listed and defined in Table 20. NOTE The describeRecordType operation corresponds to CG_Discovery.explainCollection operation in OGC Catalogue version 1.1.1. Table 18 — Definition of describeRecordType operation Definition Allows clients to retrieve type definitions used by metadata of one or more registered resource types Receives Optional identifications of requested record types and of desired format Returns Type definition document containing definitions of types used by the metadata of one or more registered resource types. This type definition shall include the structure schema, queryables, element sets, and formats of the metadata used for one or more registered resource types. The contents of the result of this operation depend on the types of metadata that can currently be used by registered resources. Exceptions Missing Parameter Value, Invalid Parameter Value, Nonexistent type Pre-conditions None Post-conditions Type definition document returned to requesting client, containing definitions of types used by the metadata of one or more registered resource types 40 Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. Figure 8 — describeRecordType operation UML static model Table 19 — UML attributes and role in describeRecordType operation request Name Definition Data type and value Optionality and use sessionInfo The core set of parameters required in each message exchanged between a client and server operating in a session context, where these parameters support message routing and session management SessionInfo, See Table 12 Zero or one Conditional Include when sessions are supportedrequired by protocol binding andor result sets are persistent typeName Name of metadata record types for which type information is to be returned Character String type Values specified by protocol binding Zero or more Optional Return all types when omitted schemaLanguage The schema language of the response message Character String type Values specified by protocol binding Zero or one Optional Use XML Schema when omitted outputFormat Document format for output Character String type Value is MIME type Zero or one Optional Use applicationxml when omitted. Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. 41 Table 20 — UML attributes and role in describeRecordType operation normal response Name Definition Data type and value Optionality and use sessionInfo The core set of parameters required in each message exchanged between a client and server operating in a session context, where these parameters support message routing and session management SessionInfo, See Table 12 Zero or one Conditional Include when sessions are supportedrequired by protocol binding andor result sets are persistent typeName Name of metadata record type for which type information is returned Character String Values are names of metadata record types One or more Mandatory Include one for each record type to be returned schemaLanguage The schema language used to describe the type Character String. Non- empty Values specified by protocol binding One Mandatory.

7.2.4.5 getDomain operation