{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "PeripheralCollection",
    "type": "object",
    "additionalProperties": false,
    "description": "Drive Motion SDK Peripheral Collection Event Schema",
    "properties": {
      "log_context": {
        "$ref": "/resources/schema/analytics/client/v4/LogContext.json",
        "description": "Required Log Context Reference"
      },
      "event_name": {
        "type": "string",
        "enum": [
          "PERIPHERAL_COLLECTION"
        ],
        "description": "Event name identifier."
      },
      "schema_definition": {
        "type": "string",
        "enum": [
          "PeripheralCollection"
        ],
        "description": "Schema definition name."
      },
      "peripheral_collection": {
        "type": "array",
        "items": {
             "$ref": "/resources/schema/analytics/client/v4/item/PeripheralCollectionItem.json"
         },
        "description": "List of collected peripheral devices."
      }
    },
    "required": [
      "log_context",
      "event_name",
      "schema_definition",
      "peripheral_collection"
    ]
  }