namespace PrecisionAgricultureMonitoring

features
    PrecisionAgMonitor {abstract}
        mandatory
            SensorType
                alternative
                    SoilMoistureSensor
                    WeatherStation
                    SatelliteImagery
                    DroneBasedSurvey
            DataCollection
                or
                    RealTimeData
                    BatchProcessing
                        mandatory
                            ScheduleTiming
                            StorageLocation
            AnalysisTool {abstract}
                alternative
                    CropYieldPrediction
                    PestDetectionSystem
        optional
            UserInterfaceLevel 
                or
                    LevelBasic
                    LevelAdvanced
            SupportPackage

constraints
    DroneBasedSurvey => UserInterfaceLevel == 'LevelAdvanced'
    BatchProcessing & !ScheduleTiming => UserInterfaceLevel == 'LevelBasic'