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 index47.tmp#id783 index10.tmp#id785 index47.tmp#id605 index47.tmp#id634 index47.tmp#id782 index47.tmp#id604
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 index10.tmp#id607 index10.tmp#id608 index10.tmp#id610 index10.tmp#id613 index10.tmp#id614 index10.tmp#id615 index10.tmp#id616 index10.tmp#id606
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 index47.tmp#id636 index47.tmp#id640 index47.tmp#id635
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 index10.tmp#id638 index10.tmp#id637
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 index10.tmp#id645 index10.tmp#id646 index10.tmp#id647 index10.tmp#id650 index10.tmp#id653 index10.tmp#id668 index10.tmp#id669 index10.tmp#id674 index10.tmp#id675 index10.tmp#id676 index10.tmp#id677 index10.tmp#id681 index10.tmp#id682 index10.tmp#id644 index10.tmp#id683 index10.tmp#id701 index10.tmp#id715 index10.tmp#id643 index10.tmp#id727 index10.tmp#id728 index10.tmp#id729 index10.tmp#id730 index10.tmp#id732 index10.tmp#id737 index10.tmp#id743 index10.tmp#id752 index10.tmp#id759 index10.tmp#id780 index10.tmp#id642 index47.tmp#id781 index47.tmp#id641
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 index10.tmp#id638 index10.tmp#id637
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 index10.tmp#id679 index10.tmp#id678
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 index47.tmp#id783 index10.tmp#id785 index47.tmp#id605 index47.tmp#id634 index47.tmp#id782
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 index47.tmp#id636 index47.tmp#id640
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 index10.tmp#id645 index10.tmp#id646 index10.tmp#id647 index10.tmp#id650 index10.tmp#id653 index10.tmp#id668 index10.tmp#id669 index10.tmp#id674 index10.tmp#id675 index10.tmp#id676 index10.tmp#id677 index10.tmp#id681 index10.tmp#id682 index10.tmp#id644 index10.tmp#id683 index10.tmp#id701 index10.tmp#id715 index10.tmp#id643 index10.tmp#id727 index10.tmp#id728 index10.tmp#id729 index10.tmp#id730 index10.tmp#id732 index10.tmp#id737 index10.tmp#id743 index10.tmp#id752 index10.tmp#id759 index10.tmp#id780 index10.tmp#id642 index47.tmp#id781
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>