changedInput schema / properties / comparisonScope / properties / scope / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "additionalProperties": false,
- "properties": {
- "channel": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-zA-Z0-9_-]{1,100}$",
- "type": "string"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "title": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "revision",
- "title"
- ],
- "type": "object"
- },
- "currency": {
- "pattern": "^[A-Z]{3}$",
- "type": "string"
- },
- "offer": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-zA-Z0-9_-]{1,100}$",
- "type": "string"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "title": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "revision",
- "title"
- ],
- "type": "object"
- },
- "segment": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-zA-Z0-9_-]{1,100}$",
- "type": "string"
- },
- "revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "title": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "revision",
- "title"
- ],
- "type": "object"
- }
- },
- "required": [
- "segment",
- "offer",
- "channel",
- "currency"
- ],
- "type": "object"
- },
- "endsAt": {
- "format": "date-time",
- "maxLength": 100,
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "startsAt": {
- "format": "date-time",
- "maxLength": 100,
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "version": {
- "const": "sales_cost_cohort.v1",
- "type": "string"
- }
- },
- "required": [
- "version",
- "startsAt",
- "endsAt",
- "basis"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "additionalProperties": false,
+ "description": "Frozen segment/offer/channel record identities and revisions plus currency from one native comparison population.",
+ "properties": {
+ "channel": {
+ "additionalProperties": false,
+ "description": "Exact current acquisition-channel record in the selected comparison basis.",
+ "properties": {
+ "id": {
+ "description": "Exact existing segment, offer or channel ID from the selected native measurement basis; never a free-text label.",
+ "pattern": "^[a-zA-Z0-9_-]{1,100}$",
+ "type": "string"
+ },
+ "revision": {
+ "description": "Current positive revision of that same selected basis record, copied unchanged; a stale basis requires reread.",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "title": {
+ "description": "Title from that same basis record/revision, copied with its ID; not a new record name.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "revision",
+ "title"
+ ],
+ "type": "object"
+ },
+ "currency": {
+ "description": "Three-letter uppercase currency of that exact comparison basis; do not convert or mix currencies.",
+ "pattern": "^[A-Z]{3}$",
+ "type": "string"
+ },
+ "offer": {
+ "additionalProperties": false,
+ "description": "Exact current offer record in the selected comparison basis; not an issued customer payment offer.",
+ "properties": {
+ "id": {
+ "description": "Exact existing segment, offer or channel ID from the selected native measurement basis; never a free-text label.",
+ "pattern": "^[a-zA-Z0-9_-]{1,100}$",
+ "type": "string"
+ },
+ "revision": {
+ "description": "Current positive revision of that same selected basis record, copied unchanged; a stale basis requires reread.",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "title": {
+ "description": "Title from that same basis record/revision, copied with its ID; not a new record name.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "revision",
+ "title"
+ ],
+ "type": "object"
+ },
+ "segment": {
+ "additionalProperties": false,
+ "description": "Exact current segment record in the selected comparison basis.",
+ "properties": {
+ "id": {
+ "description": "Exact existing segment, offer or channel ID from the selected native measurement basis; never a free-text label.",
+ "pattern": "^[a-zA-Z0-9_-]{1,100}$",
+ "type": "string"
+ },
+ "revision": {
+ "description": "Current positive revision of that same selected basis record, copied unchanged; a stale basis requires reread.",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "title": {
+ "description": "Title from that same basis record/revision, copied with its ID; not a new record name.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "revision",
+ "title"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "segment",
+ "offer",
+ "channel",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "endsAt": {
+ "description": "Exclusive end of the same comparison population, after startsAt and at most 366 days later; not a payment forecast horizon.",
+ "format": "date-time",
+ "maxLength": 100,
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "startsAt": {
+ "description": "Inclusive start of the selected comparison population as an offset-aware ISO timestamp; normalized to UTC.",
+ "format": "date-time",
+ "maxLength": 100,
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "version": {
+ "const": "sales_cost_cohort.v1",
+ "description": "Exact existing cost-cohort contract version; not a mutable record revision.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "startsAt",
+ "endsAt",
+ "basis"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]