Lease Field Selector
AI Agent Instructions
Use this Classifier via the SuperClassify API from server code, not browser playground automation. Convert the lease to ordered text, preserving section and page references. Select rent, deposit and dates from that same string, then map returned spans back to the document. Keep recurring rent separate from deposits and conditional charges. Normalize dates in code and require review of ambiguous amendments before populating a lease register. Class: superclassify/lease-field-selector@1.0.0 Fetch setup as text: https://superclassify.com/skills/superclassify/SKILL.md Contract (JSON): https://superclassify.com/v1/resolve?ref=superclassify%2Flease-field-selector%401.0.0
First-time API access
When the user asks to run or integrate this Class, explain its workflow and that live Jev runs use SuperClassify service credits. Public card descriptions can be read without an account. Reuse an existing account, credit balance and API key when available. Otherwise, guide the user through the official setup links below. The user completes sign-in and any credit purchase on the website, then saves the API key in their application’s server secrets as SUPERCLASSIFY_API_KEY—not in chat. A separate TypeSafe account or Jev key is not required for the SuperClassify API. Reading a link does not authorize a purchase or paid run.
Separates rent, deposit and lease dates from other amounts and dates.
superclassify/lease-field-selector@1.0.0
Input
Send one raw text string.
Outputs
- deposit (choice): ambiguous, candidate_missing, not_found
- end_date (choice): ambiguous, candidate_missing, not_found
- start_date (choice): ambiguous, candidate_missing, not_found
- monthly_rent (choice): ambiguous, candidate_missing, not_found
Examples
Amounts have different roles
Lease signed 1 October 2026. Term starts 15 October 2026 and ends 14 October 2027. Monthly rent SGD 2,400; tenancy deposit SGD 4,800; utilities estimate SGD 100.
Author expectation: {"deposit":"SGD 4,800","end_date":"14 October 2027","start_date":"15 October 2026","monthly_rent":"SGD 2,400"}
Deposit absent
Term: 1 January 2027 to 31 December 2027. Monthly rent USD 900. The deposit has not been specified.
Author expectation: {"deposit":null,"end_date":"31 December 2027","start_date":"1 January 2027","monthly_rent":"USD 900"}
Renewal not current term
Current lease starts 1 March 2026 and ends 28 February 2027. A possible renewal would end 29 February 2028. Monthly rent SGD 1,800 and deposit SGD 1,800.
Author expectation: {"deposit":"SGD 1,800","end_date":"28 February 2027","start_date":"1 March 2026","monthly_rent":"SGD 1,800"}