Le document de définition permet la publication des mesures collectées.
<?xml version="1.0" encoding="utf-8"?> <xs:schema id="NCADataPublication" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:NCADataPublication="https://scows.nicecotedazur.org/services/api/1.2" targetNamespace="https://scows.nicecotedazur.org/services/api/1.2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:NCACommon="https://scows.nicecotedazur.org/services/api/1.2" version="1.2" > <xs:include schemaLocation="NCACommon.xsd" /> <xs:element name="NCADataPublication" type="NCADataPublication:NCADataPublication" /> <xs:complexType name="NCADataPublication"> <xs:annotation> <xs:documentation>Data Publication.</xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="publicationTime" type="NCACommon:DateTime" minOccurs="1" maxOccurs="1"> <xs:annotation> <xs:documentation>Point in time at which this data has been published. YYYY-MM-DDTHH:MM:SS.SSSZ</xs:documentation> </xs:annotation> </xs:element> <xs:element name="publicationCreator" type="NCACommon:InternationalIdentifier" minOccurs="1" maxOccurs="1" /> <xs:element name="elaboratedData" type="NCADataPublication:ElaboratedData" minOccurs="0" maxOccurs="unbounded" /> <xs:element name="credentials" type="NCACommon:Credentials" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:complexType> <xs:complexType name="BasicDataValue"> <xs:annotation> <xs:documentation>Generic data values of either measured.</xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="canalID" type="xs:ID" minOccurs="1" maxOccurs="1"> <xs:annotation> <xs:documentation>ID of the canal which has produced the information relating to this version of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="canalName" type="NCACommon:String" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Name of the canal which has produced the information relating to this version of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="canalType" type="NCACommon:String" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Type of the canal which has produced the information relating to this version of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="canalBrand" type="NCACommon:String" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Brand of the canal which has produced the information relating to this version of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="canalModel" type="NCACommon:String" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Model of the canal which has produced the information relating to this version of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="canalVersion" type="NCACommon:String" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Version of the canal which has produced the information relating to this version of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="canalSerialNumber" type="NCACommon:String" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Serial Number of the canal which has produced the information relating to this version of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="canalState" type="NCACommon:String" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>State of the canal which has produced the information relating to this version of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="canalInstallationDate" type="NCACommon:DateTime" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Installation Date of the canal which has produced the information relating to this version of the information. YYYY-MM-DDTHH:MM:SS.SSSZ</xs:documentation> </xs:annotation> </xs:element> <xs:element name="canalMeasurementTimeInterval" type="NCACommon:TimeDataValue" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Duration in seconds beetwwen two measurements of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="canalTransmissionTimeInterval" type="NCACommon:TimeDataValue" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Duration in seconds beetwwen two transmissions.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="canalTime" type="NCACommon:DateTime" minOccurs="1" maxOccurs="1"> <xs:annotation> <xs:documentation>Point in time at which this specific value has been computed or measured.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="angleValue" type="NCACommon:AngleDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="anyValue" type="NCACommon:AnyDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="colorValue" type="NCACommon:ColorDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="degreeDayValue" type="NCACommon:DegreeDayDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="depthValue" type="NCACommon:DepthDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="distanceValue" type="NCACommon:DistanceDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="densityValue" type="NCACommon:DensityDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="documentValue" type="NCACommon:DocumentDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="evapotranspirationValue" type="NCACommon:EvapotranspirationDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="horizontalDistanceValue" type="NCACommon:HorizontalDistanceDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="luminanceValue" type="NCACommon:LuminanceDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="pressureValue" type="NCACommon:PressureDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="radiationValue" type="NCACommon:RadiationDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="sensorValue" type="NCACommon:SensorDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="speedValue" type="NCACommon:SpeedDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="stateValue" type="NCACommon:StateDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="temperatureValue" type="NCACommon:TemperatureDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="timeValue" type="NCACommon:DateTime" minOccurs="0" maxOccurs="1" /> <xs:element name="timeSpanValue" type="NCACommon:TimeDataValue" minOccurs="0" maxOccurs="1" /> <xs:element name="verticalValue" type="NCACommon:VerticalDataValue" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:complexType> <xs:complexType name="ElaboratedData"> <xs:annotation> <xs:documentation>Data information publication.</xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="deviceID" type="NCACommon:Deviceid" minOccurs="1" maxOccurs="1"> <xs:annotation> <xs:documentation>ID of the equipment which has produced the information relating to this version of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="deviceName" type="NCACommon:String" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Name of the equipment which has produced the information relating to this version of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="deviceType" type="NCACommon:String" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Type of the equipment which has produced the information relating to this version of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="deviceBrand" type="NCACommon:String" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Brand of the equipment which has produced the information relating to this version of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="deviceModel" type="NCACommon:String" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Model of the equipment which has produced the information relating to this version of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="deviceVersion" type="NCACommon:String" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Version of the equipment which has produced the information relating to this version of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="deviceSerialNumber" type="NCACommon:String" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Serial Number of the equipment which has produced the information relating to this version of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="deviceFirmware" type="NCACommon:String" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Firmware version of the equipment which has produced the information relating to this version of the information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="deviceInstallationDate" type="NCACommon:DateTime" minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>Point in time at which this data has been installed. YYYY-MM-DDTHH:MM:SS.SSSZ</xs:documentation> </xs:annotation> </xs:element> <xs:element name="sourceInformation" type="NCACommon:SourceInformation" minOccurs="0" maxOccurs="1" /> <xs:element name="basicDataValue" type="NCADataPublication:BasicDataValue" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:schema>