NSDI XML metadata schemas

NSDI metadata must be encoded in XML document format. The XML format of the NSDI metadata document is specified by the following XML schemas:
 

One of these XML schemas must be used as the basis for documenting NSDI metadata. All three XML metadata schemas declare the same XML metadata document namespace http://www.isotc211.org/2005/gmd (gmd prefix). The choice of XML schema depends on the available technical solutions and the version of GML used:
 

As a basis for documenting spatial data service identification information, an XML metadata schema for spatial data services from the OGC schema repository must be used. The OGC XML service metadata schema is an implementation of the ISO 19119 service metadata standard and declares a http://www.isotc211.org/2005/srv XML document namespace (srv prefix).

ISO 19139 XML schemas, unlike CSW2 AP ISO XML schemas, do not directly include a srv namespace, ie an XML schema for documenting service identification information. Therefore, if ISO 19139 XML schemas are used to document metadata, depending on the version of the ISO 19139 XML schema, that is, the GML version, when implementing the service metadata, it is necessary to include the appropriate version of the srv XML schema to document the service identification information. Therefore, if used: