OpenProposal 3.0 JSON Schema Unofficial

Decision records · Where each statement is checked

D-033 What do the specification's code blocks other than the § 2.2 grammar map to?

Gap Decision 37 on the supporting page of #121. Cited on main and with the open PRs.

What the schemas do

The § 2 diagram is informative, and each YAML block of line-item fields is an example of a line item.

Options

  • by-content Chosen

    The § 2 diagram is informative, and each YAML block of line-item fields is an example of a line item.

  • informative

    Every code block is informative.

Why

The § 2 block is a diagram of the two documents, with no field. The § 5.5 and § 5.6.3 blocks are YAML values of line-item fields (exclusions_accepted, exclusions, geo, daypart with time_zone, and requires), so each is an example of part of a line item, which the examples gate validates as it validates examples/.

The specification lines it rests on

Each line is quoted as the record pins it. Expand an item to read the quote.

main

  • § 2, code block 1 L57-L60 at 44dfaaf
    Proposal → the merchandising pitch, identity, lifecycle state and assent Line Items[] → fully self-contained buyable units, each in exactly one channel

With the open PRs

  • § 2, code block 1 L50-L53 on main at 981a74e
    Proposal → the merchandising pitch, identity, lifecycle state and assent Line Items[] → fully self-contained buyable units, each in exactly one channel
  • § 5.5, code block 1 L270-L271 in #71, L272 in #71, L273-L274 in #71, L275 in #71, L276-L280 in #71, L281 in #71, L282-L284 in #71
    exclusions_accepted: types: [domain, app_bundle, iab_content_category, keyword] max_entries: { domain: 5000, keyword: 500 } enforcement: { domain: pre_serve, app_bundle: pre_serve, iab_content_category: pre_serve, keyword: best_effort } verification: ["IAS", "DoubleVerify"] exclusions: domain: ["example-gambling.example"] app_bundle: [{ platform: roku, bundle: "123456" }] iab_content_category: ["IAB-CT3.0:<id>"] # IAB Content Taxonomy ids keyword: ["crypto"] list_ref: { url: "<url>", sha256: "<hash>" }
  • § 5.5, code block 2 L268-L274 in #72
    geo: available: ["SGP", "THA", "IDN", "MYS"] included: ["SGP", "THA"] pricing: { "IDN": { delta_cpm: 18.00 }, "MYS": { delta_cpm: 21.00 } } max_select: 4
  • § 5.6.3, code block 1 L330-L336 in #70
    requires: all_of: ["business-daily-display", "weather-app-ctv"] any_of: [] min_commitment: - { line_item_id: "business-daily-display", basis: spend, amount: 50000.00, currency: USD }
  • § 5.5, code block 3 L269-L276 in #123
    # Late fringe, 23:00 to 01:00, Monday night into Tuesday daypart: allowed: - { days: [monday], start: "23:00", end: "24:00" } - { days: [tuesday], start: "00:00", end: "01:00" } time_zone: "America/New_York"

The record's YAML file