Expand All
Collapse All
{ "$schema": "http://json-schema.org/draft-04/schema#", "type":"object", "properties": { "personFirst":{"type":"string"}, "personLast":{"type":"string"}, "dob":{"type":"string"}, "results":{ "type":"object", "properties": { "dockets":{"type":"array"}, "arrestCount":{"type":"intager"}, "sealing": {"type":"array"}, "expungementZip":{"type":"string"}, "expungements_redactions":{ "oneOf":[ {"type":"string"}, {"type":"array"} ] } }, "required":["dockets","arrestCount","expungements_redactions"] } }, "required":["personFirst","personLast","dob","results"] }
{ "$schema": "http://json-schema.org/draft-04/schema#", "type":"object", "properties": { "personFirst":{"type":"string"}, "personLast":{"type":"string"}, "dob":{"type":"string"}, "results":{ "type":"object", "properties": { "dockets":{"type":"array"}, "arrestCount":{"type":"intager"}, "sealing": {"type":"array"}, "expungementZip":{"type":"string"}, "expungements_redactions":{ "oneOf":[ {"type":"string"}, {"type":"array"} ] } }, "required":["dockets","arrestCount","expungements_redactions"] } }, "required":["personFirst","personLast","dob","results"] }
{ "$schema": "http://json-schema.org/draft-04/schema#", "type":"object", "properties": { "personFirst":{"type":"string"}, "personLast":{"type":"string"}, "dob":{"type":"string"}, "results":{ "type":"object", "properties": { "dockets":{"type":"array"}, "arrestCount":{"type":"intager"}, "sealing": {"type":"array"}, "expungementZip":{"type":"string"}, "expungements_redactions":{ "oneOf":[ {"type":"string"}, {"type":"array"} ] } }, "required":["dockets","arrestCount","expungements_redactions"] } }, "required":["personFirst","personLast","dob","results"] }
{ "$schema": "http://json-schema.org/draft-04/schema#", "type":"object", "properties": { "personFirst":{"type":"string"}, "personLast":{"type":"string"}, "dob":{"type":"string"}, "results":{ "type":"object", "properties": { "dockets":{"type":"array"}, "arrestCount":{"type":"intager"}, "sealing": {"type":"array"}, "expungementZip":{"type":"string"}, "expungements_redactions":{ "oneOf":[ {"type":"string"}, {"type":"array"} ] } }, "required":["dockets","arrestCount","expungements_redactions"] } }, "required":["personFirst","personLast","dob","results"] }
{ "$schema": "http://json-schema.org/draft-04/schema#", "type":"object", "properties": { "personFirst":{"type":"string"}, "personLast":{"type":"string"}, "dob":{"type":"string"}, "results":{ "type":"object", "properties": { "dockets":{"type":"array"}, "arrestCount":{"type":"intager"}, "sealing": {"type":"array"}, "expungementZip":{"type":"string"}, "expungements_redactions":{ "oneOf":[ {"type":"string"}, {"type":"array"} ] } }, "required":["dockets","arrestCount","expungements_redactions"] } }, "required":["personFirst","personLast","dob","results"] }
# Missing required parameters.features/api_features/invalid_request.feature:6
{ "results":{ "status": "Key missing from request." } }
{ "results": { "status": "User email missing from request." } }
{ "results":{ "status": "Should I create petitions? Please include createPetitions=[0|1] in your request." } }
# Invalid parametersfeatures/api_features/invalid_request.feature:50
{ "results": { "status": "Invalid request." } }
{ "results": { "status": "Invalid request." } }
{ "results": { "status": "If you do not wish to do a CPCMS search, then you must supply docket numbers." } }
Then("the response code is {string}") do |string| pending # Write code here that turns the phrase above into concrete actions end