• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bootprint / bootprint-json-schema / 29 / 5
66%
master: 66%

Build:
DEFAULT BRANCH: master
Ran 28 Mar 2017 09:48PM UTC
Files 2
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Mar 2017 09:47PM UTC coverage: 56.604% (-9.3%) from 65.909%
29.5

Pull #13

travis-ci

web-flow
Support type property as an array, according to JSON Schema Validation

In JSON Schema, the "type" property may be a string or an array of
strings. Previously, if type was set as array of strings (i.e., `"type":
["null", "array"]`) and there was also an "items" property defining
the array as items of type "integer," then bootprint-json-schema
would render the following:

    null,array

Additionally, the "items" property was not rendered.

The expected result for the given scenario is:

    null, integer[]

And the "items" property should be rendered with its defintion.

This supports the JSON Schema "type" as it is defined to allow an array
of strings. If one of the strings in that array is "array," then
`items.type` is used to render the datatype, and the "items" property is
also rendered.
Pull Request #13: Support type property as an array, according to JSON Schema Validation

39 of 55 branches covered (70.91%)

30 of 53 relevant lines covered (56.6%)

5.58 hits per line

Source Files on job 29.5
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 29
  • Travis Job 29.5
  • dfd8d1c8 on github
  • Prev Job for on master (#27.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc