|
5 | 5 | "properties": {
|
6 | 6 | "id": {
|
7 | 7 | "type": ["string", "null"],
|
8 |
| - "max-length": 40 |
| 8 | + "max-length": 100 |
9 | 9 | },
|
10 | 10 | "name": {
|
11 | 11 | "type": ["string", "null"],
|
12 |
| - "max-length": 150 |
| 12 | + "max-length": 50 |
13 | 13 | },
|
14 | 14 | "invoice_name": {
|
15 | 15 | "type": ["string", "null"],
|
16 |
| - "max-length": 150 |
| 16 | + "max-length": 100 |
17 | 17 | },
|
18 | 18 | "discount_type": {
|
19 | 19 | "type": ["string", "null"],
|
|
80 | 80 | "properties": {
|
81 | 81 | "item_type": {
|
82 | 82 | "type": ["string", "null"],
|
83 |
| - "enum": ["plan", "adddon", "charge"] |
| 83 | + "enum": ["plan", "addon", "charge"] |
84 | 84 | },
|
85 | 85 | "constraint": {
|
86 | 86 | "type": ["string", "null"],
|
87 | 87 | "enum": ["none", "all", "specific", "criteria"]
|
88 | 88 | },
|
89 | 89 | "item_price_ids": {
|
90 | 90 | "type": ["array", "null"],
|
91 |
| - "items": { |
92 |
| - "type": ["object", "null"], |
93 |
| - "properties": {} |
94 |
| - } |
| 91 | + "items": {} |
95 | 92 | }
|
96 | 93 | }
|
97 | 94 | }
|
98 | 95 | },
|
99 | 96 | "item_constraint_criteria": {
|
100 | 97 | "type": ["array", "null"],
|
101 |
| - "items": ["object", "null"], |
102 |
| - "properties": { |
103 |
| - "item_type": { |
104 |
| - "type": ["string", "null"], |
105 |
| - "enum": ["plan", "adddon", "charge"] |
106 |
| - }, |
107 |
| - "currencies": { |
108 |
| - "type": ["array", "null"], |
109 |
| - "items": { |
110 |
| - "type": ["object", "null"], |
111 |
| - "properties": {} |
112 |
| - } |
113 |
| - }, |
114 |
| - "item_family_ids": { |
115 |
| - "type": ["array", "null"], |
116 |
| - "items": { |
117 |
| - "type": ["object", "null"], |
118 |
| - "properties": {} |
119 |
| - } |
120 |
| - }, |
121 |
| - "item_price_periods": { |
122 |
| - "type": ["array", "null"], |
123 |
| - "items": { |
124 |
| - "type": ["object", "null"], |
125 |
| - "properties": {} |
| 98 | + "items": { |
| 99 | + "type": ["object", "null"], |
| 100 | + "properties": { |
| 101 | + "item_type": { |
| 102 | + "type": ["string", "null"], |
| 103 | + "enum": ["plan", "addon", "charge"] |
| 104 | + }, |
| 105 | + "currencies": { |
| 106 | + "type": ["array", "null"], |
| 107 | + "items": {} |
| 108 | + }, |
| 109 | + "item_family_ids": { |
| 110 | + "type": ["array", "null"], |
| 111 | + "items": {} |
| 112 | + }, |
| 113 | + "item_price_periods": { |
| 114 | + "type": ["array", "null"], |
| 115 | + "items": {} |
126 | 116 | }
|
127 | 117 | }
|
128 | 118 | }
|
|
0 commit comments