|
| 1 | +{ |
| 2 | + "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | + "$id": "FCC-Invoice", |
| 4 | + "type": "object", |
| 5 | + "title": "FCC Invoice", |
| 6 | + "description": "Federal Communications Commission (FCC) political advertising invoice showing broadcast time purchases, including line items with descriptions, dates, rates, and totals for political advertising campaigns.", |
| 7 | + "x-aws-stickler-model-name": "FCCInvoice", |
| 8 | + "x-aws-stickler-match-threshold": 0.7, |
| 9 | + "properties": { |
| 10 | + "agency": { |
| 11 | + "type": "array", |
| 12 | + "description": "The advertising agency or media buyer handling the political advertising purchase.", |
| 13 | + "items": { |
| 14 | + "type": "string" |
| 15 | + }, |
| 16 | + "x-aws-stickler-comparator": "FuzzyComparator", |
| 17 | + "x-aws-stickler-threshold": 0.8, |
| 18 | + "x-aws-stickler-weight": 2.0 |
| 19 | + }, |
| 20 | + "advertiser": { |
| 21 | + "type": "array", |
| 22 | + "description": "The political advertiser or campaign purchasing the broadcast time.", |
| 23 | + "items": { |
| 24 | + "type": "string" |
| 25 | + }, |
| 26 | + "x-aws-stickler-comparator": "FuzzyComparator", |
| 27 | + "x-aws-stickler-threshold": 0.8, |
| 28 | + "x-aws-stickler-weight": 2.0 |
| 29 | + }, |
| 30 | + "gross_total": { |
| 31 | + "type": "array", |
| 32 | + "description": "The total gross amount for all line items before any discounts or adjustments.", |
| 33 | + "items": { |
| 34 | + "type": "string" |
| 35 | + }, |
| 36 | + "x-aws-stickler-comparator": "ExactComparator", |
| 37 | + "x-aws-stickler-threshold": 1.0, |
| 38 | + "x-aws-stickler-weight": 3.0 |
| 39 | + }, |
| 40 | + "net_amount_due": { |
| 41 | + "type": "array", |
| 42 | + "description": "The final net amount due after any discounts or adjustments have been applied.", |
| 43 | + "items": { |
| 44 | + "type": "string" |
| 45 | + }, |
| 46 | + "x-aws-stickler-comparator": "ExactComparator", |
| 47 | + "x-aws-stickler-threshold": 1.0, |
| 48 | + "x-aws-stickler-weight": 3.0 |
| 49 | + }, |
| 50 | + "line_item__description": { |
| 51 | + "type": "array", |
| 52 | + "description": "Each line item description is usually a specification in industry short-hand of when the advertisement should run. Examples include \"M-F 6p-6:30p\", \"M-F 11a-12p\"", |
| 53 | + "items": { |
| 54 | + "type": "string" |
| 55 | + }, |
| 56 | + "x-aws-stickler-comparator": "LevenshteinComparator", |
| 57 | + "x-aws-stickler-threshold": 0.7, |
| 58 | + "x-aws-stickler-weight": 1.5 |
| 59 | + }, |
| 60 | + "line_item__days": { |
| 61 | + "type": "array", |
| 62 | + "description": "Each list item will be a string with shorthand representing the days of the week the ad should run. I.e. \"MTWTF--\"", |
| 63 | + "items": { |
| 64 | + "type": "string" |
| 65 | + }, |
| 66 | + "x-aws-stickler-comparator": "ExactComparator", |
| 67 | + "x-aws-stickler-threshold": 1.0, |
| 68 | + "x-aws-stickler-weight": 1.0 |
| 69 | + }, |
| 70 | + "line_item__rate": { |
| 71 | + "type": "array", |
| 72 | + "description": "Each entry is a unitless float, i.e. \"300.00\", or \"1200.00\"", |
| 73 | + "items": { |
| 74 | + "type": "string" |
| 75 | + }, |
| 76 | + "x-aws-stickler-comparator": "ExactComparator", |
| 77 | + "x-aws-stickler-threshold": 1.0, |
| 78 | + "x-aws-stickler-weight": 2.0 |
| 79 | + }, |
| 80 | + "line_item__start_date": { |
| 81 | + "type": "array", |
| 82 | + "description": "Each start date, formatted as MM/DD/YY. i.e. \"11/07/21\"", |
| 83 | + "items": { |
| 84 | + "type": "string" |
| 85 | + }, |
| 86 | + "x-aws-stickler-comparator": "ExactComparator", |
| 87 | + "x-aws-stickler-threshold": 1.0, |
| 88 | + "x-aws-stickler-weight": 2.0 |
| 89 | + }, |
| 90 | + "line_item__end_date": { |
| 91 | + "type": "array", |
| 92 | + "description": "Each end date, formatted as MM/DD/YY. i.e. \"11/07/21\"", |
| 93 | + "items": { |
| 94 | + "type": "string" |
| 95 | + }, |
| 96 | + "x-aws-stickler-comparator": "ExactComparator", |
| 97 | + "x-aws-stickler-threshold": 1.0, |
| 98 | + "x-aws-stickler-weight": 2.0 |
| 99 | + } |
| 100 | + }, |
| 101 | + "required": [ |
| 102 | + "agency", |
| 103 | + "advertiser", |
| 104 | + "gross_total", |
| 105 | + "net_amount_due" |
| 106 | + ] |
| 107 | +} |
0 commit comments