[16] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <xsd:schema |
---|
| 3 | elementFormDefault="qualified" |
---|
| 4 | attributeFormDefault="unqualified" |
---|
| 5 | targetNamespace="http://www.witsml.org/schemas/131" |
---|
| 6 | xmlns:witsml="http://www.witsml.org/schemas/131" |
---|
| 7 | xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
---|
| 8 | version="1.3.1"> |
---|
| 9 | <!-- --> |
---|
| 10 | <!-- POSC License Agreement |
---|
| 11 | This file is distributed under the POSC License Agreement at |
---|
| 12 | http://www.posc.org/about/license.shtml. |
---|
| 13 | Use of this file constitutes agreement with the POSC License Agreement. |
---|
| 14 | --> |
---|
| 15 | <!-- --> |
---|
| 16 | <xsd:include schemaLocation="typ_dataTypes.xsd"/> |
---|
| 17 | <xsd:include schemaLocation="attgrp_uid.xsd"/> |
---|
| 18 | <!-- --> |
---|
| 19 | <xsd:complexType name="cs_inventory"> |
---|
| 20 | <xsd:annotation> |
---|
| 21 | <xsd:documentation>WITSML - Inventory Component Schema </xsd:documentation> |
---|
| 22 | </xsd:annotation> |
---|
| 23 | <xsd:sequence> |
---|
| 24 | <xsd:element name="name" type="witsml:str32" minOccurs="1" maxOccurs="1"> |
---|
| 25 | <xsd:annotation> |
---|
| 26 | <xsd:documentation>Name or type of inventory item. </xsd:documentation> |
---|
| 27 | </xsd:annotation> |
---|
| 28 | </xsd:element> |
---|
| 29 | <xsd:choice> |
---|
| 30 | <xsd:element name="itemWtPerUnit" type="witsml:massMeasure" minOccurs="0" maxOccurs="1"> |
---|
| 31 | <xsd:annotation> |
---|
| 32 | <xsd:documentation>Weight per item unit. </xsd:documentation> |
---|
| 33 | </xsd:annotation> |
---|
| 34 | </xsd:element> |
---|
| 35 | <xsd:element name="itemVolPerUnit" type="witsml:volumeMeasure" minOccurs="0" maxOccurs="1"> |
---|
| 36 | <xsd:annotation> |
---|
| 37 | <xsd:documentation>Volume per item unit. </xsd:documentation> |
---|
| 38 | </xsd:annotation> |
---|
| 39 | </xsd:element> |
---|
| 40 | </xsd:choice> |
---|
| 41 | <xsd:element name="pricePerUnit" type="witsml:cost" minOccurs="0" maxOccurs="1"> |
---|
| 42 | <xsd:annotation> |
---|
| 43 | <xsd:documentation>Price per item unit, assume same currency for all items. </xsd:documentation> |
---|
| 44 | </xsd:annotation> |
---|
| 45 | </xsd:element> |
---|
| 46 | <xsd:element name="qtyStart" type="witsml:nonNegativeCount" minOccurs="0" maxOccurs="1"> |
---|
| 47 | <xsd:annotation> |
---|
| 48 | <xsd:documentation>Start quantity for report interval. </xsd:documentation> |
---|
| 49 | </xsd:annotation> |
---|
| 50 | </xsd:element> |
---|
| 51 | <xsd:element name="qtyAdjustment" type="witsml:integerCount" minOccurs="0" maxOccurs="1"> |
---|
| 52 | <xsd:annotation> |
---|
| 53 | <xsd:documentation>Daily quantity adjustment/correction. </xsd:documentation> |
---|
| 54 | </xsd:annotation> |
---|
| 55 | </xsd:element> |
---|
| 56 | <xsd:element name="qtyReceived" type="witsml:nonNegativeCount" minOccurs="0" maxOccurs="1"> |
---|
| 57 | <xsd:annotation> |
---|
| 58 | <xsd:documentation>Quantity received at site. </xsd:documentation> |
---|
| 59 | </xsd:annotation> |
---|
| 60 | </xsd:element> |
---|
| 61 | <xsd:element name="qtyReturned" type="witsml:nonNegativeCount" minOccurs="0" maxOccurs="1"> |
---|
| 62 | <xsd:annotation> |
---|
| 63 | <xsd:documentation>Quantity returned to base from site. </xsd:documentation> |
---|
| 64 | </xsd:annotation> |
---|
| 65 | </xsd:element> |
---|
| 66 | <xsd:element name="qtyUsed" type="witsml:nonNegativeCount" minOccurs="0" maxOccurs="1"> |
---|
| 67 | <xsd:annotation> |
---|
| 68 | <xsd:documentation>Quantity used for the report period </xsd:documentation> |
---|
| 69 | </xsd:annotation> |
---|
| 70 | </xsd:element> |
---|
| 71 | <xsd:element name="costItem" type="witsml:cost" minOccurs="0" maxOccurs="1"> |
---|
| 72 | <xsd:annotation> |
---|
| 73 | <xsd:documentation>Cost for the product for the interval. </xsd:documentation> |
---|
| 74 | </xsd:annotation> |
---|
| 75 | </xsd:element> |
---|
| 76 | <xsd:element name="qtyOnLocation" type="witsml:nonNegativeCount" minOccurs="0" maxOccurs="1"> |
---|
| 77 | <xsd:annotation> |
---|
| 78 | <xsd:documentation>Amount of item remaining on location after all adjustments |
---|
| 79 | for the report interval. </xsd:documentation> |
---|
| 80 | </xsd:annotation> |
---|
| 81 | </xsd:element> |
---|
| 82 | </xsd:sequence> |
---|
| 83 | <xsd:attributeGroup ref="witsml:attgrp_uid"> |
---|
| 84 | <xsd:annotation> |
---|
| 85 | <xsd:documentation>Unique identifier for the inventory. </xsd:documentation> |
---|
| 86 | </xsd:annotation> |
---|
| 87 | </xsd:attributeGroup> |
---|
| 88 | </xsd:complexType> |
---|
| 89 | </xsd:schema> |
---|