https://github.com/klaussilveira/openrtb-json-schema
JSON Schema definition for the IAB OpenRTB 2.6 specification.
https://github.com/klaussilveira/openrtb-json-schema
iab json-schema openrtb rtb
Last synced: about 2 months ago
JSON representation
JSON Schema definition for the IAB OpenRTB 2.6 specification.
- Host: GitHub
- URL: https://github.com/klaussilveira/openrtb-json-schema
- Owner: klaussilveira
- License: mit
- Created: 2025-05-05T14:24:42.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-05T18:23:41.000Z (about 1 year ago)
- Last Synced: 2025-06-20T12:12:38.394Z (12 months ago)
- Topics: iab, json-schema, openrtb, rtb
- Language: JavaScript
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenRTB 2.6 JSON Schema
This project provides a JSON Schema Draft 07 definition ([https://json-schema.org/draft-07](https://json-schema.org/draft-07)) based on
the IAB OpenRTB 2.6 specification ([https://iabtechlab.com/standards/openrtb/](https://iabtechlab.com/standards/openrtb/)).
The primary goal is to define the OpenRTB 2.6 specification in a
machine-readable format using JSON Schema. This facilitates:
* **Validation:** Easier validation of OpenRTB requests and responses
against the official specification.
* **Code Generation:** Simplified generation of OpenRTB 2.6 compliant
clients and servers directly from the schema definition.
## Contents
* **schema.json**: Core schema files defining OpenRTB 2.6
* **specification.md**: Original OpenRTB 2.6 specification
## Testing
To run the tests that validate the example requests and responses against the
schema, first install the dependencies:
$ npm install
Then run the tests:
$ npm test