forked from ch-robinson/dotnet-avro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJsonSchemaToken.cs
113 lines (93 loc) · 2.81 KB
/
JsonSchemaToken.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
namespace Chr.Avro.Representation
{
/// <summary>
/// Schema types defined by the Avro spec.
/// </summary>
public static class JsonSchemaToken
{
/// <summary>
/// The array type.
/// </summary>
public const string Array = "array";
/// <summary>
/// The boolean type.
/// </summary>
public const string Boolean = "boolean";
/// <summary>
/// The bytes type.
/// </summary>
public const string Bytes = "bytes";
/// <summary>
/// The date logical type.
/// </summary>
public const string Date = "date";
/// <summary>
/// The decimal logical type.
/// </summary>
public const string Decimal = "decimal";
/// <summary>
/// The duration logical type.
/// </summary>
public const string Duration = "duration";
/// <summary>
/// The double type.
/// </summary>
public const string Double = "double";
/// <summary>
/// The enum type.
/// </summary>
public const string Enum = "enum";
/// <summary>
/// The fixed type.
/// </summary>
public const string Fixed = "fixed";
/// <summary>
/// The float type.
/// </summary>
public const string Float = "float";
/// <summary>
/// The int type.
/// </summary>
public const string Int = "int";
/// <summary>
/// The long type.
/// </summary>
public const string Long = "long";
/// <summary>
/// The map type.
/// </summary>
public const string Map = "map";
/// <summary>
/// The null type.
/// </summary>
public const string Null = "null";
/// <summary>
/// The record type.
/// </summary>
public const string Record = "record";
/// <summary>
/// The string type.
/// </summary>
public const string String = "string";
/// <summary>
/// The microsecond time logical type.
/// </summary>
public const string TimeMicroseconds = "time-micros";
/// <summary>
/// The millisecond time logical type.
/// </summary>
public const string TimeMilliseconds = "time-millis";
/// <summary>
/// The microsecond timestamp logical type.
/// </summary>
public const string TimestampMicroseconds = "timestamp-micros";
/// <summary>
/// The millisecond timestamp logical type.
/// </summary>
public const string TimestampMilliseconds = "timestamp-millis";
/// <summary>
/// The UUID logical type.
/// </summary>
public const string Uuid = "uuid";
}
}