{"schemaVersion":1,"marketplaceUrl":"https://altss.com/console/capabilities","capability":{"id":"real_estate.violations","workspacePath":"/console/playground/new?capability=real_estate.violations","aliases":[],"version":1,"title":"NYC housing code violations","description":"Get up to 25 published housing maintenance code violations for one NYC tax lot, with inspection dates and the latest reported status.","family":"research","status":"AVAILABLE","inputSchema":{"type":"object","properties":{"bbl":{"type":"string","pattern":"^[1-5]\\d{9}$"}},"required":["bbl"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"bbl":{"type":"string","pattern":"^[1-5]\\d{9}$"},"source":{"type":"object","properties":{"dataset":{"type":"string","pattern":"^[a-z0-9]{4}-[a-z0-9]{4}$"},"publisher":{"type":"string","minLength":1,"maxLength":120},"url":{"type":"string","format":"uri"},"retrievedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"responseSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["dataset","publisher","url","retrievedAt","responseSha256"],"additionalProperties":false},"kind":{"type":"string","enum":["NYC_HOUSING_VIOLATIONS"]},"violations":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"object","properties":{"violationId":{"type":"string","pattern":"^[0-9]{1,20}$"},"classification":{"type":"string","minLength":1,"maxLength":20},"inspectionDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"status":{"type":"string","minLength":1,"maxLength":100},"statusDate":{"nullable":true,"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"openClosed":{"type":"string","minLength":1,"maxLength":20}},"required":["violationId","classification","inspectionDate","status","statusDate","openClosed"],"additionalProperties":false}}},"required":["bbl","source","kind","violations"],"additionalProperties":false},"pricing":{"model":"FIXED_PER_ACCEPTED_EXECUTION","amountMinor":10,"currency":"USD","priceVersion":"2026-11-20.state-records.v1","unit":"accepted_execution"},"limits":{"timeoutMs":20000,"maxResultBytes":32000,"maxEvidenceItems":1,"perKeyPerMinute":30,"perKeyPerDay":1000},"scopes":["company.read"],"protocols":["rest","mcp"],"idempotency":{"required":true,"header":"Idempotency-Key"},"provenance":{"sourceCategory":"public_property_register"}}}