|
4 | 4 | "accounts.v1.auth_token_promotion": {
|
5 | 5 | "properties": {
|
6 | 6 | "account_sid": {
|
7 |
| - "maxLength": 34, |
8 |
| - "minLength": 34, |
9 |
| - "pattern": "^AC[0-9a-fA-F]{32}$", |
10 |
| - "type": "string" |
| 7 | + "$ref": "#/components/schemas/sid_AC" |
11 | 8 | },
|
12 | 9 | "auth_token": {
|
13 |
| - "type": "string" |
| 10 | + "$ref": "#/components/schemas/string" |
14 | 11 | },
|
15 | 12 | "date_created": {
|
16 |
| - "format": "date-time", |
17 |
| - "type": "string" |
| 13 | + "$ref": "#/components/schemas/date_time_iso8601" |
18 | 14 | },
|
19 | 15 | "date_updated": {
|
20 |
| - "format": "date-time", |
21 |
| - "type": "string" |
| 16 | + "$ref": "#/components/schemas/date_time_iso8601" |
22 | 17 | },
|
23 | 18 | "url": {
|
24 |
| - "format": "uri", |
25 |
| - "type": "string" |
| 19 | + "$ref": "#/components/schemas/url" |
26 | 20 | }
|
27 | 21 | },
|
28 | 22 | "type": "object"
|
|
34 | 28 | "accounts.v1.credential.credential_aws": {
|
35 | 29 | "properties": {
|
36 | 30 | "account_sid": {
|
37 |
| - "maxLength": 34, |
38 |
| - "minLength": 34, |
39 |
| - "pattern": "^AC[0-9a-fA-F]{32}$", |
40 |
| - "type": "string" |
| 31 | + "$ref": "#/components/schemas/sid_AC" |
41 | 32 | },
|
42 | 33 | "date_created": {
|
43 |
| - "format": "date-time", |
44 |
| - "type": "string" |
| 34 | + "$ref": "#/components/schemas/date_time_iso8601" |
45 | 35 | },
|
46 | 36 | "date_updated": {
|
47 |
| - "format": "date-time", |
48 |
| - "type": "string" |
| 37 | + "$ref": "#/components/schemas/date_time_iso8601" |
49 | 38 | },
|
50 | 39 | "friendly_name": {
|
51 |
| - "type": "string" |
| 40 | + "$ref": "#/components/schemas/string" |
52 | 41 | },
|
53 | 42 | "sid": {
|
54 |
| - "maxLength": 34, |
55 |
| - "minLength": 34, |
56 |
| - "pattern": "^CR[0-9a-fA-F]{32}$", |
57 |
| - "type": "string" |
| 43 | + "$ref": "#/components/schemas/sid_CR" |
58 | 44 | },
|
59 | 45 | "url": {
|
60 |
| - "format": "uri", |
61 |
| - "type": "string" |
| 46 | + "$ref": "#/components/schemas/url" |
62 | 47 | }
|
63 | 48 | },
|
64 | 49 | "type": "object"
|
65 | 50 | },
|
66 | 51 | "accounts.v1.credential.credential_public_key": {
|
67 | 52 | "properties": {
|
68 | 53 | "account_sid": {
|
69 |
| - "maxLength": 34, |
70 |
| - "minLength": 34, |
71 |
| - "pattern": "^AC[0-9a-fA-F]{32}$", |
72 |
| - "type": "string" |
| 54 | + "$ref": "#/components/schemas/sid_AC" |
73 | 55 | },
|
74 | 56 | "date_created": {
|
75 |
| - "format": "date-time", |
76 |
| - "type": "string" |
| 57 | + "$ref": "#/components/schemas/date_time_iso8601" |
77 | 58 | },
|
78 | 59 | "date_updated": {
|
79 |
| - "format": "date-time", |
80 |
| - "type": "string" |
| 60 | + "$ref": "#/components/schemas/date_time_iso8601" |
81 | 61 | },
|
82 | 62 | "friendly_name": {
|
83 |
| - "type": "string" |
| 63 | + "$ref": "#/components/schemas/string" |
84 | 64 | },
|
85 | 65 | "sid": {
|
86 |
| - "maxLength": 34, |
87 |
| - "minLength": 34, |
88 |
| - "pattern": "^CR[0-9a-fA-F]{32}$", |
89 |
| - "type": "string" |
| 66 | + "$ref": "#/components/schemas/sid_CR" |
90 | 67 | },
|
91 | 68 | "url": {
|
92 |
| - "format": "uri", |
93 |
| - "type": "string" |
| 69 | + "$ref": "#/components/schemas/url" |
94 | 70 | }
|
95 | 71 | },
|
96 | 72 | "type": "object"
|
97 | 73 | },
|
98 | 74 | "accounts.v1.secondary_auth_token": {
|
99 | 75 | "properties": {
|
100 | 76 | "account_sid": {
|
101 |
| - "maxLength": 34, |
102 |
| - "minLength": 34, |
103 |
| - "pattern": "^AC[0-9a-fA-F]{32}$", |
104 |
| - "type": "string" |
| 77 | + "$ref": "#/components/schemas/sid_AC" |
105 | 78 | },
|
106 | 79 | "date_created": {
|
107 |
| - "format": "date-time", |
108 |
| - "type": "string" |
| 80 | + "$ref": "#/components/schemas/date_time_iso8601" |
109 | 81 | },
|
110 | 82 | "date_updated": {
|
111 |
| - "format": "date-time", |
112 |
| - "type": "string" |
| 83 | + "$ref": "#/components/schemas/date_time_iso8601" |
113 | 84 | },
|
114 | 85 | "secondary_auth_token": {
|
115 |
| - "type": "string" |
| 86 | + "$ref": "#/components/schemas/string" |
116 | 87 | },
|
117 | 88 | "url": {
|
118 |
| - "format": "uri", |
119 |
| - "type": "string" |
| 89 | + "$ref": "#/components/schemas/url" |
120 | 90 | }
|
121 | 91 | },
|
122 | 92 | "type": "object"
|
| 93 | + }, |
| 94 | + "date_time_iso8601": { |
| 95 | + "format": "date-time", |
| 96 | + "type": "string" |
| 97 | + }, |
| 98 | + "sid_AC": { |
| 99 | + "maxLength": 34, |
| 100 | + "minLength": 34, |
| 101 | + "pattern": "^AC[0-9a-fA-F]{32}$", |
| 102 | + "type": "string" |
| 103 | + }, |
| 104 | + "sid_CR": { |
| 105 | + "maxLength": 34, |
| 106 | + "minLength": 34, |
| 107 | + "pattern": "^CR[0-9a-fA-F]{32}$", |
| 108 | + "type": "string" |
| 109 | + }, |
| 110 | + "string": { |
| 111 | + "type": "string" |
| 112 | + }, |
| 113 | + "url": { |
| 114 | + "format": "uri", |
| 115 | + "type": "string" |
123 | 116 | }
|
124 | 117 | },
|
125 | 118 | "securitySchemes": {
|
|
142 | 135 | },
|
143 | 136 | "termsOfService": "https://www.twilio.com/legal/tos",
|
144 | 137 | "title": "Twilio - Accounts",
|
145 |
| - "version": "5.16.1" |
| 138 | + "version": "1.8.0" |
146 | 139 | },
|
147 | 140 | "openapi": "3.0.1",
|
148 | 141 | "paths": {
|
|
0 commit comments