Last active
August 22, 2017 16:32
-
-
Save abdheshkumar/48a4b0ed7a9ab67aaa73ed3224d7053f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```javascript | |
{ | |
"title":"Report Properties", | |
"description":"A JSON Schema describing a Report Properties", | |
"$schema":"http://json-schema.org/draft-04/schema#", | |
"type":"object", | |
"properties":{ | |
"server":{ | |
"type":"string", | |
"description":"URL of JRS instance." | |
}, | |
"resource":{ | |
"type":"string", | |
"description":"Report resource URI.", | |
"pattern":"^/[^/~!#\\$%^|\\s`@&*()\\+={}\\[\\]:;\"'<>,?/\\|\\\\]+(/[^/~!#\\$%^|\\s`@&* ()\\+={}\\[\\]:;\"'<>,?/\\|\\\\]+)*$" | |
}, | |
"container":{ | |
"type":"string", | |
"description":"CSS selector for container to render report to." | |
}, | |
"params":{ | |
"$ref":"#/definitions/params" | |
}, | |
"pages":{ | |
"type":[ | |
"string", | |
"integer" | |
], | |
"description":"Range of report's pages or single report page", | |
"pattern":"^\\d+(\\-\\d+)?$", | |
"default":1 | |
}, | |
"required":[ | |
"server", | |
"resource" | |
] | |
} | |
} | |
`` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment