Schema PSC.xsd


schema location:  https://www.fpds.gov/FPDS/schema/DataCollection/ServiceClassifications/1.0/PSC.xsd
targetNamespace:  https://www.fpds.gov/FPDS
 
Elements  Complex types  Simple types 
listOfPSCs  listOfPSCsType  PSCCodeType 
PSC  PSCSearchCriteriaType  PSCNameType 
PSCSearchCriteria  PSCType 


schema location:  https://www.fpds.gov/FPDS/schema/common/1.0/Common.xsd
targetNamespace:  https://www.fpds.gov/FPDS
 
Complex types  Simple types 
countType  amountType 
listOfAdministratorsType  emailAddressType 
listOfSearchResults  fiscalYearType 
FPDSDateType 
percentageType 
phoneExtType 
phoneNoType 
urlType 
userIDType 


schema location:  https://www.fpds.gov/FPDS/schema/SystemServices/1.0/Audit.xsd
targetNamespace:  https://www.fpds.gov/FPDS
 
Elements  Complex types 
auditInformation  auditInformationType 


element listOfPSCs
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:listOfPSCsType
children count PSC
source
<element name="listOfPSCs" type="FPDS:listOfPSCsType"/>

element PSC
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:PSCType
children PSCCode parentPSCCode PSCName startDate endDate auditInformation
source
<element name="PSC" type="FPDS:PSCType"/>

element PSCSearchCriteria
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:PSCSearchCriteriaType
children PSCCode parentPSCCode PSCName startDate endDate
source
<element name="PSCSearchCriteria" type="FPDS:PSCSearchCriteriaType"/>

complexType listOfPSCsType
diagram
namespace https://www.fpds.gov/FPDS
type extension of FPDS:listOfSearchResults
children count PSC
used by
element listOfPSCs
source
<complexType name="listOfPSCsType">
  <complexContent>
    <extension base="FPDS:listOfSearchResults">
      <sequence>
        <element name="PSC" type="FPDS:PSCType" minOccurs="0" maxOccurs="unbounded"/>
      </sequence>
    </extension>
  </complexContent>
</complexType>

element listOfPSCsType/PSC
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:PSCType
children PSCCode parentPSCCode PSCName startDate endDate auditInformation
source
<element name="PSC" type="FPDS:PSCType" minOccurs="0" maxOccurs="unbounded"/>

complexType PSCSearchCriteriaType
diagram
namespace https://www.fpds.gov/FPDS
children PSCCode parentPSCCode PSCName startDate endDate
used by
element PSCSearchCriteria
source
<complexType name="PSCSearchCriteriaType">
  <sequence>
    <element name="PSCCode" type="FPDS:PSCCodeType" nillable="true" minOccurs="0"/>
    <element name="parentPSCCode" type="FPDS:PSCCodeType" nillable="true" minOccurs="0"/>
    <element name="PSCName" type="FPDS:PSCNameType" nillable="true" minOccurs="0"/>
    <element name="startDate" type="FPDS:FPDSDateType" nillable="true" minOccurs="0"/>
    <element name="endDate" type="FPDS:FPDSDateType" nillable="true" minOccurs="0"/>
  </sequence>
</complexType>

element PSCSearchCriteriaType/PSCCode
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:PSCCodeType
facets
maxLength 20
source
<element name="PSCCode" type="FPDS:PSCCodeType" nillable="true" minOccurs="0"/>

element PSCSearchCriteriaType/parentPSCCode
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:PSCCodeType
facets
maxLength 20
source
<element name="parentPSCCode" type="FPDS:PSCCodeType" nillable="true" minOccurs="0"/>

element PSCSearchCriteriaType/PSCName
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:PSCNameType
facets
maxLength 100
source
<element name="PSCName" type="FPDS:PSCNameType" nillable="true" minOccurs="0"/>

element PSCSearchCriteriaType/startDate
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:FPDSDateType
facets
whiteSpace preserve
pattern [0-9]{4}(-[0-9]{2})(-[0-9]{2}) ([0-9]{2})(:[0-9]{2})(:[0-9]{2})
source
<element name="startDate" type="FPDS:FPDSDateType" nillable="true" minOccurs="0"/>

element PSCSearchCriteriaType/endDate
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:FPDSDateType
facets
whiteSpace preserve
pattern [0-9]{4}(-[0-9]{2})(-[0-9]{2}) ([0-9]{2})(:[0-9]{2})(:[0-9]{2})
source
<element name="endDate" type="FPDS:FPDSDateType" nillable="true" minOccurs="0"/>

complexType PSCType
diagram
namespace https://www.fpds.gov/FPDS
children PSCCode parentPSCCode PSCName startDate endDate auditInformation
used by
elements PSC listOfPSCsType/PSC
source
<complexType name="PSCType">
  <sequence>
    <element name="PSCCode" type="FPDS:PSCCodeType"/>
    <element name="parentPSCCode" type="FPDS:PSCCodeType"/>
    <element name="PSCName" type="FPDS:PSCNameType" nillable="true" minOccurs="0"/>
    <element name="startDate" type="FPDS:FPDSDateType" nillable="true" minOccurs="0"/>
    <element name="endDate" type="FPDS:FPDSDateType" nillable="true" minOccurs="0"/>
    <element name="auditInformation" type="FPDS:auditInformationType" nillable="true" minOccurs="0"/>
  </sequence>
</complexType>

element PSCType/PSCCode
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:PSCCodeType
facets
maxLength 20
source
<element name="PSCCode" type="FPDS:PSCCodeType"/>

element PSCType/parentPSCCode
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:PSCCodeType
facets
maxLength 20
source
<element name="parentPSCCode" type="FPDS:PSCCodeType"/>

element PSCType/PSCName
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:PSCNameType
facets
maxLength 100
source
<element name="PSCName" type="FPDS:PSCNameType" nillable="true" minOccurs="0"/>

element PSCType/startDate
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:FPDSDateType
facets
whiteSpace preserve
pattern [0-9]{4}(-[0-9]{2})(-[0-9]{2}) ([0-9]{2})(:[0-9]{2})(:[0-9]{2})
source
<element name="startDate" type="FPDS:FPDSDateType" nillable="true" minOccurs="0"/>

element PSCType/endDate
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:FPDSDateType
facets
whiteSpace preserve
pattern [0-9]{4}(-[0-9]{2})(-[0-9]{2}) ([0-9]{2})(:[0-9]{2})(:[0-9]{2})
source
<element name="endDate" type="FPDS:FPDSDateType" nillable="true" minOccurs="0"/>

element PSCType/auditInformation
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:auditInformationType
children createdBy createdDate lastModifiedBy lastModifiedDate
source
<element name="auditInformation" type="FPDS:auditInformationType" nillable="true" minOccurs="0"/>

simpleType PSCCodeType
namespace https://www.fpds.gov/FPDS
type restriction of string
used by
elements PSCType/parentPSCCode PSCSearchCriteriaType/parentPSCCode PSCType/PSCCode PSCSearchCriteriaType/PSCCode
facets
maxLength 20
source
<simpleType name="PSCCodeType">
  <restriction base="string">
    <maxLength value="20"/>
  </restriction>
</simpleType>

simpleType PSCNameType
namespace https://www.fpds.gov/FPDS
type restriction of string
used by
elements PSCType/PSCName PSCSearchCriteriaType/PSCName
facets
maxLength 100
source
<simpleType name="PSCNameType">
  <restriction base="string">
    <maxLength value="100"/>
  </restriction>
</simpleType>

complexType FPDS:countType
diagram
namespace https://www.fpds.gov/FPDS
children total fetched
used by
element FPDS:listOfSearchResults/count
source
<complexType name="countType">
  <sequence>
    <element name="total" type="positiveInteger"/>
    <element name="fetched" type="positiveInteger"/>
  </sequence>
</complexType>

element FPDS:countType/total
diagram
namespace https://www.fpds.gov/FPDS
type positiveInteger
source
<element name="total" type="positiveInteger"/>

element FPDS:countType/fetched
diagram
namespace https://www.fpds.gov/FPDS
type positiveInteger
source
<element name="fetched" type="positiveInteger"/>

complexType FPDS:listOfAdministratorsType
diagram
namespace https://www.fpds.gov/FPDS
children administrator
source
<complexType name="listOfAdministratorsType">
  <sequence>
    <element name="administrator" type="FPDS:userIDType" minOccurs="0" maxOccurs="unbounded"/>
  </sequence>
</complexType>

element FPDS:listOfAdministratorsType/administrator
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:userIDType
facets
maxLength 20
source
<element name="administrator" type="FPDS:userIDType" minOccurs="0" maxOccurs="unbounded"/>

complexType FPDS:listOfSearchResults
diagram
namespace https://www.fpds.gov/FPDS
children count
used by
complexType listOfPSCsType
source
<complexType name="listOfSearchResults">
  <sequence>
    <element name="count" type="FPDS:countType"/>
  </sequence>
</complexType>

element FPDS:listOfSearchResults/count
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:countType
children total fetched
source
<element name="count" type="FPDS:countType"/>

simpleType FPDS:amountType
namespace https://www.fpds.gov/FPDS
type restriction of decimal
facets
minInclusive 0
totalDigits 15
fractionDigits 4
source
<simpleType name="amountType">
  <restriction base="decimal">
    <fractionDigits value="4"/>
    <totalDigits value="15"/>
    <minInclusive value="0"/>
  </restriction>
</simpleType>

simpleType FPDS:emailAddressType
namespace https://www.fpds.gov/FPDS
type restriction of string
facets
maxLength 64
source
<simpleType name="emailAddressType">
  <restriction base="string">
    <maxLength value="64"/>
  </restriction>
</simpleType>

simpleType FPDS:fiscalYearType
namespace https://www.fpds.gov/FPDS
type restriction of string
facets
length 4
pattern \d{4}
source
<simpleType name="fiscalYearType">
  <restriction base="string">
    <length value="4"/>
    <pattern value="\d{4}"/>
  </restriction>
</simpleType>

simpleType FPDS:FPDSDateType
namespace https://www.fpds.gov/FPDS
type restriction of string
used by
elements FPDS:auditInformationType/createdDate PSCType/endDate PSCSearchCriteriaType/endDate FPDS:auditInformationType/lastModifiedDate PSCType/startDate PSCSearchCriteriaType/startDate
facets
whiteSpace preserve
pattern [0-9]{4}(-[0-9]{2})(-[0-9]{2}) ([0-9]{2})(:[0-9]{2})(:[0-9]{2})
source
<simpleType name="FPDSDateType">
  <restriction base="string">
    <whiteSpace value="preserve"/>
    <pattern value="[0-9]{4}(-[0-9]{2})(-[0-9]{2}) ([0-9]{2})(:[0-9]{2})(:[0-9]{2})"/>
  </restriction>
</simpleType>

simpleType FPDS:percentageType
namespace https://www.fpds.gov/FPDS
type restriction of decimal
facets
minInclusive 0
maxInclusive 100
source
<simpleType name="percentageType">
  <restriction base="decimal">
    <minInclusive value="0"/>
    <maxInclusive value="100"/>
  </restriction>
</simpleType>

simpleType FPDS:phoneExtType
namespace https://www.fpds.gov/FPDS
type restriction of string
facets
maxLength 4
source
<simpleType name="phoneExtType">
  <restriction base="string">
    <maxLength value="4"/>
  </restriction>
</simpleType>

simpleType FPDS:phoneNoType
namespace https://www.fpds.gov/FPDS
type restriction of string
facets
maxLength 20
source
<simpleType name="phoneNoType">
  <restriction base="string">
    <maxLength value="20"/>
  </restriction>
</simpleType>

simpleType FPDS:urlType
namespace https://www.fpds.gov/FPDS
type restriction of string
facets
maxLength 100
source
<simpleType name="urlType">
  <restriction base="string">
    <maxLength value="100"/>
  </restriction>
</simpleType>

simpleType FPDS:userIDType
namespace https://www.fpds.gov/FPDS
type restriction of string
used by
elements FPDS:listOfAdministratorsType/administrator FPDS:auditInformationType/createdBy FPDS:auditInformationType/lastModifiedBy
facets
maxLength 20
source
<simpleType name="userIDType">
  <restriction base="string">
    <maxLength value="20"/>
  </restriction>
</simpleType>

element FPDS:auditInformation
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:auditInformationType
children createdBy createdDate lastModifiedBy lastModifiedDate
source
<element name="auditInformation" type="FPDS:auditInformationType"/>

complexType FPDS:auditInformationType
diagram
namespace https://www.fpds.gov/FPDS
children createdBy createdDate lastModifiedBy lastModifiedDate
used by
elements PSCType/auditInformation FPDS:auditInformation
source
<complexType name="auditInformationType">
  <sequence>
    <element name="createdBy" type="FPDS:userIDType" minOccurs="0"/>
    <element name="createdDate" type="FPDS:FPDSDateType" minOccurs="0"/>
    <element name="lastModifiedBy" type="FPDS:userIDType" minOccurs="0"/>
    <element name="lastModifiedDate" type="FPDS:FPDSDateType" minOccurs="0"/>
  </sequence>
</complexType>

element FPDS:auditInformationType/createdBy
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:userIDType
facets
maxLength 20
source
<element name="createdBy" type="FPDS:userIDType" minOccurs="0"/>

element FPDS:auditInformationType/createdDate
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:FPDSDateType
facets
whiteSpace preserve
pattern [0-9]{4}(-[0-9]{2})(-[0-9]{2}) ([0-9]{2})(:[0-9]{2})(:[0-9]{2})
source
<element name="createdDate" type="FPDS:FPDSDateType" minOccurs="0"/>

element FPDS:auditInformationType/lastModifiedBy
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:userIDType
facets
maxLength 20
source
<element name="lastModifiedBy" type="FPDS:userIDType" minOccurs="0"/>

element FPDS:auditInformationType/lastModifiedDate
diagram
namespace https://www.fpds.gov/FPDS
type FPDS:FPDSDateType
facets
whiteSpace preserve
pattern [0-9]{4}(-[0-9]{2})(-[0-9]{2}) ([0-9]{2})(:[0-9]{2})(:[0-9]{2})
source
<element name="lastModifiedDate" type="FPDS:FPDSDateType" minOccurs="0"/>


XML Schema documentation generated with
XML Spy Schema Editor http://www.altova.com/xmlspy