Пример #1
0
 internal static bool IsDateTime(this JsonSchema schema)
 {
     return(schema.IsStringWithFormat(FormatAttributes.DateTime));
 }
Пример #2
0
 internal static bool IsUri(this JsonSchema schema)
 {
     return
         (schema.IsStringWithFormat(FormatAttributes.Uri) ||
          schema.IsStringWithFormat(FormatAttributes.UriReference));
 }