{"_id":"54605cf0809c100800b2351c","project":"5446bf21ae0040140035fa39","version":{"_id":"5446bf21ae0040140035fa3c","project":"5446bf21ae0040140035fa39","__v":15,"createdAt":"2014-10-21T20:16:33.426Z","releaseDate":"2014-10-21T20:16:33.426Z","categories":["5446bf21ae0040140035fa3d","545ecdc45c79e60800a9078d","545ecdd8d986c40800e44af3","545ecdf8d986c40800e44af4","545ece065c79e60800a9078f","545ece0cd986c40800e44af5","545ece13d986c40800e44af6","545ece195c79e60800a90790","545eced2d986c40800e44afa","545eced95c79e60800a90792","545eceded986c40800e44afb","545ecee4d986c40800e44afc","545ecee9d986c40800e44afd","545eceedd986c40800e44afe","545ecef2d986c40800e44b00"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"is_link":false,"category":{"_id":"545eced95c79e60800a90792","__v":2,"project":"5446bf21ae0040140035fa39","version":"5446bf21ae0040140035fa3c","pages":["54605cba809c100800b23516","54605cf0809c100800b2351c"],"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-11-09T02:18:01.360Z","from_sync":false,"order":1,"slug":"clearances","title":"Clearances"},"editedParams2":true,"user":"5446beccae0040140035fa37","editedParams":true,"__v":6,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-11-10T06:36:32.831Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"try":false,"basic_auth":false,"method":"get","results":{"codes":[{"name":"","code":"{\n  \"clearance\": {\n  \t\"id\": 303932,\n  \t\"priority\": 10,\n  \t\"zone\": {\n    \t\"id\": 1289,\n    \t\"slug\": \"multiple-residence-medium-rise\",\n    \t\"name\": \"Multiple Residence Medium Rise\",\n    \t\"display_name\": \"R-M - Multiple Residence Medium Rise\",\n    \t\"description\":\n    \t\"The purpose of this district is to promote the development of multifamily townhouses, condominiums and apartments at a medium residential density of 20.1 to 40 units per acre depending on unit mix; to stabilize and protect the residential characteristics of the district; and to promote a suitable environment for the lives of families and single persons.\",\n    \t\"municipal_code_url\": \"http://www.codepublishing.com/ca/santacruz/?santacruz24/SantaCruz2410.html#24.10.500\",\n    \t\"code\": \"R-M\",\n    \t\"overlay\": false\n  \t},\n  \t\"use\": {\n    \t\"id\": 2397,\n   \t\t\"slug\": \"bakery\",\n   \t\t\"name\": \"Bakery\",\n   \t\t\"full_name\": \"Manufacturing, Industrial & Processing > Wholesale > Bakery\",\n   \t\t\"description\": \"\",\n   \t\t\"category_name\": \"Manufacturing, Industrial & Processing\",\n   \t\t\"sub_category_name\": \"Wholesale\",\n   \t\t\"keywords\": \"bakery\",\n    \t\"icon_url\": \"http://d2ks5jj5byfwun.cloudfront.net/uses/icons/000/002/397/original/icon_7465.svg?1414278265\",\n   \t\t\"icon_label\": \"Bakery\"\n  \t},\n \t\t\"permission\": {\n    \t\"id\": 68,\n   \t\t\"slug\": \"prohibited\",\n   \t\t\"code\": \"NP\",\n   \t\t\"name\": \"Prohibited\",\n   \t\t\"type\": \"Permission::Prohibited\",\n   \t\t\"description\": \"Prohibited means that your planned use is either specifically disallowed in this zoning district, or that the code is \\\"silent.\\\" The best next step for you to take is to call the Planning Office.\",\n   \t\t\"municipal_code_url\": \"\"\n  \t},\n \t\t\"condition\": {\n   \t\t\"id\": 63,\n   \t\t\"name\": \"Bakery Retail Area > 30%\",\n   \t\t\"slug\": \"bakery-retail-area-30\",\n   \t\t\"type\": \"Condition\",\n   \t\t\"attribute_id\": 44,\n   \t\t\"evaluator\": \"equals\",\n   \t\t\"value\": \"false\",\n   \t\t\"created_at\": \"2014-09-17T22:54:17.992Z\",\n   \t\t\"updated_at\": \"2014-09-17T22:54:17.992Z\"\n \t\t}\n\t}\n}","language":"json","status":200},{"name":"","code":"{\n  \"status\":\"404\",\n  \"error\":\"Not Found\"\n}","language":"json","status":404},{"status":500,"code":"{\n  \"status\": \"500\", \n  \"error\": \"Internal Server Error\"\n}","language":"json"}]},"settings":"","auth":"never","params":[{"_id":"5461372592398320003c7c03","ref":"","in":"query","required":false,"desc":"","default":"required","type":"string","name":"jurisdiction"},{"_id":"54644a6c5871e90800f5013d","ref":"","in":"query","required":false,"desc":"","default":"","type":"array_mixed","name":"use"},{"_id":"54644a6c5871e90800f5013c","ref":"","in":"query","required":false,"desc":"","default":"","type":"array_mixed","name":"zone"}],"url":"/clearances/find.json"},"isReference":false,"order":1,"body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"http://santa-cruz.zoning.io/en/api/1.0/clearances/calculate.json?use[slug]=bakery&zone[latitude]=36.9794318&zone[longitude]=-122.0310751\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]","excerpt":"This endpoint returns the single clearance (out of potentially overlapping clearances) for a given land use and location. The clearance response includes the zone, land use, permission type and conditional rules.","slug":"clearances_calculate","type":"endpoint","title":"/clearances/find"}

get/clearances/find

This endpoint returns the single clearance (out of potentially overlapping clearances) for a given land use and location. The clearance response includes the zone, land use, permission type and conditional rules.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

jurisdiction:
stringrequired
use:
array of mixed
zone:
array of mixed

Result Format


Documentation

[block:code] { "codes": [ { "code": "http://santa-cruz.zoning.io/en/api/1.0/clearances/calculate.json?use[slug]=bakery&zone[latitude]=36.9794318&zone[longitude]=-122.0310751", "language": "text" } ] } [/block]

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}