json_schema: {
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "LuminositySensor Schema",
    "type": "object",
    "required": [
      "LuminositySensor"
    ],
    "properties": {
      "_id": {
        "$ref": "#/definitions/identificador"
      },
      "LuminositySensor": {
        "$ref": "#/definitions/datos"
      }
    },
    "additionalProperties": false,
    "definitions": {
      "identificador": {
        "title": "id",
        "description": "Id insertado del LuminositySensor",
        "type": "object",
        "properties": {
          "$oid": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "datos": {
        "title": "datos",
        "description": "Info LuminositySensor",
        "type": "object",
        "required": [
          "id",
          "va",
          "un",
          "loc"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "object",
            "required": [
              "$date"
            ],
            "properties": {
              "$date": {
                "type": "string",
                "_format": "date-time"
              }
            },
            "additionalProperties": false
          },
          "va": {
            "type": "number"
          },
          "un": {
            "type": "string"
          },
          "loc": {
            "$ref": "#/definitions/gps"
          }
        },
        "additionalProperties": false
      },
      "gps": {
        "title": "gps",
        "description": "Gps LuminositySensor",
        "type": "object",
        "required": [
          "la",
          "lon"
        ],
        "properties": {
          "al": {
            "type": "number"
          },
          "la": {
            "type": "number"
          },
          "lon": {
            "type": "number"
          }
        },
        "additionalProperties": false
      }
    }
  }
  