{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/open-data:schooldigger/autocomplete-get-schools":{"get":{"operationId":"open_data_schooldigger_autocomplete_get_schools","summary":"Returns a simple and quick list of schools for use in a client-typed autocomplete","description":"GET /v2.0/autocomplete/schools","tags":["open-data"],"parameters":[{"name":"q","in":"query","required":false,"description":"Search term for autocomplete (e.g. 'Lincol') (required)","schema":{"type":"string","description":"Search term for autocomplete (e.g. 'Lincol') (required)"}},{"name":"qSearchCityStateName","in":"query","required":false,"description":"Extend the search term to include city and state (e.g. 'Lincoln el paso' matches Lincoln Middle School in El Paso) (optional)","schema":{"type":"boolean","description":"Extend the search term to include city and state (e.g. 'Lincoln el paso' matches Lincoln Middle School in El Paso) (optional)"}},{"name":"st","in":"query","required":false,"description":"Two character state (e.g. 'CA') (optional -- leave blank to search entire U.S.)","schema":{"type":"string","description":"Two character state (e.g. 'CA') (optional -- leave blank to search entire U.S.)"}},{"name":"level","in":"query","required":false,"description":"Search for schools at this level only. Valid values: 'Elementary', 'Middle', 'High', 'Alt', 'Private' (optional - leave blank to search…","schema":{"type":"string","description":"Search for schools at this level only. Valid values: 'Elementary', 'Middle', 'High', 'Alt', 'Private' (optional - leave blank to search…"}},{"name":"boxLatitudeNW","in":"query","required":false,"description":"Search within a 'box' defined by (BoxLatitudeNW/BoxLongitudeNW) to (BoxLongitudeSE/BoxLatitudeSE) (optional. Pro, Enterprise API levels…","schema":{"type":"number","description":"Search within a 'box' defined by (BoxLatitudeNW/BoxLongitudeNW) to (BoxLongitudeSE/BoxLatitudeSE) (optional. Pro, Enterprise API levels…"}},{"name":"boxLongitudeNW","in":"query","required":false,"description":"Search within a 'box' defined by (BoxLatitudeNW/BoxLongitudeNW) to (BoxLongitudeSE/BoxLatitudeSE) (optional. Pro, Enterprise API levels…","schema":{"type":"number","description":"Search within a 'box' defined by (BoxLatitudeNW/BoxLongitudeNW) to (BoxLongitudeSE/BoxLatitudeSE) (optional. Pro, Enterprise API levels…"}},{"name":"boxLatitudeSE","in":"query","required":false,"description":"Search within a 'box' defined by (BoxLatitudeNW/BoxLongitudeNW) to (BoxLongitudeSE/BoxLatitudeSE) (optional. Pro, Enterprise API levels…","schema":{"type":"number","description":"Search within a 'box' defined by (BoxLatitudeNW/BoxLongitudeNW) to (BoxLongitudeSE/BoxLatitudeSE) (optional. Pro, Enterprise API levels…"}},{"name":"boxLongitudeSE","in":"query","required":false,"description":"Search within a 'box' defined by (BoxLatitudeNW/BoxLongitudeNW) to (BoxLongitudeSE/BoxLatitudeSE) (optional. Pro, Enterprise API levels…","schema":{"type":"number","description":"Search within a 'box' defined by (BoxLatitudeNW/BoxLongitudeNW) to (BoxLongitudeSE/BoxLatitudeSE) (optional. Pro, Enterprise API levels…"}},{"name":"returnCount","in":"query","required":false,"description":"Number of schools to return. Valid values: 1-20. (default: 10)","schema":{"type":"integer","description":"Number of schools to return. Valid values: 1-20. (default: 10)"}},{"name":"appID","in":"query","required":true,"description":"Your API app id","schema":{"type":"string","description":"Your API app id"}},{"name":"appKey","in":"query","required":true,"description":"Your API app key","schema":{"type":"string","description":"Your API app key"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:schooldigger/districts-get-all-districts2":{"get":{"operationId":"open_data_schooldigger_districts_get_all_districts2","summary":"Returns a list of districts","description":"GET /v2.0/districts","tags":["open-data"],"parameters":[{"name":"st","in":"query","required":true,"description":"Two character state (e.g. 'CA') - required","schema":{"type":"string","description":"Two character state (e.g. 'CA') - required"}},{"name":"q","in":"query","required":false,"description":"Search term - note: will match district name or city (optional)","schema":{"type":"string","description":"Search term - note: will match district name or city (optional)"}},{"name":"city","in":"query","required":false,"description":"Search for districts in this city (optional)","schema":{"type":"string","description":"Search for districts in this city (optional)"}},{"name":"zip","in":"query","required":false,"description":"Search for districts in this 5-digit zip code (optional)","schema":{"type":"string","description":"Search for districts in this 5-digit zip code (optional)"}},{"name":"nearLatitude","in":"query","required":false,"description":"Search for districts within (distanceMiles) of (nearLatitude)/(nearLongitude) (e.g. 44.982560) (optional) (Pro, Enterprise API levels…","schema":{"type":"number","description":"Search for districts within (distanceMiles) of (nearLatitude)/(nearLongitude) (e.g. 44.982560) (optional) (Pro, Enterprise API levels…"}},{"name":"nearLongitude","in":"query","required":false,"description":"Search for districts within (distanceMiles) of (nearLatitude)/(nearLongitude) (e.g. -124.289185) (optional) (Pro, Enterprise API levels…","schema":{"type":"number","description":"Search for districts within (distanceMiles) of (nearLatitude)/(nearLongitude) (e.g. -124.289185) (optional) (Pro, Enterprise API levels…"}},{"name":"boundaryAddress","in":"query","required":false,"description":"Full U.S. address: flag returned districts that include this address in its attendance boundary. Example: '123 Main St. AnyTown CA 90001'…","schema":{"type":"string","description":"Full U.S. address: flag returned districts that include this address in its attendance boundary. Example: '123 Main St. AnyTown CA 90001'…"}},{"name":"distanceMiles","in":"query","required":false,"description":"Search for districts within (distanceMiles) of (nearLatitude)/(nearLongitude) (Default 50 miles) (optional) (Pro, Enterprise API levels…","schema":{"type":"integer","description":"Search for districts within (distanceMiles) of (nearLatitude)/(nearLongitude) (Default 50 miles) (optional) (Pro, Enterprise API levels…"}},{"name":"isInBoundaryOnly","in":"query","required":false,"description":"Return only the districts that include given location (nearLatitude/nearLongitude) or (boundaryAddress) in its attendance boundary…","schema":{"type":"boolean","description":"Return only the districts that include given location (nearLatitude/nearLongitude) or (boundaryAddress) in its attendance boundary…"}},{"name":"boxLatitudeNW","in":"query","required":false,"description":"Search for districts within a 'box' defined by (BoxLatitudeNW/BoxLongitudeNW) to (BoxLongitudeSE/BoxLatitudeSE) (optional)","schema":{"type":"number","description":"Search for districts within a 'box' defined by (BoxLatitudeNW/BoxLongitudeNW) to (BoxLongitudeSE/BoxLatitudeSE) (optional)"}},{"name":"boxLongitudeNW","in":"query","required":false,"description":"Search for districts within a 'box' defined by (BoxLatitudeNW/BoxLongitudeNW) to (BoxLongitudeSE/BoxLatitudeSE) (optional)","schema":{"type":"number","description":"Search for districts within a 'box' defined by (BoxLatitudeNW/BoxLongitudeNW) to (BoxLongitudeSE/BoxLatitudeSE) (optional)"}},{"name":"boxLatitudeSE","in":"query","required":false,"description":"Search for districts within a 'box' defined by (BoxLatitudeNW/BoxLongitudeNW) to (BoxLongitudeSE/BoxLatitudeSE) (optional)","schema":{"type":"number","description":"Search for districts within a 'box' defined by (BoxLatitudeNW/BoxLongitudeNW) to (BoxLongitudeSE/BoxLatitudeSE) (optional)"}},{"name":"boxLongitudeSE","in":"query","required":false,"description":"Search for districts within a 'box' defined by (BoxLatitudeNW/BoxLongitudeNW) to (BoxLongitudeSE/BoxLatitudeSE) (optional)","schema":{"type":"number","description":"Search for districts within a 'box' defined by (BoxLatitudeNW/BoxLongitudeNW) to (BoxLongitudeSE/BoxLatitudeSE) (optional)"}},{"name":"page","in":"query","required":false,"description":"Page number to retrieve (optional, default: 1)","schema":{"type":"integer","description":"Page number to retrieve (optional, default: 1)"}},{"name":"perPage","in":"query","required":false,"description":"Number of districts to retrieve on a page (50 max) (optional, default: 10)","schema":{"type":"integer","description":"Number of districts to retrieve on a page (50 max) (optional, default: 10)"}},{"name":"sortBy","in":"query","required":false,"description":"Sort list. Values are: districtname, distance, rank. For descending order, precede with '-' i.e. -districtname (optional, default:…","schema":{"type":"string","description":"Sort list. Values are: districtname, distance, rank. For descending order, precede with '-' i.e. -districtname (optional, default:…"}},{"name":"includeUnrankedDistrictsInRankSort","in":"query","required":false,"description":"If sortBy is 'rank', this boolean determines if districts with no rank are included in the result (optional, default: false)","schema":{"type":"boolean","description":"If sortBy is 'rank', this boolean determines if districts with no rank are included in the result (optional, default: false)"}},{"name":"appID","in":"query","required":true,"description":"Your API app id","schema":{"type":"string","description":"Your API app id"}},{"name":"appKey","in":"query","required":true,"description":"Your API app key","schema":{"type":"string","description":"Your API app key"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:schooldigger/districts-get-district2":{"get":{"operationId":"open_data_schooldigger_districts_get_district2","summary":"Returns a detailed record for one district","description":"GET /v2.0/districts/{id}","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"description":"The 7 digit District ID (e.g. 0642150)","schema":{"type":"string","description":"The 7 digit District ID (e.g. 0642150)"}},{"name":"appID","in":"query","required":true,"description":"Your API app id","schema":{"type":"string","description":"Your API app id"}},{"name":"appKey","in":"query","required":true,"description":"Your API app key","schema":{"type":"string","description":"Your API app key"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:schooldigger/rankings-get-rank-district":{"get":{"operationId":"open_data_schooldigger_rankings_get_rank_district","summary":"Returns a SchoolDigger district ranking list","description":"GET /v2.0/rankings/districts/{st}","tags":["open-data"],"parameters":[{"name":"st","in":"query","required":true,"description":"Two character state (e.g. 'CA')","schema":{"type":"string","description":"Two character state (e.g. 'CA')"}},{"name":"year","in":"query","required":false,"description":"The ranking year (leave blank for most recent year)","schema":{"type":"integer","description":"The ranking year (leave blank for most recent year)"}},{"name":"page","in":"query","required":false,"description":"Page number to retrieve (optional, default: 1)","schema":{"type":"integer","description":"Page number to retrieve (optional, default: 1)"}},{"name":"perPage","in":"query","required":false,"description":"Number of districts to retrieve on a page (50 max) (optional, default: 10)","schema":{"type":"integer","description":"Number of districts to retrieve on a page (50 max) (optional, default: 10)"}},{"name":"appID","in":"query","required":true,"description":"Your API app id","schema":{"type":"string","description":"Your API app id"}},{"name":"appKey","in":"query","required":true,"description":"Your API app key","schema":{"type":"string","description":"Your API app key"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:schooldigger/rankings-get-school-rank2":{"get":{"operationId":"open_data_schooldigger_rankings_get_school_rank2","summary":"Returns a SchoolDigger school ranking list","description":"GET /v2.0/rankings/schools/{st}","tags":["open-data"],"parameters":[{"name":"st","in":"query","required":true,"description":"Two character state (e.g. 'CA')","schema":{"type":"string","description":"Two character state (e.g. 'CA')"}},{"name":"year","in":"query","required":false,"description":"The ranking year (leave blank for most recent year)","schema":{"type":"integer","description":"The ranking year (leave blank for most recent year)"}},{"name":"level","in":"query","required":false,"description":"Level of ranking: 'Elementary', 'Middle', or 'High'","schema":{"type":"string","description":"Level of ranking: 'Elementary', 'Middle', or 'High'"}},{"name":"page","in":"query","required":false,"description":"Page number to retrieve (optional, default: 1)","schema":{"type":"integer","description":"Page number to retrieve (optional, default: 1)"}},{"name":"perPage","in":"query","required":false,"description":"Number of schools to retrieve on a page (50 max) (optional, default: 10)","schema":{"type":"integer","description":"Number of schools to retrieve on a page (50 max) (optional, default: 10)"}},{"name":"appID","in":"query","required":true,"description":"Your API app id","schema":{"type":"string","description":"Your API app id"}},{"name":"appKey","in":"query","required":true,"description":"Your API app key","schema":{"type":"string","description":"Your API app key"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:schooldigger/schools-get-all-schools20":{"get":{"operationId":"open_data_schooldigger_schools_get_all_schools20","summary":"Returns a list of schools","description":"GET /v2.0/schools","tags":["open-data"],"parameters":[{"name":"st","in":"query","required":true,"description":"Two character state (e.g. 'CA') - required","schema":{"type":"string","description":"Two character state (e.g. 'CA') - required"}},{"name":"q","in":"query","required":false,"description":"Search term - note: will match school name or city (optional)","schema":{"type":"string","description":"Search term - note: will match school name or city (optional)"}},{"name":"qSearchSchoolNameOnly","in":"query","required":false,"description":"For parameter 'q', only search school names instead of school and city (optional)","schema":{"type":"boolean","description":"For parameter 'q', only search school names instead of school and city (optional)"}},{"name":"districtID","in":"query","required":false,"description":"Search for schools within this district (7 digit district id) (optional)","schema":{"type":"string","description":"Search for schools within this district (7 digit district id) (optional)"}},{"name":"level","in":"query","required":false,"description":"Search for schools at this level. Valid values: 'Elementary', 'Middle', 'High', 'Alt', 'Public', 'Private' (optional). 'Public' returns…","schema":{"type":"string","description":"Search for schools at this level. Valid values: 'Elementary', 'Middle', 'High', 'Alt', 'Public', 'Private' (optional). 'Public' returns…"}},{"name":"city","in":"query","required":false,"description":"Search for schools in this city (optional)","schema":{"type":"string","description":"Search for schools in this city (optional)"}},{"name":"zip","in":"query","required":false,"description":"Search for schools in this 5-digit zip code (optional)","schema":{"type":"string","description":"Search for schools in this 5-digit zip code (optional)"}},{"name":"isMagnet","in":"query","required":false,"description":"True = return only magnet schools, False = return only non-magnet schools (optional) (Pro, Enterprise API levels only)","schema":{"type":"boolean","description":"True = return only magnet schools, False = return only non-magnet schools (optional) (Pro, Enterprise API levels only)"}},{"name":"isCharter","in":"query","required":false,"description":"True = return only charter schools, False = return only non-charter schools (optional) (Pro, Enterprise API levels only)","schema":{"type":"boolean","description":"True = return only charter schools, False = return only non-charter schools (optional) (Pro, Enterprise API levels only)"}},{"name":"isVirtual","in":"query","required":false,"description":"True = return only virtual schools, False = return only non-virtual schools (optional) (Pro, Enterprise API levels only)","schema":{"type":"boolean","description":"True = return only virtual schools, False = return only non-virtual schools (optional) (Pro, Enterprise API levels only)"}},{"name":"isTitleI","in":"query","required":false,"description":"True = return only Title I schools, False = return only non-Title I schools (optional) (Pro, Enterprise API levels only)","schema":{"type":"boolean","description":"True = return only Title I schools, False = return only non-Title I schools (optional) (Pro, Enterprise API levels only)"}},{"name":"isTitleISchoolwide","in":"query","required":false,"description":"True = return only Title I school-wide schools, False = return only non-Title I school-wide schools (optional) (Pro, Enterprise API levels…","schema":{"type":"boolean","description":"True = return only Title I school-wide schools, False = return only non-Title I school-wide schools (optional) (Pro, Enterprise API levels…"}},{"name":"nearLatitude","in":"query","required":false,"description":"Search for schools within (distanceMiles) of (nearLatitude)/(nearLongitude) (e.g. 44.982560) (optional) (Pro, Enterprise API levels only.)","schema":{"type":"number","description":"Search for schools within (distanceMiles) of (nearLatitude)/(nearLongitude) (e.g. 44.982560) (optional) (Pro, Enterprise API levels only.)"}},{"name":"nearLongitude","in":"query","required":false,"description":"Search for schools within (distanceMiles) of (nearLatitude)/(nearLongitude) (e.g. -124.289185) (optional) (Pro, Enterprise API levels only.)","schema":{"type":"number","description":"Search for schools within (distanceMiles) of (nearLatitude)/(nearLongitude) (e.g. -124.289185) (optional) (Pro, Enterprise API levels only.)"}},{"name":"nearAddress","in":"query","required":false,"description":"Search for schools within (distanceMiles) of this address. Example: '123 Main St. AnyTown CA 90001' (optional) (Pro, Enterprise API level…","schema":{"type":"string","description":"Search for schools within (distanceMiles) of this address. Example: '123 Main St. AnyTown CA 90001' (optional) (Pro, Enterprise API level…"}},{"name":"distanceMiles","in":"query","required":false,"description":"Search for schools within (distanceMiles) of (nearLatitude)/(nearLongitude) (Default 5 miles) (optional) (Pro, Enterprise API levels only)","schema":{"type":"integer","description":"Search for schools within (distanceMiles) of (nearLatitude)/(nearLongitude) (Default 5 miles) (optional) (Pro, Enterprise API levels only)"}},{"name":"boundaryLatitude","in":"query","required":false,"description":"Search for schools that include this (boundaryLatitude)/(boundaryLongitude) in its attendance boundary (e.g. 44.982560) (optional)…","schema":{"type":"number","description":"Search for schools that include this (boundaryLatitude)/(boundaryLongitude) in its attendance boundary (e.g. 44.982560) (optional)…"}},{"name":"boundaryLongitude","in":"query","required":false,"description":"Search for schools that include this (boundaryLatitude)/(boundaryLongitude) in its attendance boundary (e.g. -124.289185) (optional)…","schema":{"type":"number","description":"Search for schools that include this (boundaryLatitude)/(boundaryLongitude) in its attendance boundary (e.g. -124.289185) (optional)…"}},{"name":"boundaryAddress","in":"query","required":false,"description":"Full U.S. address: flag returned schools that include this address in its attendance boundary. Example: '123 Main St. AnyTown CA 90001'…","schema":{"type":"string","description":"Full U.S. address: flag returned schools that include this address in its attendance boundary. Example: '123 Main St. AnyTown CA 90001'…"}},{"name":"isInBoundaryOnly","in":"query","required":false,"description":"Return only the schools that include given location (boundaryLatitude/boundaryLongitude) or (boundaryAddress) in its attendance boundary…","schema":{"type":"boolean","description":"Return only the schools that include given location (boundaryLatitude/boundaryLongitude) or (boundaryAddress) in its attendance boundary…"}},{"name":"boxLatitudeNW","in":"query","required":false,"description":"Search for schools within a 'box' defined by (boxLatitudeNW/boxLongitudeNW) to (boxLongitudeSE/boxLatitudeSE) (optional)","schema":{"type":"number","description":"Search for schools within a 'box' defined by (boxLatitudeNW/boxLongitudeNW) to (boxLongitudeSE/boxLatitudeSE) (optional)"}},{"name":"boxLongitudeNW","in":"query","required":false,"description":"Search for schools within a 'box' defined by (boxLatitudeNW/boxLongitudeNW) to (boxLongitudeSE/boxLatitudeSE) (optional)","schema":{"type":"number","description":"Search for schools within a 'box' defined by (boxLatitudeNW/boxLongitudeNW) to (boxLongitudeSE/boxLatitudeSE) (optional)"}},{"name":"boxLatitudeSE","in":"query","required":false,"description":"Search for schools within a 'box' defined by (boxLatitudeNW/boxLongitudeNW) to (boxLongitudeSE/boxLatitudeSE) (optional)","schema":{"type":"number","description":"Search for schools within a 'box' defined by (boxLatitudeNW/boxLongitudeNW) to (boxLongitudeSE/boxLatitudeSE) (optional)"}},{"name":"boxLongitudeSE","in":"query","required":false,"description":"Search for schools within a 'box' defined by (boxLatitudeNW/boxLongitudeNW) to (boxLongitudeSE/boxLatitudeSE) (optional)","schema":{"type":"number","description":"Search for schools within a 'box' defined by (boxLatitudeNW/boxLongitudeNW) to (boxLongitudeSE/boxLatitudeSE) (optional)"}},{"name":"page","in":"query","required":false,"description":"Page number to retrieve (optional, default: 1)","schema":{"type":"integer","description":"Page number to retrieve (optional, default: 1)"}},{"name":"perPage","in":"query","required":false,"description":"Number of schools to retrieve on a page (50 max) (optional, default: 10)","schema":{"type":"integer","description":"Number of schools to retrieve on a page (50 max) (optional, default: 10)"}},{"name":"sortBy","in":"query","required":false,"description":"Sort list. Values are: schoolname, distance, rank. For descending order, precede with '-' i.e. -schoolname (optional, default: schoolname)","schema":{"type":"string","description":"Sort list. Values are: schoolname, distance, rank. For descending order, precede with '-' i.e. -schoolname (optional, default: schoolname)"}},{"name":"includeUnrankedSchoolsInRankSort","in":"query","required":false,"description":"If sortBy is 'rank', this boolean determines if schools with no rank are included in the result (optional, default: false)","schema":{"type":"boolean","description":"If sortBy is 'rank', this boolean determines if schools with no rank are included in the result (optional, default: false)"}},{"name":"appID","in":"query","required":true,"description":"Your API app id","schema":{"type":"string","description":"Your API app id"}},{"name":"appKey","in":"query","required":true,"description":"Your API app key","schema":{"type":"string","description":"Your API app key"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:schooldigger/schools-get-school20":{"get":{"operationId":"open_data_schooldigger_schools_get_school20","summary":"Returns a detailed record for one school","description":"GET /v2.0/schools/{id}","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"description":"The 12 digit School ID (e.g. 064215006903)","schema":{"type":"string","description":"The 12 digit School ID (e.g. 064215006903)"}},{"name":"appID","in":"query","required":true,"description":"Your API app id","schema":{"type":"string","description":"Your API app id"}},{"name":"appKey","in":"query","required":true,"description":"Your API app key","schema":{"type":"string","description":"Your API app key"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}