Deals API 1.0 JSON Schema Unofficial

Decision records ·

D-014 Are adtypes' and inclinventory's codes kept as written, though both name audio and inclinventory names an undefined "endemic"?

Gap Cited on main and at the tag 1.0-202602.

What the schemas do

Both lists keep their codes and labels as written, each its own list.

Options

  • as-written Chosen

    Both lists keep their codes and labels as written, each its own list.

  • merge

    Audio is one kind, so one list holds it, and endemic is left out until it is defined.

Why

The lists answer different questions, the creative's format and the inventory's kind, so each keeps its codes; a deal may say audio in both. "Endemic" stays code 5 with its label, since the schema can't define it.

What we ask the specification to state

Define "endemic" in inclinventory, and say how audio in inclinventory relates to audio in adtypes.

The specification lines it rests on

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

main

  • Object: Deal, the adtypes row's description: the value list L94 at 3028ddc
    1 (Banner) | 2 (Video) | 3 (Audio) | 4 (Native)
  • Object: Inventory, the inclinventory row's description: the value list L126 at 3028ddc
    1 (site) | 2 (app) | 3 (dooh) | 4 (audio) | 5 (endemic) | 6 (other)

Tag 1.0-202602

  • Object: Deal, the adtypes row's description: the value list L94 at 938a5d1
    1 (Banner) | 2 (Video) | 3 (Audio) | 4 (Native)
  • Object: Inventory, the inclinventory row's description: the value list L126 at 938a5d1
    1 (site) | 2 (app) | 3 (dooh) | 4 (audio) | 5 (endemic) | 6 (other)

What it shapes

main: AdType, IncludedInventory

Tag 1.0-202602: AdType, IncludedInventory

The record's YAML file