Showing:

Annotations
Attributes
Diagrams
Facets
Identity Constraints
Instances
Properties
Source
Used by
Imported schema ProductInstruction_V3p1.xsd
Namespace urn:skogforsk:stanford2010
Properties
attribute form default: unqualified
element form default: qualified
version: release_3.1
Element ProductInstruction
Namespace urn:skogforsk:stanford2010
Annotations
1.0 The root element of the Producti Instruction message
Diagram
Diagram index76.tmp#id742 index6.tmp#id744 index76.tmp#id564 index76.tmp#id593 index76.tmp#id741 index76.tmp#id563
Type ProductInstructionType
Properties
content: complex
Used by
Complex Type PayloadType
Model ProductInstructionHeader , ProductDefinition+ , Extension{0,1}
Children Extension, ProductDefinition, ProductInstructionHeader
Instance
<ProductInstruction areaUnit="" diameterUnit="" lengthUnit="" messageType="pin" version="" versionDate="" volumeUnit="" weightUnit="">
  <ProductInstructionHeader>{1,1}</ProductInstructionHeader>
  <ProductDefinition>{1,unbounded}</ProductDefinition>
  <Extension extensionAction="">{0,1}</Extension>
</ProductInstruction>
Attributes
QName Type Fixed Default Use Annotation
areaUnit AreaUnitType required
1.0 list Unit of area information in StanForD 2010 messages.Only allowed value: ha
diameterUnit DiameterUnitType required
1.0 list Unit of diameter information in StanForD 2010 messages.Only allowed value: mm
lengthUnit LengthUnitType required
1.0 list Unit of length information in StanForD 2010 messages.Only allowed value: cm
messageType MessageCategoryType pin required
1.0 list Enumeration list of file extensions of StanForD 2010 messages: Allowed value in Production Instruction message is: "pin"
version StanForD2010VersionType required
2.0 version number The version number of the message in format: "major"."minor", where "major" is a sequential number of the major version (start from 1) and "minor" is a sequential number of the minor version.>
versionDate xsd:date required
2.1 yyyy-mm-dd Date of version
volumeUnit VolumeUnitType required
1.0 list Unit of volume information in StanForD 2010 messages. Only allowed value: m3
weightUnit WeightUnitType required
1.0 list Enumeration list of file extensions of StanForD 2010 messages.Only allowed value: kg
Source
<xsd:element name="ProductInstruction" type="ProductInstructionType">
  <xsd:annotation>
    <xsd:documentation>
      <doc:VersionCreated>1.0</doc:VersionCreated>
      <doc:Description>The root element of the Producti Instruction message</doc:Description>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:unique name="UniqueProductUserID">
    <xsd:selector xpath="sfd:ProductDefinition"/>
    <xsd:field xpath="sfd:ProductUserID"/>
  </xsd:unique>
</xsd:element>
Element ProductInstructionType / ProductInstructionHeader
Namespace urn:skogforsk:stanford2010
Annotations
1.0 General information for message
Diagram
Diagram index6.tmp#id566 index6.tmp#id567 index6.tmp#id569 index6.tmp#id572 index6.tmp#id573 index6.tmp#id574 index6.tmp#id575 index6.tmp#id565
Type MessageHeaderType
Properties
content: complex
Model SenderApplication{0,1} , CreationDate , ModificationDate , ApplicationVersionCreated , ApplicationVersionModified , CountryCode , CreationCoordinates{0,1}
Children ApplicationVersionCreated, ApplicationVersionModified, CountryCode, CreationCoordinates, CreationDate, ModificationDate, SenderApplication
Instance
<ProductInstructionHeader>
  <SenderApplication>{0,1}</SenderApplication>
  <CreationDate>{1,1}</CreationDate>
  <ModificationDate modificationAuthor="">{1,1}</ModificationDate>
  <ApplicationVersionCreated>{1,1}</ApplicationVersionCreated>
  <ApplicationVersionModified>{1,1}</ApplicationVersionModified>
  <CountryCode>{1,1}</CountryCode>
  <CreationCoordinates coordinateReferenceSystem="" receiverPosition="">{0,1}</CreationCoordinates>
</ProductInstructionHeader>
Source
<xsd:element name="ProductInstructionHeader" type="MessageHeaderType">
  <xsd:annotation>
    <xsd:documentation>
      <doc:VersionCreated>1.0</doc:VersionCreated>
      <doc:Description>General information for message</doc:Description>
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element ProductInstructionType / ProductDefinition
Namespace urn:skogforsk:stanford2010
Annotations
1.0 Structure for defining product.
Diagram
Diagram index76.tmp#id595 index76.tmp#id599 index76.tmp#id594
Type ProductDefinitionProductInstructionType
Properties
content: complex
maxOccurs: unbounded
Model ProductUserID , (ClassifiedProductDefinition)
Children ClassifiedProductDefinition, ProductUserID
Instance
<ProductDefinition>
  <ProductUserID agency="">{1,1}</ProductUserID>
</ProductDefinition>
Source
<xsd:element name="ProductDefinition" type="ProductDefinitionProductInstructionType" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>
      <doc:VersionCreated>1.0</doc:VersionCreated>
      <doc:Description>Structure for defining product.</doc:Description>
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element ProductDefinitionProductInstructionType / ProductUserID
Namespace urn:skogforsk:stanford2010
Annotations
1.0 V121_t2 free text Identity per product defined by user of data, normally logging organisation
Diagram
Diagram index6.tmp#id597 index6.tmp#id596
Type UserIDType
Properties
content: complex
Attributes
QName Type Fixed Default Use Annotation
agency AgencyType optional
1.0 list Enumeration list defining the agency who is responsible of the user ID. Allowed values are: "Buyer","ForestOwner","LoggingContractor","LoggingOrganisation","MachineOwner","Other","Seller"
Source
<xsd:element name="ProductUserID" type="UserIDType">
  <xsd:annotation>
    <xsd:documentation>
      <doc:VersionCreated>1.0</doc:VersionCreated>
      <doc:VarNumber>V121_t2</doc:VarNumber>
      <doc:Unit>free text</doc:Unit>
      <doc:Description>Identity per product defined by user of data, normally
logging organisation</doc:Description>
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element ProductDefinitionProductInstructionType / ClassifiedProductDefinition
Namespace urn:skogforsk:stanford2010
Annotations
1.0 Structure for classified product. Definied in pin message.
Diagram
Diagram index6.tmp#id604 index6.tmp#id605 index6.tmp#id606 index6.tmp#id609 index6.tmp#id612 index6.tmp#id627 index6.tmp#id628 index6.tmp#id633 index6.tmp#id634 index6.tmp#id635 index6.tmp#id636 index6.tmp#id640 index6.tmp#id641 index6.tmp#id603 index6.tmp#id642 index6.tmp#id660 index6.tmp#id674 index6.tmp#id602 index6.tmp#id686 index6.tmp#id687 index6.tmp#id688 index6.tmp#id689 index6.tmp#id691 index6.tmp#id696 index6.tmp#id702 index6.tmp#id711 index6.tmp#id718 index6.tmp#id739 index6.tmp#id601 index76.tmp#id740 index76.tmp#id600
Type ClassifiedProductDefinitionProductInstructionType
Type hierarchy
Properties
content: complex
Model ProductName{0,1} , ModificationDate , ProductInfo{0,1} , ProductVersion{0,1} , ProductBuyer{0,1} , ProductClass{0,1} , LoggingOrganisation{0,1} , ProductDestination* , ProductGroupName{0,1} , StemTypeCode{0,1} , Extension{0,1} , ProductPresentationOrder{0,1} , ProductDescription{0,1} , DiameterDefinition , LengthDefinition , PriceDefinition , ProductCreationDate{0,1} , ManualFreeBuck , TopLogFreeBuck , ProductCondition , CuttingWindowDefinition{0,1} , PermittedGradesDefinition , LengthDistributionDefinition , LimitationDefinition , ProductMatrixes , LongLogButtHeight{0,1} , SpeciesGroupUserID
Children CuttingWindowDefinition, DiameterDefinition, Extension, LengthDefinition, LengthDistributionDefinition, LimitationDefinition, LoggingOrganisation, LongLogButtHeight, ManualFreeBuck, ModificationDate, PermittedGradesDefinition, PriceDefinition, ProductBuyer, ProductClass, ProductCondition, ProductCreationDate, ProductDescription, ProductDestination, ProductGroupName, ProductInfo, ProductMatrixes, ProductName, ProductPresentationOrder, ProductVersion, SpeciesGroupUserID, StemTypeCode, TopLogFreeBuck
Instance
<ClassifiedProductDefinition>
  <ProductName>{0,1}</ProductName>
  <ModificationDate modificationAuthor="">{1,1}</ModificationDate>
  <ProductInfo modificationRestricted="">{0,1}</ProductInfo>
  <ProductVersion modificationRestricted="">{0,1}</ProductVersion>
  <ProductBuyer>{0,1}</ProductBuyer>
  <ProductClass>{0,1}</ProductClass>
  <LoggingOrganisation>{0,1}</LoggingOrganisation>
  <ProductDestination>{0,unbounded}</ProductDestination>
  <ProductGroupName>{0,1}</ProductGroupName>
  <StemTypeCode>{0,1}</StemTypeCode>
  <Extension extensionAction="">{0,1}</Extension>
  <ProductPresentationOrder>{0,1}</ProductPresentationOrder>
  <ProductDescription>{0,1}</ProductDescription>
</ClassifiedProductDefinition>
Source
<xsd:element name="ClassifiedProductDefinition" type="ClassifiedProductDefinitionProductInstructionType">
  <xsd:annotation>
    <xsd:documentation>
      <doc:VersionCreated>1.0</doc:VersionCreated>
      <doc:Description>Structure for classified product. Definied in pin message.</doc:Description>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:unique name="UniqueDiameterAndLenghtClasses">
    <xsd:selector xpath="sfd:ProductMatrixes/sfd:ProductMatrixItem"/>
    <xsd:field xpath="@diameterClassLowerLimit"/>
    <xsd:field xpath="@lengthClassLowerLimit"/>
  </xsd:unique>
</xsd:element>
Element ClassifiedProductDefinitionProductInstructionType / SpeciesGroupUserID
Namespace urn:skogforsk:stanford2010
Annotations
1.0 Identity per species group defined by user of data, normally by logging organisation.
Diagram
Diagram index6.tmp#id597 index6.tmp#id596
Type UserIDType
Properties
content: complex
nillable: false
Attributes
QName Type Fixed Default Use Annotation
agency AgencyType optional
1.0 list Enumeration list defining the agency who is responsible of the user ID. Allowed values are: "Buyer","ForestOwner","LoggingContractor","LoggingOrganisation","MachineOwner","Other","Seller"
Source
<xsd:element name="SpeciesGroupUserID" type="UserIDType" nillable="false">
  <xsd:annotation>
    <xsd:documentation>
      <doc:VersionCreated>1.0</doc:VersionCreated>
      <doc:Description>Identity per species group defined by user of data, normally by  logging organisation.</doc:Description>
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element ProductInstructionType / Extension
Namespace urn:skogforsk:stanford2010
Annotations
1.0 Extension element can include whatever data the users want. The only requirement is that it is well-formed XML i.e. it is tagged
Diagram
Diagram index6.tmp#id638 index6.tmp#id637
Type ExtensionType
Properties
content: complex
minOccurs: 0
Model ANY element from ANY namespace
Attributes
QName Type Fixed Default Use Annotation
extensionAction ExtensionActionType optional
1.0 list Enumeration list. Allowed values are: "Copy" and "Ignore". The purpose of this attribute is to inform the receiver of the message that sender want to get back the copy of the content of the extension structure. For example if we have product specifiic information in extension structure send in pin-message we might want that back in hpr-message.
Source
<xsd:element name="Extension" type="ExtensionType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>
      <doc:VersionCreated>1.0</doc:VersionCreated>
      <doc:Description>Extension element can include whatever data the users want. The only requirement is that it is well-formed XML i.e. it is tagged</doc:Description>
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>
Complex Type ProductInstructionType
Namespace urn:skogforsk:stanford2010
Annotations
1.0 ProductInstructionTypeGraph.png
Diagram
Diagram index76.tmp#id742 index6.tmp#id744 index76.tmp#id564 index76.tmp#id593 index76.tmp#id741
Used by
Model ProductInstructionHeader , ProductDefinition+ , Extension{0,1}
Children Extension, ProductDefinition, ProductInstructionHeader
Attributes
QName Type Fixed Default Use Annotation
areaUnit AreaUnitType required
1.0 list Unit of area information in StanForD 2010 messages.Only allowed value: ha
diameterUnit DiameterUnitType required
1.0 list Unit of diameter information in StanForD 2010 messages.Only allowed value: mm
lengthUnit LengthUnitType required
1.0 list Unit of length information in StanForD 2010 messages.Only allowed value: cm
messageType MessageCategoryType pin required
1.0 list Enumeration list of file extensions of StanForD 2010 messages: Allowed value in Production Instruction message is: "pin"
version StanForD2010VersionType required
2.0 version number The version number of the message in format: "major"."minor", where "major" is a sequential number of the major version (start from 1) and "minor" is a sequential number of the minor version.>
versionDate xsd:date required
2.1 yyyy-mm-dd Date of version
volumeUnit VolumeUnitType required
1.0 list Unit of volume information in StanForD 2010 messages. Only allowed value: m3
weightUnit WeightUnitType required
1.0 list Enumeration list of file extensions of StanForD 2010 messages.Only allowed value: kg
Source
<xsd:complexType name="ProductInstructionType">
  <xsd:annotation>
    <xsd:documentation>
      <doc:VersionCreated>1.0</doc:VersionCreated>
      <doc:Graph>ProductInstructionTypeGraph.png</doc:Graph>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="ProductInstructionHeader" type="MessageHeaderType">
      <xsd:annotation>
        <xsd:documentation>
          <doc:VersionCreated>1.0</doc:VersionCreated>
          <doc:Description>General information for message</doc:Description>
        </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="ProductDefinition" type="ProductDefinitionProductInstructionType" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>
          <doc:VersionCreated>1.0</doc:VersionCreated>
          <doc:Description>Structure for defining product.</doc:Description>
        </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Extension" type="ExtensionType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>
          <doc:VersionCreated>1.0</doc:VersionCreated>
          <doc:Description>Extension element can include whatever data the users want. The only requirement is that it is well-formed XML i.e. it is tagged</doc:Description>
        </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attribute name="messageType" type="MessageCategoryType" use="required" fixed="pin">
    <xsd:annotation>
      <xsd:documentation>
        <doc:VersionCreated>1.0</doc:VersionCreated>
        <doc:Unit>list</doc:Unit>
        <doc:Description>Enumeration list of file extensions of StanForD 2010 messages: Allowed value in Production Instruction message is: "pin"</doc:Description>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attributeGroup ref="MessageAttributeGroup"/>
</xsd:complexType>
Complex Type ProductDefinitionProductInstructionType
Namespace urn:skogforsk:stanford2010
Annotations
1.0 ProductDefinitionProductionInstructionTypeGraph.png
Diagram
Diagram index76.tmp#id595 index76.tmp#id599
Used by
Model ProductUserID , (ClassifiedProductDefinition)
Children ClassifiedProductDefinition, ProductUserID
Source
<xsd:complexType name="ProductDefinitionProductInstructionType">
  <xsd:annotation>
    <xsd:documentation>
      <doc:VersionCreated>1.0</doc:VersionCreated>
      <doc:Graph>ProductDefinitionProductionInstructionTypeGraph.png</doc:Graph>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="ProductUserID" type="UserIDType">
      <xsd:annotation>
        <xsd:documentation>
          <doc:VersionCreated>1.0</doc:VersionCreated>
          <doc:VarNumber>V121_t2</doc:VarNumber>
          <doc:Unit>free text</doc:Unit>
          <doc:Description>Identity per product defined by user of data, normally
logging organisation</doc:Description>
        </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:choice>
      <xsd:element name="ClassifiedProductDefinition" type="ClassifiedProductDefinitionProductInstructionType">
        <xsd:annotation>
          <xsd:documentation>
            <doc:VersionCreated>1.0</doc:VersionCreated>
            <doc:Description>Structure for classified product. Definied in pin message.</doc:Description>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:unique name="UniqueDiameterAndLenghtClasses">
          <xsd:selector xpath="sfd:ProductMatrixes/sfd:ProductMatrixItem"/>
          <xsd:field xpath="@diameterClassLowerLimit"/>
          <xsd:field xpath="@lengthClassLowerLimit"/>
        </xsd:unique>
      </xsd:element>
    </xsd:choice>
  </xsd:sequence>
</xsd:complexType>
Complex Type ClassifiedProductDefinitionProductInstructionType
Namespace urn:skogforsk:stanford2010
Annotations
1.0 ClassifiedProductDefinitionProductionInstructionTypeGraph.png
Diagram
Diagram index6.tmp#id604 index6.tmp#id605 index6.tmp#id606 index6.tmp#id609 index6.tmp#id612 index6.tmp#id627 index6.tmp#id628 index6.tmp#id633 index6.tmp#id634 index6.tmp#id635 index6.tmp#id636 index6.tmp#id640 index6.tmp#id641 index6.tmp#id603 index6.tmp#id642 index6.tmp#id660 index6.tmp#id674 index6.tmp#id602 index6.tmp#id686 index6.tmp#id687 index6.tmp#id688 index6.tmp#id689 index6.tmp#id691 index6.tmp#id696 index6.tmp#id702 index6.tmp#id711 index6.tmp#id718 index6.tmp#id739 index6.tmp#id601 index76.tmp#id740
Type extension of ProductDefinitionWithDetailsType
Type hierarchy
Used by
Model ProductName{0,1} , ModificationDate , ProductInfo{0,1} , ProductVersion{0,1} , ProductBuyer{0,1} , ProductClass{0,1} , LoggingOrganisation{0,1} , ProductDestination* , ProductGroupName{0,1} , StemTypeCode{0,1} , Extension{0,1} , ProductPresentationOrder{0,1} , ProductDescription{0,1} , DiameterDefinition , LengthDefinition , PriceDefinition , ProductCreationDate{0,1} , ManualFreeBuck , TopLogFreeBuck , ProductCondition , CuttingWindowDefinition{0,1} , PermittedGradesDefinition , LengthDistributionDefinition , LimitationDefinition , ProductMatrixes , LongLogButtHeight{0,1} , SpeciesGroupUserID
Children CuttingWindowDefinition, DiameterDefinition, Extension, LengthDefinition, LengthDistributionDefinition, LimitationDefinition, LoggingOrganisation, LongLogButtHeight, ManualFreeBuck, ModificationDate, PermittedGradesDefinition, PriceDefinition, ProductBuyer, ProductClass, ProductCondition, ProductCreationDate, ProductDescription, ProductDestination, ProductGroupName, ProductInfo, ProductMatrixes, ProductName, ProductPresentationOrder, ProductVersion, SpeciesGroupUserID, StemTypeCode, TopLogFreeBuck
Source
<xsd:complexType name="ClassifiedProductDefinitionProductInstructionType">
  <xsd:annotation>
    <xsd:documentation>
      <doc:VersionCreated>1.0</doc:VersionCreated>
      <doc:Graph>ClassifiedProductDefinitionProductionInstructionTypeGraph.png</doc:Graph>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexContent>
    <xsd:extension base="ProductDefinitionWithDetailsType">
      <xsd:sequence>
        <xsd:element name="SpeciesGroupUserID" type="UserIDType" nillable="false">
          <xsd:annotation>
            <xsd:documentation>
              <doc:VersionCreated>1.0</doc:VersionCreated>
              <doc:Description>Identity per species group defined by user of data, normally by  logging organisation.</doc:Description>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:sequence>
    </xsd:extension>
  </xsd:complexContent>
</xsd:complexType>
Attribute ProductInstructionType / @messageType
Namespace No namespace
Annotations
1.0 list Enumeration list of file extensions of StanForD 2010 messages: Allowed value in Production Instruction message is: "pin"
Type MessageCategoryType
Properties
use: required
fixed: pin
Facets
enumeration env
enumeration fdi
enumeration foi
enumeration fpr
enumeration fqc
enumeration hpr
enumeration hqc
enumeration ogi
enumeration ogr
enumeration oin
enumeration mom
enumeration pin
enumeration spi
enumeration udi
enumeration thp
Used by
Complex Type ProductInstructionType
Source
<xsd:attribute name="messageType" type="MessageCategoryType" use="required" fixed="pin">
  <xsd:annotation>
    <xsd:documentation>
      <doc:VersionCreated>1.0</doc:VersionCreated>
      <doc:Unit>list</doc:Unit>
      <doc:Description>Enumeration list of file extensions of StanForD 2010 messages: Allowed value in Production Instruction message is: "pin"</doc:Description>
    </xsd:documentation>
  </xsd:annotation>
</xsd:attribute>