diff --git a/VehicleType/schema.json b/VehicleType/schema.json index 929da85..a33360a 100644 --- a/VehicleType/schema.json +++ b/VehicleType/schema.json @@ -1,661 +1,145 @@ { - "$schema": "http://json-schema.org/schema#", - "$schemaVersion": "0.0.1", - "$id": "https://smart-data-models.github.io/dataModel.ERA/Certificate/schema.json", - "modelTags": "ERA vocabulary, railway, train", - "license": "https://smart-data-models.github.io/dataModel.ERA/Certificate/LICENSE.md", - "derivedFrom": "http://data.europa.eu/949/VehicleType", - "type": "object", - "allOf": [ - { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$schemaVersion": "0.3.4", + "modelTags": "IUDX", + "$id": "https://smart-data-models.github.io/dataModel.Weather/WeatherObserved/schema.json", + "title": "Weather Observed schema - Smart Data Models", + "description": "An observation of weather conditions at a certain place and time. This data model has been developed in cooperation with mobile operators and the GSMA.", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/dataModel.Weather/weather-schema.json#/definitions/Weather-Commons" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "WeatherObserved" + ], + "description": "Property. NGSI Entity type. It has to be WeatherObserved" }, - { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + "dateObserved": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/dateObserved" }, - { - "properties": { - "type": { - "type": "string", - "enum": [ - "VehicleType" - ], - "description": "Property. NGSI data type. It has to be VehicleType" - }, - "alternativeName": { - "type": "string", - "description": "Property. Alternative name" - }, - "altitudeRange": { - "type": "string", - "description": "Property. Altitude range" - }, - "altitudeRangeDetail": { - "type": "integer", - "description": "Property. Altitude range detail" - }, - "axleSpacing": { - "type": "string", - "description": "Property. Axle spacing" - }, - "boardingAids": { - "type": "string", - "description": "Property. Boarding aids" - }, - "brakeWeightPercentage": { - "type": "string", - "description": "Property. Brake weight percentage" - }, - "cantDefficiency": { - "type": "integer", - "description": "Property. Cant defficiency" - }, - "catenaryMaxRatedCurrent": { - "type": "number", - "description": "Property. Catenary max rated current" - }, - "conditionsTrainFormation": { - "type": "string", - "description": "Property. Conditions train formation" - }, - "dangerousGoodsTankCode": { - "type": "string", - "description": "Property. Dangerous goods tank code" - }, - "designMassExceptionalPayload": { - "type": "integer", - "description": "Property. Design mass under exceptional payload" - }, - "designMassNormalPayload": { - "type": "integer", - "description": "Property. Design mass under normal payload" - }, - "designMassWorkingOrder": { - "type": "integer", - "description": "Property. Design mass in working order" - }, - "drivingCabs": { - "type": "integer", - "description": "Property. Driving cabs" - }, - "eddyCurrentBrakePrevention": { - "type": "boolean", - "description": "Property. Eddy current brake prevention" - }, - "eddyCurrentBrakingFitted": { - "type": "boolean", - "description": "Property. Eddy current braking fitted" - }, - "emergencyBrake": { - "type": "string", - "description": "Property. Emergency braking" - }, - "energyMeterInstalled": { - "type": "boolean", - "description": "Property. Energy meter installed" - }, - "energySupplyMaxPower": { - "type": "number", - "description": "Property. Energy supply max power" - }, - "etcsDataCommApp": { - "type": "string", - "description": "Property. ETCS data communication application" - }, - "etcsNationalApplications": { - "type": "string", - "description": "Property. ETCS national applications" - }, - "etcsOnBoardImplementation": { - "type": "string", - "description": "Property. ETCS on-board implementation" - }, - "ferromagneticWheelMaterial": { - "type": "boolean", - "description": "Property. Ferromagnetic wheel material" - }, - "fixedSeats": { - "type": "string", - "description": "Property. Fixed seats" - }, - "flangeLubricationFitted": { - "type": "boolean", - "description": "Property. Flange lubrication fitted" - }, - "gsmRSetsInDrivingCab": { - "type": "integer", - "description": "Property. GSM-R sets in driving cab" - }, - "hasAutomaticDroppingDevice": { - "type": "boolean", - "description": "Property. Has automatic dropping device" - }, - "hasCantDefficiencyCompensation": { - "type": "boolean", - "description": "Property. Has cant defficiency compensation" - }, - "hasCurrentLimitation": { - "type": "boolean", - "description": "Property. Has current limitation" - }, - "hasLubricationDevicePrevention": { - "type": "boolean", - "description": "Property. Has lubrication device prevention" - }, - "hasParkingBrake": { - "type": "boolean", - "description": "Property. Has parking brake" - }, - "hasRegenerativeBrake": { - "type": "boolean", - "description": "Property. Permission for regenerative braking" - }, - "hasSandingPrevention": { - "type": "boolean", - "description": "Property. Has sanding prevention" - }, - "hasShuntingRestrictions": { - "type": "boolean", - "description": "Property. Has shunting restrictions" - }, - "hasTrainIntegrityConfirmation": { - "type": "boolean", - "description": "Property. Has train integrity confirmation" - }, - "hasWheelSlideProtectionSystem": { - "type": "boolean", - "description": "Property. Has wheel slide protection system" - }, - "letterMarking": { - "type": "string", - "description": "Property. Letter marking" - }, - "loadingPlatformHeight": { - "type": "integer", - "description": "Property. Loading platform height" - }, - "magneticBrakePrevention": { - "type": "boolean", - "description": "Property. Magnetic brake prevention" - }, - "magneticBrakingFitted": { - "type": "boolean", - "description": "Property. Magnetic braking fitted" - }, - "massPerWheel": { - "type": "integer", - "description": "Property. Mass per wheel" - }, - "maxCurrentStandstillPantograph": { - "type": "number", - "description": "Property. Maximum current at standstill per pantograph" - }, - "maxDistConsecutiveAxles": { - "type": "integer", - "description": "Property. Maximum permitted distance between two consecutive axles in case of TSI non-compliance" - }, - "maxFlangeHeight": { - "type": "number", - "description": "Property. Maximum permitted height of the flange" - }, - "maxImpedanceWheelset": { - "type": "number", - "description": "Property. Maximum permitted impedance between opposite wheels of a wheelset when not TSI compliant" - }, - "maxLengthVehicleNose": { - "type": "integer", - "description": "Property. Maximum length vehicle nose" - }, - "maximumAverageDeceleration": { - "type": "number", - "description": "Property. Maximum average deceleration" - }, - "maximumBrakeThermalEnergyCapacity": { - "type": "integer", - "description": "Property. Maximum brake thermal energy capacity" - }, - "maximumContactWireHeight": { - "type": "number", - "description": "Property. Maximum contact wire height" - }, - "maximumDesignSpeed": { - "type": "integer", - "description": "Property. Maximum design speed" - }, - "maximumLocomotivesCoupled": { - "type": "integer", - "description": "Property. Maximum locomotives coupled" - }, - "maximumServiceBrake": { - "type": "string", - "description": "Property. Maximum service break" - }, - "maximumSpeedAndCantDeficiency": { - "type": "string", - "description": "Property. Maximum speed and cant deficiency" - }, - "maximumSpeedEmpty": { - "type": "integer", - "description": "Property. Maximum speed empty" - }, - "maximumTemperature": { - "type": "integer", - "description": "Property. Temperature range (maximum)" - }, - "meetsRequirementVehicleAuthorisation": { - "type": "string", - "description": "Property. Meets requirement vehicle authorization" - }, - "minAxleLoad": { - "type": "number", - "description": "Property. Minimum permitted axle load" - }, - "minDistConsecutiveAxles": { - "type": "integer", - "description": "Property. Minimum permitted distance between two consecutive axles" - }, - "minDistFirstLastAxle": { - "type": "integer", - "description": "Property. Minimum permitted distance between first and last axle" - }, - "minFlangeHeight": { - "type": "number", - "description": "Property. Minimum permitted height of the flange" - }, - "minFlangeThickness": { - "type": "number", - "description": "Property. Minimum permitted thickness of the flange" - }, - "minRimWidth": { - "type": "number", - "description": "Property. Minimum permitted width of the rim" - }, - "minVehicleImpedance": { - "type": "string", - "description": "Property. Vehicle impedance" - }, - "minWheelDiameter": { - "type": "integer", - "description": "Property. Minimum permitted wheel diameter" - }, - "minimumConcaveVerticalRadius": { - "type": "integer", - "description": "Property. Minimum concave vertical radius" - }, - "minimumContactWireHeight": { - "type": "number", - "description": "Property. Minimum contact wire height" - }, - "minimumConvexVerticalRadius": { - "type": "integer", - "description": "Property. Minimum convex vertical radius" - }, - "minimumHorizontalRadius": { - "type": "integer", - "description": "Property. Minimum radius of horizontal curve" - }, - "minimumTemperature": { - "type": "integer", - "description": "Property. Temperature range (minimum)" - }, - "minimumWheelDiameter": { - "type": "integer", - "description": "Property. Minimum wheel diameter for fixed obtuse crossings" - }, - "nonCodedRestrictions": { - "type": "string", - "description": "Property. Non coded restrictions" - }, - "numberElementsRakeFreightWagons": { - "type": "integer", - "description": "Property. Number elements rake freight wagons" - }, - "numberOfPantographsInContactWithOCL": { - "type": "integer", - "description": "Property. Number of pantographs in contact with OCL" - }, - "numberOfToilets": { - "type": "integer", - "description": "Property. Number of toilets" - }, - "oclType": { - "type": "string", - "description": "Property. Ocl type" - }, - "parkingBrake": { - "type": "boolean", - "description": "Property. Parking brake" - }, - "parkingBrakeMandatory": { - "type": "boolean", - "description": "Property. Parking brake mandatory" - }, - "parkingBrakeMaximumGradient": { - "type": "number", - "description": "Property. Parking brake maximum gradient" - }, - "passByNoiseLevel": { - "type": "number", - "description": "Property. Pass-by noise level" - }, - "permissiblePayload": { - "type": "string", - "description": "Property. Permissible payload" - }, - "portableBoardingAids": { - "type": "string", - "description": "Property. Portable boarding aids" - }, - "preventRegenerativeBrakeUse": { - "type": "boolean", - "description": "Property. Prevent regenerative brake use" - }, - "prioritySeats": { - "type": "string", - "description": "Property. Priority seats" - }, - "prmAccessibleToilets": { - "type": "integer", - "description": "Property. Prm accessible toilets" - }, - "quasiStaticGuidingForce": { - "type": "number", - "description": "Property. Quasi static guiding force" - }, - "radioSwitchOverSpecialConditions": { - "type": "string", - "description": "Property. Radio switch over special conditions" - }, - "referencePassByNoiseLevel": { - "type": "boolean", - "description": "Property. Reference pass-by noise level" - }, - "shortestDistanceBetweenPantographsInContactWithOCL": { - "type": "string", - "description": "Property. Shortest distance between pantographs in contact with OCL" - }, - "sleepingPlaces": { - "type": "string", - "description": "Property. Sleeping places" - }, - "startingNoiseLevel": { - "type": "number", - "description": "Property. Starting noise level" - }, - "staticAxleLoadExceptionalPayload": { - "type": "number", - "description": "Property. Static axle load under exceptional payload" - }, - "staticAxleLoadNormalPayload": { - "type": "number", - "description": "Property. Static axle load under normal payload" - }, - "staticAxleLoadWorkingOrder": { - "type": "number", - "description": "Property. Static axle load in working order" - }, - "stationaryNoiseLevel": { - "type": "number", - "description": "Property. Stationary noise level" - }, - "structuralCategory": { - "type": "string", - "description": "Property. Structural category" - }, - "thermalCapacityDistance": { - "type": "number", - "description": "Property. Thermal capacity distance" - }, - "thermalCapacityGradient": { - "type": "number", - "description": "Property. Thermal capacity gradient" - }, - "thermalCapacitySpeed": { - "type": "number", - "description": "Property. Thermal capacity speed" - }, - "thermalCapacityTime": { - "type": "integer", - "description": "Property. Thermal capacity time" - }, - "totalVehicleMass": { - "type": "integer", - "description": "Property. Total vehicle mass" - }, - "trainControlSwitchOverSpecialConditions": { - "type": "string", - "description": "Property. Train control switch over special conditions" - }, - "transportableOnFerry": { - "type": "boolean", - "description": "Property. Transportable on ferry" - }, - "typeVersionNumber": { - "type": "string", - "description": "Property. Type version number" - }, - "usesGroup555": { - "type": "boolean", - "description": "Property. GSM-R use of group 555" - }, - "vehicleContactForce": { - "type": "integer", - "description": "Property. Vehicle contact force" - }, - "vehicleKinematicGaugeOther": { - "type": "string", - "description": "Property. Vehicle kinematic gauge other" - }, - "vehicleMaxSandingOutput": { - "type": "string", - "description": "Property. Vehicle max sanding output" - }, - "vehiclePantographHead": { - "type": "string", - "description": "Property. Vehicle pantograph head" - }, - "vehiclesComposingFixedFormation": { - "type": "integer", - "description": "Property. Vehicles composing fixed formation" - }, - "voiceOperationalCommImpl": { - "type": "string", - "description": "Property. Voice operational communication implementation" - }, - "wheelSetGaugeTransformationMethod": { - "type": "string", - "description": "Property. Wheel set gauge transformation method" - }, - "wheelchairSleepingPlaces": { - "type": "string", - "description": "Property. Wheelchair sleeping spaces" - }, - "wheelchairSpaces": { - "type": "integer", - "description": "Property. Wheelchair spaces" - }, - "authorizedCountry": { - "type": "string", - "format": "uri", - "description": "Relationship. Authorized country" - }, - "axleBearingConditionMonitoring": { - "type": "string", - "format": "uri", - "description": "Relationship. Axle bearing condition monitoring" - }, - "category": { - "type": "string", - "format": "uri", - "description": "Relationship. Vehicle category" - }, - "certificate": { - "type": "string", - "format": "uri", - "description": "Relationship. Certificate" - }, - "contactStripMaterial": { - "type": "string", - "format": "uri", - "description": "Relationship. Permitted contact strip material" - }, - "dataGSMRNetwork": { - "type": "string", - "format": "uri", - "description": "Relationship. Data GSM-R network" - }, - "dataRadioCompatible": { - "type": "string", - "format": "uri", - "description": "Relationship. Radio system compatibility data" - }, - "endCouplingType": { - "type": "string", - "format": "uri", - "description": "Relationship. End coupling type" - }, - "energySupplySystem": { - "type": "string", - "format": "uri", - "description": "Relationship. Energy supply system" - }, - "etcsBaseline": { - "type": "string", - "format": "uri", - "description": "Relationship. ETCS baseline" - }, - "etcsEquipmentOnBoardLevel": { - "type": "string", - "format": "uri", - "description": "Relationship. ETCS equipment level" - }, - "etcsInfill": { - "type": "string", - "format": "uri", - "description": "Relationship. ETCS infill installed lineside" - }, - "etcsSystemCompatibility": { - "type": "string", - "format": "uri", - "description": "Relationship. ETCS system compatibility" - }, - "fireSafetyCategory": { - "type": "string", - "format": "uri", - "description": "Relationship. Fire safety category" - }, - "gaugingProfile": { - "type": "string", - "format": "uri", - "description": "Relationship. Gauging" - }, - "gsmRRadioDataCommunication": { - "type": "string", - "format": "uri", - "description": "Relationship. GSM-R radio data communication" - }, - "gsmRVersion": { - "type": "string", - "format": "uri", - "description": "Relationship. GSM-R version" - }, - "legacyRadioSystem": { - "type": "string", - "format": "uri", - "description": "Relationship. Other radio systems installed (Radio Legacy Systems)" - }, - "manufacturer": { - "type": "string", - "format": "uri", - "description": "Relationship. Manufacturer" - }, - "manufacturingCountry": { - "type": "string", - "format": "uri", - "description": "Relationship. Manufacturing country" - }, - "parkingBrakeType": { - "type": "string", - "format": "uri", - "description": "Relationship. Parking brake type" - }, - "previousVehicleType": { - "type": "string", - "format": "uri", - "description": "Relationship. Previous vehicle type" - }, - "protectionLegacySystem": { - "type": "string", - "format": "uri", - "description": "Relationship. Train protection legacy system" - }, - "railInclination": { - "type": "string", - "format": "uri", - "description": "Relationship. Rail inclination" - }, - "snowIceHailConditions": { - "type": "string", - "format": "uri", - "description": "Relationship. Snow ice hail conditions" - }, - "subCategory": { - "type": "string", - "format": "uri", - "description": "Relationship. Vehicle subcategory" - }, - "supportedPlatformHeight": { - "type": "string", - "format": "uri", - "description": "Relationship. Supported platform height" - }, - "thermalCapacityTSIReference": { - "type": "string", - "format": "uri", - "description": "Relationship. Thermal capacity TSI reference" - }, - "trainDetectionSystemType": { - "type": "string", - "format": "uri", - "description": "Relationship. Type of train detection system" - }, - "typeVersionId": { - "type": "string", - "format": "uri", - "description": "Relationship. Type version id" - }, - "vehicleTypeMaximumSpeedAndCantDeficiency": { - "type": "string", - "format": "uri", - "description": "Relationship. Vehicle type maximum speed and cant deficiency" - }, - "voiceGSMRNetwork": { - "type": "string", - "format": "uri", - "description": "Relationship. Voice GSM-R network" - }, - "voiceRadioCompatible": { - "type": "string", - "format": "uri", - "description": "Relationship. Radio system compatibility voice" - }, - "wheelSetGauge": { - "type": "string", - "format": "uri", - "description": "Relationship. Nominal track gauge" - }, - "wheelSetGaugeChangeoverFacility": { - "type": "string", - "format": "uri", - "description": "Relationship. Wheelset gauge changeover facility" - } + "precipitation": { + "type": "number", + "minimum": 0, + "description": "Property. Model:'https://schema.org/Number'. Amount of water rain registered. Units:'Liters per square meter'. " + }, + "solarRadiation": { + "type": "number", + "minimum": 0, + "description": "Property. Model:'https://schema.org/Number'. The solar radiation observed measured in Watts per square. Units:'w/m2'" + }, + "directIrradiation": { + "type": "number", + "minimum": 0, + "description": "Property. Model:'https://schema.org/Number'. Direct irradiance is the part of the solar irradiance that directly reaches a surface. Units:'w/m2'" + }, + "diffuseIrradiation": { + "type": "number", + "minimum": 0, + "description": "Property. Model:'https://schema.org/Number'. Diffuse irradiance is the part of the solar irradiance that is scattered by the atmosphere. Units:'w/m2'" + }, + "pressureTendency": { + "oneOf": [ + { + "type": "string", + "enum": [ + "falling", + "raising", + "steady" + ] + }, + { + "type": "number" } + ], + "description": "Property. Enum:'falling, raising, steady'. Is the pressure rising or falling? It can be expressed in quantitative terms or qualitative terms" + }, + "dewPoint": { + "type": "number", + "description": "Property. Model:'https://schema.org/Number'. Units:'Celsius degrees'. The dew point encoded as a number. Observed temperature to which air must be cooled to become saturated with water vapor" + }, + "refDevice": { + "anyOf": [ + { + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", + "description": "Property. Identifier format of any NGSI entity" + }, + { + "type": "string", + "format": "uri", + "description": "Property. Identifier format of any NGSI entity" + } + ], + "description": "Relationship. Model:'https://schema.org/URL'. A reference to the device(s) which captured this observation" + }, + "streamGauge": { + "type": "number", + "minimum": 0, + "description": "Property. Model:'https://schema.org/Number'. The water level surface elevation observed by Hydrometric measurement sensors, namely a [Stream Gauge](https://en.wikipedia.org/wiki/Stream_gauge) expressed in centimeters. Units:'centimeters'" + }, + "snowHeight": { + "type": "number", + "minimum": 0, + "description": "Property. Model:'https://schema.org/Number'. The snow height observed by generic snow depth measurement sensors, expressed in centimeters. Units:'centimeters'" + }, + "uVIndexMax": { + "type": "number", + "minimum": 0, + "description": "Property. Model:'https://schema.org/Number'. The maximum UV index for the period, based on the World Health Organization's UV Index measure. [http://www.who.int/uv/intersunprogramme/activities/uv_index/en/](http://www.who.int/uv/intersunprogramme/activities/uv_index/en/) the values between 1 and 11 are the valid range for the index. The value 0 is for describing that no signal is detected so no value is stored" + }, + "aqiMajorPollutant": { + "type": "string", + "description": "Property. Model:'https://schema.org/Text'. Major pollutant in the Air Quality Index (AQI)" + }, + "aqiMajorPollutantForecast": { + "type": "string", + "description": "Property. Model:'https://schema.org/Text'. Forecasted major air pollutant in the Air Quality Index (AQI) over a certain duration in future" + }, + "airTemperatureForecast": { + "type": "number", + "description": "Property. Model:'https://schema.org/Number'. Forecasted value of air temperature over a certain duration in future" + }, + "precipitationForecast": { + "type": "number", + "description": "Property. Model:'https://schema.org/Number'. Forecasted rainfall over a certain duration in future" + }, + "airQualityIndex": { + "type": "number", + "description": "Property. Model:'https://schema.org/Number'. Air quality index is a number used to report the quality of the air on any given day" + }, + "relativeHumidityForecast": { + "type": "number", + "description": "Property. Model:'https://schema.org/Number'. Forecasted relative humidity (water vapour in air) over a certain duration in future" + }, + "airQualityIndexForecast": { + "type": "number", + "description": "Property. Model:'https://schema.org/Number'. Forecasted overall Air Quality Index (AQI) over a certain duration in future" + }, + "airTemperatureTSA": { + "type": "object", + "description": "Property. Air temperature time series aggregation", + "$ref": "https://smart-data-models.github.io/dataModel.Environment/Environment-schema.json#/definitions/TimeSeriesAggregation" } - ], - "required": [ - "id", - "type" - ], - "title": "VehicleType + mapped from ERA ontology by Smart Data Models", - "description": "A vehicle type that has been authorized to operate on the EU railway infrastructure." + } + } + ], + "required": [ + "id", + "type", + "dateObserved", + "location" + ] } \ No newline at end of file