Skip to content

Commit 7947a94

Browse files
authored
Merge pull request #37 from adcontextprotocol/revert-36-yusufbek/update-schema-types
Revert "chore: update schema types"
2 parents 6f82faa + 5ba7254 commit 7947a94

33 files changed

+2
-245
lines changed

schemas/cache/1.0.0/activate-signal-request.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
"$ref": "destination.json"
1717
},
1818
"minItems": 1
19-
},
20-
"context": {
21-
"type": "object",
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-
"additionalProperties": true
2419
}
2520
},
2621
"required": [

schemas/cache/1.0.0/activate-signal-response.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@
1515
"items": {
1616
"$ref": "deployment.json"
1717
}
18-
},
19-
"context": {
20-
"type": "object",
21-
"description": "Initiator-provided context echoed inside the task payload. Opaque metadata such as UI/session hints, correlation tokens, or tracking identifiers.",
22-
"additionalProperties": true
2318
}
2419
},
2520
"required": [
@@ -43,11 +38,6 @@
4338
"$ref": "error.json"
4439
},
4540
"minItems": 1
46-
},
47-
"context": {
48-
"type": "object",
49-
"description": "Initiator-provided context echoed inside the task payload. Opaque metadata such as UI/session hints, correlation tokens, or tracking identifiers.",
50-
"additionalProperties": true
5141
}
5242
},
5343
"required": [

schemas/cache/1.0.0/build-creative-request.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
"target_format_id": {
1717
"$ref": "format-id.json",
1818
"description": "Format ID to generate. The format definition specifies required input assets and output structure."
19-
},
20-
"context": {
21-
"type": "object",
22-
"description": "Initiator-provided context included in the request payload. Agentsmust echo this value back unchanged in responses and webhooks. Use for UI/session hints, correlation tokens, or tracking metadata.",
23-
"additionalProperties": true
2419
}
2520
},
2621
"required": [

schemas/cache/1.0.0/build-creative-response.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@
1212
"creative_manifest": {
1313
"$ref": "creative-manifest.json",
1414
"description": "The generated or transformed creative manifest"
15-
},
16-
"context": {
17-
"type": "object",
18-
"description": "Initiator-provided context echoed inside the task payload. Opaque metadata such as UI/session hints, correlation tokens, or tracking identifiers.",
19-
"additionalProperties": true
2015
}
2116
},
2217
"required": [
@@ -40,11 +35,6 @@
4035
"$ref": "error.json"
4136
},
4237
"minItems": 1
43-
},
44-
"context": {
45-
"type": "object",
46-
"description": "Initiator-provided context echoed inside the task payload. Opaque metadata such as UI/session hints, correlation tokens, or tracking identifiers.",
47-
"additionalProperties": true
4838
}
4939
},
5040
"required": [

schemas/cache/1.0.0/create-media-buy-request.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,6 @@
7575
]
7676
}
7777
]
78-
},
79-
"context": {
80-
"type": "object",
81-
"description": "Initiator-provided context included in the request payload. Agentsmust echo this value back unchanged in responses and webhooks. Use for UI/session hints, correlation tokens, or tracking metadata.",
82-
"additionalProperties": true
8378
}
8479
},
8580
"required": [

schemas/cache/1.0.0/create-media-buy-response.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@
4343
],
4444
"additionalProperties": false
4545
}
46-
},
47-
"context": {
48-
"type": "object",
49-
"description": "Initiator-provided context echoed inside the task payload. Opaque metadata such as UI/session hints, correlation tokens, or tracking identifiers.",
50-
"additionalProperties": true
5146
}
5247
},
5348
"required": [
@@ -73,11 +68,6 @@
7368
"$ref": "error.json"
7469
},
7570
"minItems": 1
76-
},
77-
"context": {
78-
"type": "object",
79-
"description": "Initiator-provided context echoed inside the task payload. Opaque metadata such as UI/session hints, correlation tokens, or tracking identifiers.",
80-
"additionalProperties": true
8171
}
8272
},
8373
"required": [

schemas/cache/1.0.0/get-media-buy-delivery-request.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,6 @@
5757
"type": "string",
5858
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
5959
"description": "End date for reporting period (YYYY-MM-DD)"
60-
},
61-
"context": {
62-
"type": "object",
63-
"description": "Initiator-provided context included in the request payload. Agentsmust echo this value back unchanged in responses and webhooks. Use for UI/session hints, correlation tokens, or tracking metadata.",
64-
"additionalProperties": true
6560
}
6661
},
6762
"additionalProperties": false

schemas/cache/1.0.0/get-media-buy-delivery-response.json

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -180,28 +180,11 @@
180180
"type": "number",
181181
"description": "Delivery pace (1.0 = on track, <1.0 = behind, >1.0 = ahead)",
182182
"minimum": 0
183-
},
184-
"pricing_model": {
185-
"$ref": "pricing-model.json",
186-
"description": "The pricing model used for this package (e.g., cpm, cpcv, cpp). Indicates how the package is billed and which metrics are most relevant for optimization."
187-
},
188-
"rate": {
189-
"type": "number",
190-
"description": "The pricing rate for this package in the specified currency. For fixed-rate pricing, this is the agreed rate (e.g., CPM rate of 12.50 means $12.50 per 1,000 impressions). For auction-based pricing, this represents the effective rate based on actual delivery.",
191-
"minimum": 0
192-
},
193-
"currency": {
194-
"type": "string",
195-
"description": "ISO 4217 currency code (e.g., USD, EUR, GBP) for this package's pricing. Indicates the currency in which the rate and spend values are denominated. Different packages can use different currencies when supported by the publisher.",
196-
"pattern": "^[A-Z]{3}$"
197183
}
198184
},
199185
"required": [
200186
"package_id",
201-
"spend",
202-
"pricing_model",
203-
"rate",
204-
"currency"
187+
"spend"
205188
]
206189
}
207190
]
@@ -253,11 +236,6 @@
253236
"items": {
254237
"$ref": "error.json"
255238
}
256-
},
257-
"context": {
258-
"type": "object",
259-
"description": "Initiator-provided context echoed inside the task payload. Opaque metadata such as UI/session hints, correlation tokens, or tracking identifiers.",
260-
"additionalProperties": true
261239
}
262240
},
263241
"required": [

schemas/cache/1.0.0/get-products-request.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@
5454
}
5555
},
5656
"additionalProperties": false
57-
},
58-
"context": {
59-
"type": "object",
60-
"description": "Initiator-provided context included in the request payload. Agentsmust echo this value back unchanged in responses and webhooks. Use for UI/session hints, correlation tokens, or tracking metadata.",
61-
"additionalProperties": true
6257
}
6358
},
6459
"required": [],

schemas/cache/1.0.0/get-products-response.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818
"items": {
1919
"$ref": "error.json"
2020
}
21-
},
22-
"context": {
23-
"type": "object",
24-
"description": "Initiator-provided context echoed inside the task payload. Opaque metadata such as UI/session hints, correlation tokens, or tracking identifiers.",
25-
"additionalProperties": true
2621
}
2722
},
2823
"required": [

0 commit comments

Comments
 (0)