adcp 2.2.0__py3-none-any.whl → 2.4.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. adcp/__init__.py +5 -1
  2. adcp/adagents.py +122 -0
  3. adcp/types/generated.py +36 -531
  4. adcp/types/generated_poc/__init__.py +1 -1
  5. adcp/types/generated_poc/activate_signal_request.py +5 -5
  6. adcp/types/generated_poc/activate_signal_response.py +9 -9
  7. adcp/types/generated_poc/activation_key.py +8 -8
  8. adcp/types/generated_poc/adagents.py +46 -46
  9. adcp/types/generated_poc/asset_type.py +19 -19
  10. adcp/types/generated_poc/audio_asset.py +6 -6
  11. adcp/types/generated_poc/brand_manifest.py +73 -73
  12. adcp/types/generated_poc/build_creative_request.py +6 -6
  13. adcp/types/generated_poc/build_creative_response.py +9 -9
  14. adcp/types/generated_poc/channels.py +10 -10
  15. adcp/types/generated_poc/cpc_option.py +12 -8
  16. adcp/types/generated_poc/cpcv_option.py +12 -8
  17. adcp/types/generated_poc/cpm_auction_option.py +17 -13
  18. adcp/types/generated_poc/cpm_fixed_option.py +12 -8
  19. adcp/types/generated_poc/cpp_option.py +17 -13
  20. adcp/types/generated_poc/cpv_option.py +16 -12
  21. adcp/types/generated_poc/create_media_buy_request.py +29 -29
  22. adcp/types/generated_poc/create_media_buy_response.py +11 -11
  23. adcp/types/generated_poc/creative_asset.py +13 -13
  24. adcp/types/generated_poc/creative_assignment.py +4 -4
  25. adcp/types/generated_poc/creative_manifest.py +4 -4
  26. adcp/types/generated_poc/creative_policy.py +11 -11
  27. adcp/types/generated_poc/creative_status.py +5 -5
  28. adcp/types/generated_poc/css_asset.py +3 -3
  29. adcp/types/generated_poc/daast_asset.py +30 -30
  30. adcp/types/generated_poc/delivery_metrics.py +33 -33
  31. adcp/types/generated_poc/delivery_type.py +3 -3
  32. adcp/types/generated_poc/deployment.py +21 -21
  33. adcp/types/generated_poc/destination.py +10 -10
  34. adcp/types/generated_poc/error.py +7 -7
  35. adcp/types/generated_poc/flat_rate_option.py +16 -16
  36. adcp/types/generated_poc/format.py +70 -70
  37. adcp/types/generated_poc/format_id.py +3 -3
  38. adcp/types/generated_poc/frequency_cap.py +3 -3
  39. adcp/types/generated_poc/frequency_cap_scope.py +4 -4
  40. adcp/types/generated_poc/get_media_buy_delivery_request.py +21 -21
  41. adcp/types/generated_poc/get_media_buy_delivery_response.py +46 -46
  42. adcp/types/generated_poc/get_products_request.py +23 -23
  43. adcp/types/generated_poc/get_products_response.py +5 -5
  44. adcp/types/generated_poc/get_signals_request.py +19 -19
  45. adcp/types/generated_poc/get_signals_response.py +20 -20
  46. adcp/types/generated_poc/html_asset.py +3 -3
  47. adcp/types/generated_poc/identifier_types.py +20 -20
  48. adcp/types/generated_poc/image_asset.py +7 -7
  49. adcp/types/generated_poc/javascript_asset.py +7 -7
  50. adcp/types/generated_poc/list_authorized_properties_request.py +5 -5
  51. adcp/types/generated_poc/list_authorized_properties_response.py +9 -9
  52. adcp/types/generated_poc/list_creative_formats_request.py +22 -22
  53. adcp/types/generated_poc/list_creative_formats_response.py +11 -11
  54. adcp/types/generated_poc/list_creatives_request.py +51 -51
  55. adcp/types/generated_poc/list_creatives_response.py +61 -61
  56. adcp/types/generated_poc/markdown_asset.py +7 -7
  57. adcp/types/generated_poc/measurement.py +9 -9
  58. adcp/types/generated_poc/media_buy.py +8 -8
  59. adcp/types/generated_poc/media_buy_status.py +5 -5
  60. adcp/types/generated_poc/pacing.py +4 -4
  61. adcp/types/generated_poc/package.py +8 -8
  62. adcp/types/generated_poc/package_request.py +7 -7
  63. adcp/types/generated_poc/package_status.py +5 -5
  64. adcp/types/generated_poc/performance_feedback.py +31 -31
  65. adcp/types/generated_poc/placement.py +4 -4
  66. adcp/types/generated_poc/preview_creative_request.py +28 -28
  67. adcp/types/generated_poc/preview_creative_response.py +31 -31
  68. adcp/types/generated_poc/preview_render.py +36 -28
  69. adcp/types/generated_poc/pricing_model.py +8 -8
  70. adcp/types/generated_poc/product.py +32 -31
  71. adcp/types/generated_poc/promoted_offerings.py +29 -29
  72. adcp/types/generated_poc/promoted_products.py +3 -3
  73. adcp/types/generated_poc/property.py +18 -18
  74. adcp/types/generated_poc/protocol_envelope.py +9 -9
  75. adcp/types/generated_poc/provide_performance_feedback_request.py +24 -24
  76. adcp/types/generated_poc/provide_performance_feedback_response.py +9 -9
  77. adcp/types/generated_poc/publisher_identifier_types.py +6 -6
  78. adcp/types/generated_poc/push_notification_config.py +9 -9
  79. adcp/types/generated_poc/reporting_capabilities.py +21 -21
  80. adcp/types/generated_poc/response.py +5 -5
  81. adcp/types/generated_poc/standard_format_ids.py +36 -36
  82. adcp/types/generated_poc/sub_asset.py +13 -13
  83. adcp/types/generated_poc/sync_creatives_request.py +11 -11
  84. adcp/types/generated_poc/sync_creatives_response.py +23 -23
  85. adcp/types/generated_poc/targeting.py +9 -9
  86. adcp/types/generated_poc/task_status.py +10 -10
  87. adcp/types/generated_poc/task_type.py +6 -6
  88. adcp/types/generated_poc/tasks_get_request.py +5 -5
  89. adcp/types/generated_poc/tasks_get_response.py +35 -35
  90. adcp/types/generated_poc/tasks_list_request.py +36 -36
  91. adcp/types/generated_poc/tasks_list_response.py +35 -35
  92. adcp/types/generated_poc/text_asset.py +3 -3
  93. adcp/types/generated_poc/update_media_buy_request.py +27 -27
  94. adcp/types/generated_poc/update_media_buy_response.py +11 -11
  95. adcp/types/generated_poc/url_asset.py +7 -7
  96. adcp/types/generated_poc/vast_asset.py +38 -38
  97. adcp/types/generated_poc/vcpm_auction_option.py +17 -13
  98. adcp/types/generated_poc/vcpm_fixed_option.py +12 -8
  99. adcp/types/generated_poc/video_asset.py +8 -8
  100. adcp/types/generated_poc/webhook_asset.py +19 -19
  101. adcp/types/generated_poc/webhook_payload.py +18 -18
  102. {adcp-2.2.0.dist-info → adcp-2.4.0.dist-info}/METADATA +38 -2
  103. adcp-2.4.0.dist-info/RECORD +132 -0
  104. adcp-2.2.0.dist-info/RECORD +0 -132
  105. {adcp-2.2.0.dist-info → adcp-2.4.0.dist-info}/WHEEL +0 -0
  106. {adcp-2.2.0.dist-info → adcp-2.4.0.dist-info}/entry_points.txt +0 -0
  107. {adcp-2.2.0.dist-info → adcp-2.4.0.dist-info}/licenses/LICENSE +0 -0
  108. {adcp-2.2.0.dist-info → adcp-2.4.0.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: activate-signal-request.json
3
- # timestamp: 2025-11-15T22:03:55+00:00
3
+ # timestamp: 2025-11-18T03:04:10+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -14,21 +14,21 @@ from . import destination
14
14
 
15
15
  class ActivateSignalRequest(AdCPBaseModel):
16
16
  model_config = ConfigDict(
17
- extra="forbid",
17
+ extra='forbid',
18
18
  )
19
19
  context: Annotated[
20
20
  dict[str, Any] | None,
21
21
  Field(
22
- description="Initiator-provided context included in the request payload. Agents must echo this value back unchanged in responses and webhooks. Use for UI/session hints, correlation tokens, or tracking metadata."
22
+ description='Initiator-provided context included in the request payload. Agents must echo this value back unchanged in responses and webhooks. Use for UI/session hints, correlation tokens, or tracking metadata.'
23
23
  ),
24
24
  ] = None
25
25
  destinations: Annotated[
26
26
  list[destination.Destination1 | destination.Destination2],
27
27
  Field(
28
- description="Target destination(s) for activation. If the authenticated caller matches one of these destinations, activation keys will be included in the response.",
28
+ description='Target destination(s) for activation. If the authenticated caller matches one of these destinations, activation keys will be included in the response.',
29
29
  min_length=1,
30
30
  ),
31
31
  ]
32
32
  signal_agent_segment_id: Annotated[
33
- str, Field(description="The universal identifier for the signal to activate")
33
+ str, Field(description='The universal identifier for the signal to activate')
34
34
  ]
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: activate-signal-response.json
3
- # timestamp: 2025-11-15T22:03:55+00:00
3
+ # timestamp: 2025-11-18T03:04:10+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -14,34 +14,34 @@ from . import deployment, error
14
14
 
15
15
  class ActivateSignalResponse1(AdCPBaseModel):
16
16
  model_config = ConfigDict(
17
- extra="forbid",
17
+ extra='forbid',
18
18
  )
19
19
  context: Annotated[
20
20
  dict[str, Any] | None,
21
21
  Field(
22
- description="Initiator-provided context echoed inside the task payload. Opaque metadata such as UI/session hints, correlation tokens, or tracking identifiers."
22
+ description='Initiator-provided context echoed inside the task payload. Opaque metadata such as UI/session hints, correlation tokens, or tracking identifiers.'
23
23
  ),
24
24
  ] = None
25
25
  deployments: Annotated[
26
26
  list[deployment.Deployment1 | deployment.Deployment2],
27
- Field(description="Array of deployment results for each destination"),
27
+ Field(description='Array of deployment results for each destination'),
28
28
  ]
29
29
 
30
30
 
31
31
  class ActivateSignalResponse2(AdCPBaseModel):
32
32
  model_config = ConfigDict(
33
- extra="forbid",
33
+ extra='forbid',
34
34
  )
35
35
  context: Annotated[
36
36
  dict[str, Any] | None,
37
37
  Field(
38
- description="Initiator-provided context echoed inside the task payload. Opaque metadata such as UI/session hints, correlation tokens, or tracking identifiers."
38
+ description='Initiator-provided context echoed inside the task payload. Opaque metadata such as UI/session hints, correlation tokens, or tracking identifiers.'
39
39
  ),
40
40
  ] = None
41
41
  errors: Annotated[
42
42
  list[error.Error],
43
43
  Field(
44
- description="Array of errors explaining why activation failed (e.g., platform connectivity issues, signal definition problems, authentication failures)",
44
+ description='Array of errors explaining why activation failed (e.g., platform connectivity issues, signal definition problems, authentication failures)',
45
45
  min_length=1,
46
46
  ),
47
47
  ]
@@ -51,7 +51,7 @@ class ActivateSignalResponse(RootModel[ActivateSignalResponse1 | ActivateSignalR
51
51
  root: Annotated[
52
52
  ActivateSignalResponse1 | ActivateSignalResponse2,
53
53
  Field(
54
- description="Response payload for activate_signal task. Returns either complete success data OR error information, never both. This enforces atomic operation semantics - the signal is either fully activated or not activated at all.",
55
- title="Activate Signal Response",
54
+ description='Response payload for activate_signal task. Returns either complete success data OR error information, never both. This enforces atomic operation semantics - the signal is either fully activated or not activated at all.',
55
+ title='Activate Signal Response',
56
56
  ),
57
57
  ]
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: activation-key.json
3
- # timestamp: 2025-11-15T22:03:55+00:00
3
+ # timestamp: 2025-11-18T03:04:10+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -12,19 +12,19 @@ from pydantic import ConfigDict, Field
12
12
 
13
13
  class ActivationKey1(AdCPBaseModel):
14
14
  model_config = ConfigDict(
15
- extra="forbid",
15
+ extra='forbid',
16
16
  )
17
17
  segment_id: Annotated[
18
18
  str,
19
- Field(description="The platform-specific segment identifier to use in campaign targeting"),
19
+ Field(description='The platform-specific segment identifier to use in campaign targeting'),
20
20
  ]
21
- type: Annotated[Literal["segment_id"], Field(description="Segment ID based targeting")]
21
+ type: Annotated[Literal['segment_id'], Field(description='Segment ID based targeting')]
22
22
 
23
23
 
24
24
  class ActivationKey2(AdCPBaseModel):
25
25
  model_config = ConfigDict(
26
- extra="forbid",
26
+ extra='forbid',
27
27
  )
28
- key: Annotated[str, Field(description="The targeting parameter key")]
29
- type: Annotated[Literal["key_value"], Field(description="Key-value pair based targeting")]
30
- value: Annotated[str, Field(description="The targeting parameter value")]
28
+ key: Annotated[str, Field(description='The targeting parameter key')]
29
+ type: Annotated[Literal['key_value'], Field(description='Key-value pair based targeting')]
30
+ value: Annotated[str, Field(description='The targeting parameter value')]
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: adagents.json
3
- # timestamp: 2025-11-15T22:03:55+00:00
3
+ # timestamp: 2025-11-18T03:04:10+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -13,21 +13,21 @@ from . import property
13
13
 
14
14
 
15
15
  class PropertyId(RootModel[str]):
16
- root: Annotated[str, Field(pattern="^[a-z0-9_]+$")]
16
+ root: Annotated[str, Field(pattern='^[a-z0-9_]+$')]
17
17
 
18
18
 
19
19
  class AuthorizedAgents(AdCPBaseModel):
20
20
  model_config = ConfigDict(
21
- extra="forbid",
21
+ extra='forbid',
22
22
  )
23
23
  authorization_type: Annotated[
24
- Literal["property_ids"],
25
- Field(description="Discriminator indicating authorization by specific property IDs"),
24
+ Literal['property_ids'],
25
+ Field(description='Discriminator indicating authorization by specific property IDs'),
26
26
  ]
27
27
  authorized_for: Annotated[
28
28
  str,
29
29
  Field(
30
- description="Human-readable description of what this agent is authorized to sell",
30
+ description='Human-readable description of what this agent is authorized to sell',
31
31
  max_length=500,
32
32
  min_length=1,
33
33
  ),
@@ -35,7 +35,7 @@ class AuthorizedAgents(AdCPBaseModel):
35
35
  property_ids: Annotated[
36
36
  list[PropertyId],
37
37
  Field(
38
- description="Property IDs this agent is authorized for. Resolved against the top-level properties array in this file",
38
+ description='Property IDs this agent is authorized for. Resolved against the top-level properties array in this file',
39
39
  min_length=1,
40
40
  ),
41
41
  ]
@@ -48,16 +48,16 @@ class PropertyTag(PropertyId):
48
48
 
49
49
  class AuthorizedAgents1(AdCPBaseModel):
50
50
  model_config = ConfigDict(
51
- extra="forbid",
51
+ extra='forbid',
52
52
  )
53
53
  authorization_type: Annotated[
54
- Literal["property_tags"],
55
- Field(description="Discriminator indicating authorization by property tags"),
54
+ Literal['property_tags'],
55
+ Field(description='Discriminator indicating authorization by property tags'),
56
56
  ]
57
57
  authorized_for: Annotated[
58
58
  str,
59
59
  Field(
60
- description="Human-readable description of what this agent is authorized to sell",
60
+ description='Human-readable description of what this agent is authorized to sell',
61
61
  max_length=500,
62
62
  min_length=1,
63
63
  ),
@@ -65,7 +65,7 @@ class AuthorizedAgents1(AdCPBaseModel):
65
65
  property_tags: Annotated[
66
66
  list[PropertyTag],
67
67
  Field(
68
- description="Tags identifying which properties this agent is authorized for. Resolved against the top-level properties array in this file using tag matching",
68
+ description='Tags identifying which properties this agent is authorized for. Resolved against the top-level properties array in this file using tag matching',
69
69
  min_length=1,
70
70
  ),
71
71
  ]
@@ -74,7 +74,7 @@ class AuthorizedAgents1(AdCPBaseModel):
74
74
 
75
75
  class PublisherProperties(AdCPBaseModel):
76
76
  model_config = ConfigDict(
77
- extra="forbid",
77
+ extra='forbid',
78
78
  )
79
79
  property_ids: Annotated[
80
80
  list[PropertyId],
@@ -87,18 +87,18 @@ class PublisherProperties(AdCPBaseModel):
87
87
  str,
88
88
  Field(
89
89
  description="Domain where the publisher's adagents.json is hosted (e.g., 'cnn.com')",
90
- pattern="^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$",
90
+ pattern='^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$',
91
91
  ),
92
92
  ]
93
93
  selection_type: Annotated[
94
- Literal["by_id"],
95
- Field(description="Discriminator indicating selection by specific property IDs"),
94
+ Literal['by_id'],
95
+ Field(description='Discriminator indicating selection by specific property IDs'),
96
96
  ]
97
97
 
98
98
 
99
99
  class PublisherProperties1(AdCPBaseModel):
100
100
  model_config = ConfigDict(
101
- extra="forbid",
101
+ extra='forbid',
102
102
  )
103
103
  property_tags: Annotated[
104
104
  list[PropertyTag],
@@ -111,28 +111,28 @@ class PublisherProperties1(AdCPBaseModel):
111
111
  str,
112
112
  Field(
113
113
  description="Domain where the publisher's adagents.json is hosted (e.g., 'cnn.com')",
114
- pattern="^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$",
114
+ pattern='^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$',
115
115
  ),
116
116
  ]
117
117
  selection_type: Annotated[
118
- Literal["by_tag"], Field(description="Discriminator indicating selection by property tags")
118
+ Literal['by_tag'], Field(description='Discriminator indicating selection by property tags')
119
119
  ]
120
120
 
121
121
 
122
122
  class AuthorizedAgents3(AdCPBaseModel):
123
123
  model_config = ConfigDict(
124
- extra="forbid",
124
+ extra='forbid',
125
125
  )
126
126
  authorization_type: Annotated[
127
- Literal["publisher_properties"],
127
+ Literal['publisher_properties'],
128
128
  Field(
129
- description="Discriminator indicating authorization for properties from other publisher domains"
129
+ description='Discriminator indicating authorization for properties from other publisher domains'
130
130
  ),
131
131
  ]
132
132
  authorized_for: Annotated[
133
133
  str,
134
134
  Field(
135
- description="Human-readable description of what this agent is authorized to sell",
135
+ description='Human-readable description of what this agent is authorized to sell',
136
136
  max_length=500,
137
137
  min_length=1,
138
138
  ),
@@ -140,7 +140,7 @@ class AuthorizedAgents3(AdCPBaseModel):
140
140
  publisher_properties: Annotated[
141
141
  list[PublisherProperties | PublisherProperties1],
142
142
  Field(
143
- description="Properties from other publisher domains this agent is authorized for. Each entry specifies a publisher domain and which of their properties this agent can sell",
143
+ description='Properties from other publisher domains this agent is authorized for. Each entry specifies a publisher domain and which of their properties this agent can sell',
144
144
  min_length=1,
145
145
  ),
146
146
  ]
@@ -149,19 +149,19 @@ class AuthorizedAgents3(AdCPBaseModel):
149
149
 
150
150
  class Contact(AdCPBaseModel):
151
151
  model_config = ConfigDict(
152
- extra="forbid",
152
+ extra='forbid',
153
153
  )
154
154
  domain: Annotated[
155
155
  str | None,
156
156
  Field(
157
- description="Primary domain of the entity managing this file",
158
- pattern="^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$",
157
+ description='Primary domain of the entity managing this file',
158
+ pattern='^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$',
159
159
  ),
160
160
  ] = None
161
161
  email: Annotated[
162
162
  EmailStr | None,
163
163
  Field(
164
- description="Contact email for questions or issues with this authorization file",
164
+ description='Contact email for questions or issues with this authorization file',
165
165
  max_length=255,
166
166
  min_length=1,
167
167
  ),
@@ -177,7 +177,7 @@ class Contact(AdCPBaseModel):
177
177
  seller_id: Annotated[
178
178
  str | None,
179
179
  Field(
180
- description="Seller ID from IAB Tech Lab sellers.json (if applicable)",
180
+ description='Seller ID from IAB Tech Lab sellers.json (if applicable)',
181
181
  max_length=255,
182
182
  min_length=1,
183
183
  ),
@@ -185,7 +185,7 @@ class Contact(AdCPBaseModel):
185
185
  tag_id: Annotated[
186
186
  str | None,
187
187
  Field(
188
- description="TAG Certified Against Fraud ID for verification (if applicable)",
188
+ description='TAG Certified Against Fraud ID for verification (if applicable)',
189
189
  max_length=100,
190
190
  min_length=1,
191
191
  ),
@@ -194,24 +194,24 @@ class Contact(AdCPBaseModel):
194
194
 
195
195
  class Tags(AdCPBaseModel):
196
196
  model_config = ConfigDict(
197
- extra="forbid",
197
+ extra='forbid',
198
198
  )
199
- description: Annotated[str, Field(description="Description of what this tag represents")]
200
- name: Annotated[str, Field(description="Human-readable name for this tag")]
199
+ description: Annotated[str, Field(description='Description of what this tag represents')]
200
+ name: Annotated[str, Field(description='Human-readable name for this tag')]
201
201
 
202
202
 
203
203
  class AuthorizedAgents2(AdCPBaseModel):
204
204
  model_config = ConfigDict(
205
- extra="forbid",
205
+ extra='forbid',
206
206
  )
207
207
  authorization_type: Annotated[
208
- Literal["inline_properties"],
209
- Field(description="Discriminator indicating authorization by inline property definitions"),
208
+ Literal['inline_properties'],
209
+ Field(description='Discriminator indicating authorization by inline property definitions'),
210
210
  ]
211
211
  authorized_for: Annotated[
212
212
  str,
213
213
  Field(
214
- description="Human-readable description of what this agent is authorized to sell",
214
+ description='Human-readable description of what this agent is authorized to sell',
215
215
  max_length=500,
216
216
  min_length=1,
217
217
  ),
@@ -219,7 +219,7 @@ class AuthorizedAgents2(AdCPBaseModel):
219
219
  properties: Annotated[
220
220
  list[property.Property],
221
221
  Field(
222
- description="Specific properties this agent is authorized for (alternative to property_ids/property_tags)",
222
+ description='Specific properties this agent is authorized for (alternative to property_ids/property_tags)',
223
223
  min_length=1,
224
224
  ),
225
225
  ]
@@ -228,39 +228,39 @@ class AuthorizedAgents2(AdCPBaseModel):
228
228
 
229
229
  class AuthorizedSalesAgents(AdCPBaseModel):
230
230
  model_config = ConfigDict(
231
- extra="forbid",
231
+ extra='forbid',
232
232
  )
233
233
  field_schema: Annotated[
234
234
  str | None,
235
- Field(alias="$schema", description="JSON Schema identifier for this adagents.json file"),
236
- ] = "https://adcontextprotocol.org/schemas/v1/adagents.json"
235
+ Field(alias='$schema', description='JSON Schema identifier for this adagents.json file'),
236
+ ] = 'https://adcontextprotocol.org/schemas/v1/adagents.json'
237
237
  authorized_agents: Annotated[
238
238
  list[AuthorizedAgents | AuthorizedAgents1 | AuthorizedAgents2 | AuthorizedAgents3],
239
239
  Field(
240
- description="Array of sales agents authorized to sell inventory for properties in this file",
240
+ description='Array of sales agents authorized to sell inventory for properties in this file',
241
241
  min_length=1,
242
242
  ),
243
243
  ]
244
244
  contact: Annotated[
245
245
  Contact | None,
246
246
  Field(
247
- description="Contact information for the entity managing this adagents.json file (may be publisher or third-party operator)"
247
+ description='Contact information for the entity managing this adagents.json file (may be publisher or third-party operator)'
248
248
  ),
249
249
  ] = None
250
250
  last_updated: Annotated[
251
251
  AwareDatetime | None,
252
- Field(description="ISO 8601 timestamp indicating when this file was last updated"),
252
+ Field(description='ISO 8601 timestamp indicating when this file was last updated'),
253
253
  ] = None
254
254
  properties: Annotated[
255
255
  list[property.Property] | None,
256
256
  Field(
257
- description="Array of all properties covered by this adagents.json file. Same structure as list_authorized_properties response.",
257
+ description='Array of all properties covered by this adagents.json file. Same structure as list_authorized_properties response.',
258
258
  min_length=1,
259
259
  ),
260
260
  ] = None
261
261
  tags: Annotated[
262
262
  dict[str, Tags] | None,
263
263
  Field(
264
- description="Metadata for each tag referenced by properties. Same structure as list_authorized_properties response."
264
+ description='Metadata for each tag referenced by properties. Same structure as list_authorized_properties response.'
265
265
  ),
266
266
  ] = None
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: asset-type.json
3
- # timestamp: 2025-11-15T22:03:55+00:00
3
+ # timestamp: 2025-11-18T03:04:10+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -47,7 +47,7 @@ class Quality(AdCPBaseModel):
47
47
 
48
48
  class Requirements(AdCPBaseModel):
49
49
  model_config = ConfigDict(
50
- extra="forbid",
50
+ extra='forbid',
51
51
  )
52
52
  content_length: ContentLength | None = None
53
53
  dimensions: Dimensions | None = None
@@ -61,22 +61,22 @@ class Requirements(AdCPBaseModel):
61
61
 
62
62
 
63
63
  class Type(Enum):
64
- image = "image"
65
- video = "video"
66
- audio = "audio"
67
- text = "text"
68
- html = "html"
69
- css = "css"
70
- javascript = "javascript"
71
- vast = "vast"
72
- daast = "daast"
73
- promoted_offerings = "promoted_offerings"
74
- url = "url"
64
+ image = 'image'
65
+ video = 'video'
66
+ audio = 'audio'
67
+ text = 'text'
68
+ html = 'html'
69
+ css = 'css'
70
+ javascript = 'javascript'
71
+ vast = 'vast'
72
+ daast = 'daast'
73
+ promoted_offerings = 'promoted_offerings'
74
+ url = 'url'
75
75
 
76
76
 
77
77
  class AssetTypeSchema(AdCPBaseModel):
78
78
  model_config = ConfigDict(
79
- extra="forbid",
79
+ extra='forbid',
80
80
  )
81
81
  asset_role: Annotated[
82
82
  str,
@@ -86,15 +86,15 @@ class AssetTypeSchema(AdCPBaseModel):
86
86
  ]
87
87
  constraints: Annotated[
88
88
  list[str] | None,
89
- Field(description="Additional constraints or requirements (human-readable)"),
89
+ Field(description='Additional constraints or requirements (human-readable)'),
90
90
  ] = None
91
91
  examples: Annotated[
92
- list[str] | None, Field(description="Example values or descriptions for this asset")
92
+ list[str] | None, Field(description='Example values or descriptions for this asset')
93
93
  ] = None
94
94
  required: Annotated[
95
- bool | None, Field(description="Whether this asset is mandatory for the format")
95
+ bool | None, Field(description='Whether this asset is mandatory for the format')
96
96
  ] = True
97
97
  requirements: Annotated[
98
- Requirements | None, Field(description="Technical requirements for this asset type")
98
+ Requirements | None, Field(description='Technical requirements for this asset type')
99
99
  ] = None
100
- type: Annotated[Type, Field(description="Type of asset")]
100
+ type: Annotated[Type, Field(description='Type of asset')]
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: audio-asset.json
3
- # timestamp: 2025-11-15T22:03:55+00:00
3
+ # timestamp: 2025-11-18T03:04:10+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -12,15 +12,15 @@ from pydantic import AnyUrl, ConfigDict, Field
12
12
 
13
13
  class AudioAsset(AdCPBaseModel):
14
14
  model_config = ConfigDict(
15
- extra="forbid",
15
+ extra='forbid',
16
16
  )
17
17
  bitrate_kbps: Annotated[
18
- int | None, Field(description="Audio bitrate in kilobits per second", ge=1)
18
+ int | None, Field(description='Audio bitrate in kilobits per second', ge=1)
19
19
  ] = None
20
20
  duration_ms: Annotated[
21
- int | None, Field(description="Audio duration in milliseconds", ge=0)
21
+ int | None, Field(description='Audio duration in milliseconds', ge=0)
22
22
  ] = None
23
- format: Annotated[str | None, Field(description="Audio file format (mp3, wav, aac, etc.)")] = (
23
+ format: Annotated[str | None, Field(description='Audio file format (mp3, wav, aac, etc.)')] = (
24
24
  None
25
25
  )
26
- url: Annotated[AnyUrl, Field(description="URL to the audio asset")]
26
+ url: Annotated[AnyUrl, Field(description='URL to the audio asset')]