Created
June 12, 2014 11:59
-
-
Save rdpanek/ec26e683da35c4c0c561 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
request = | |
title: 'fbBenchmark-request' | |
type: 'object' | |
properties: | |
type: | |
type: 'string' | |
required: yes | |
timeFrom: | |
type: 'date' | |
required: yes | |
timeTo: | |
type: 'date' | |
required: yes | |
items: | |
type: 'object' | |
properties: | |
id: | |
type: 'integer' | |
metrics: | |
type: 'array' | |
items: [ | |
'admin_post_comment_count_by_type_by_day' | |
] | |
additionalItems: | |
type: 'string' | |
required: yes | |
timezone: | |
type: 'string' | |
required: yes | |
pattern: '^UTC$' | |
results = | |
title: 'fbBenchmark-results' | |
type: 'object' | |
properties: | |
data: | |
type: 'object' | |
required: yes | |
properties: | |
items: | |
type: 'array' | |
items: [ | |
type: 'array' | |
items: [ | |
type: 'object' | |
properties: | |
A: | |
type: 'date-time' | |
required: yes | |
B: | |
type: 'object' | |
required: yes | |
properties: | |
album: | |
type: 'number' | |
event: | |
type: 'number' | |
link: | |
type: 'number' | |
offer: | |
type: 'number' | |
photo: | |
type: 'number' | |
status: | |
type: 'number' | |
video: | |
type: 'number' | |
additionalProperties: | |
minimum: 0 | |
required: yes | |
] | |
] | |
id: | |
type: 'integer' | |
required: yes | |
type: | |
type: 'string' | |
required: yes | |
pattern: '^fb-benchmark$' | |
timeFrom: | |
type: 'date' | |
required: yes | |
timeTo: | |
type: 'date' | |
required: yes | |
metadata: | |
type: 'object' | |
required: yes | |
properties: | |
B: | |
type: 'object' | |
required: yes | |
properties: | |
availableTypes: | |
type: 'string' | |
enum: [ | |
'offer' | |
'album' | |
'status' | |
'event' | |
'swf' | |
'coupon' | |
'photo' | |
'music' | |
'video' | |
'link' | |
'application' | |
'activity' | |
'question' | |
] | |
map: | |
type: 'object' | |
required: yes | |
properties: | |
A: | |
type: 'string' | |
required: yes | |
B: | |
type: 'string' | |
required: yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment