Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #30 from Sage-Bionetworks/syoung/fix-format
Browse files Browse the repository at this point in the history
While testing out assorted validators, found a peanut
  • Loading branch information
syoung-smallwisdom authored Jun 6, 2023
2 parents 3ff621e + 08534d9 commit ac1a7b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/JsonModel/JsonSchema.swift
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ public struct JsonSchemaArray : Codable, Hashable {
}

public enum JsonSchemaFormat : String, Codable, Hashable {
case dateTime = "date-time", date, time, uuid, uri, uriRelative = "uri-relative", email
case dateTime = "date-time", date, time, uuid, uri, uriRelative = "uri-reference", email
}

public struct JsonSchemaPrimitive : Codable, Hashable {
Expand Down

0 comments on commit ac1a7b7

Please sign in to comment.