{
  "$schema": "../../schemas/types.schema.json",
  "namespace": "Dates",
  "version": "1.0.0-draft.1",
  "types": [
    {
      "name": "Dates.ParsePolicy",
      "kind": "object",
      "purpose": "Explicit resolution of daylight-saving gaps and overlaps.",
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "gap": {
            "enum": [
              "forward"
            ]
          },
          "overlap": {
            "enum": [
              "earlier",
              "later"
            ]
          }
        }
      }
    },
    {
      "name": "Dates.AddOptions",
      "kind": "object",
      "purpose": "Calendar arithmetic timezone, month-end and daylight-saving choices.",
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "timezone": {
            "type": "string"
          },
          "monthEnd": {
            "enum": [
              "reject"
            ]
          },
          "gap": {
            "enum": [
              "forward"
            ]
          },
          "overlap": {
            "enum": [
              "earlier",
              "later"
            ]
          }
        }
      }
    }
  ]
}
