text: var refs = require('../../../../../../../refs.js');
  
  module.exports = {
      id: refs.OADA_SENSOR_DATA_SOLAR_RADIATION_ID,
      description: 'application/vnd.oada.sensor-data.solar-radiation.1+json',
  
      additionalProperties: true,
  
      allOf: [{
          $ref: refs.OADA_SENSOR_DATA_GENERIC_ID
      },
      {
          properties: {
              dataType: {
                  properties: {
                      definition: {
                          pattern: '^https\\:\\/\\/github.com/oada-formats',
                      },
                      name: {
                          pattern: '^solar-radiation$'
                      }
                  }
              },
              templates: {
                  patternProperties: {
                      '.': {
                          properties: {
                              units: {
                                  type: 'string',
                              }
                          }
                      }
                  }
              },
              data: {
                  patternProperties: {
                      '.': {
                          properties: {
                              value: {
                                  type: 'number'
                              }
                          }
                      }
                  }
              }
          }
      }]
  };
  