{"id":"hebrew-civil-date-convert","version":"1.0.0","description":"Convert dates between proleptic Gregorian calendar and civil Hebrew calendar","supported_operations":["convert Gregorian date to Hebrew civil date","convert Hebrew date to Gregorian date","lookup civil Hebrew day and month from Gregorian YYYY-MM-DD","batch convert civil dates between Gregorian and Hebrew calendars","translate modern historical Gregorian dates to Hebrew civil calendar","determine Hebrew date corresponding to Gregorian civil date","המרת תאריך אזרחי לתאריך עברי"],"unsupported_operations":["religious sunset date conversion","holiday or liturgy scheduling","Jerusalem local time calculations","pre-1583 dates conversion"],"semantics":["Own enumerable data properties only, Object.prototype or null prototype objects and dense ordinary arrays with standard length. Reject getters/setters/symbol/extra/nonenumerable fields, cyclic structures and non-JSON values without invoking them. Generic data-tree limit4096 nodes/depth8. No callbacks/toJSON.","No coercion; all contract integer fields must be Number.isSafeInteger, nonnegative/positive by field, reject -0.","UTF8 JSON.stringify compact data representation, no added LF; at most16384 bytes. Whitespace on an outer transport body is outside this native-object cap.","Safe JSON-data shape/node/depth and compact byte budget first.","Exact allowed object keys/types/enums and declared collection/year/span caps second.","Calendar validity/range then policy resolution; first failing input in array/year order.","Compute whole result privately, check compact UTF8 JSON.stringify result<=65536, then return whole result.","UTC midnight-to-midnight civil date labels, including Gregorian days paired to Hebrew day labels. This is not a statement about when a Jewish religious day starts. No Jerusalem/location/sunset/holiday rules, timezone, Julian/reform switch, timestamp, religious opinion or locale defaults. No optional field silently enables them.","Only exact uppercase codes; no numeric month, ADAR1/ADAR2/ADAR_1, transliteration variants, localized names, case folding or whitespace normalization.","Fixed public .NET commit dotnet-runtime:60685192899cbd2f47534e17dc2861bfd7cb77b9; every result includes exactly that data_version.","Strict factory JSON Schema subset; no $schema, format, $ref or undeclared keywords.","No implicit policy defaults, coercion or input mutation; validate the entire request before returning any result.","Errors omit details: invalid_input/400/Invalid input; limit_exceeded/413/Input limit exceeded or Output limit exceeded; unknown direction/grain string uses unsupported_input/422/Unsupported input under Root prospective resolution.","Strict ASCII YYYY-MM-DD string, real Gregorian civil date. No surrounding space/time/offset/era; range1583-01-01..2239-09-29 inclusive.","Object exactly{year,month_code,day}. year safe integer5343..5999; day safe integer1..30 valid for the specified month/year. ADAR only common years; ADAR_I/ADAR_II only leap. Resulting civil date within Gregorian bound. Reject -0, strings as numbers, fraction/unsafe integer.","Array1..128. Strict Gregorian strings in first direction; strict Hebrew objects in second. Preserve duplicates/order.","One row per input exactly{gregorian,hebrew}; hebrew exactly{year,month_code,day}. No weekdays/locale strings."],"limits":{"input_utf8":16384,"output_utf8":65536,"data_nodes":4096,"data_depth":8,"conversion_items":128},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["direction","dates"],"properties":{"direction":{"type":"string","enum":["gregorian_to_hebrew","hebrew_to_gregorian"]},"dates":{"type":"array","items":{"oneOf":[{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","minLength":10,"maxLength":10},{"type":"object","additionalProperties":false,"required":["year","month_code","day"],"properties":{"year":{"type":"integer","minimum":5343,"maximum":5999},"month_code":{"type":"string","enum":["TISHRI","HESHVAN","KISLEV","TEVET","SHEVAT","ADAR","ADAR_I","ADAR_II","NISAN","IYAR","SIVAN","TAMMUZ","AV","ELUL"]},"day":{"type":"integer","minimum":1,"maximum":30}}}]},"minItems":1,"maxItems":128}},"oneOf":[{"type":"object","additionalProperties":false,"required":["direction","dates"],"properties":{"direction":{"type":"string","const":"gregorian_to_hebrew"},"dates":{"type":"array","items":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","minLength":10,"maxLength":10},"minItems":1,"maxItems":128}}},{"type":"object","additionalProperties":false,"required":["direction","dates"],"properties":{"direction":{"type":"string","const":"hebrew_to_gregorian"},"dates":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["year","month_code","day"],"properties":{"year":{"type":"integer","minimum":5343,"maximum":5999},"month_code":{"type":"string","enum":["TISHRI","HESHVAN","KISLEV","TEVET","SHEVAT","ADAR","ADAR_I","ADAR_II","NISAN","IYAR","SIVAN","TAMMUZ","AV","ELUL"]},"day":{"type":"integer","minimum":1,"maximum":30}}},"minItems":1,"maxItems":128}}}]},"output_schema":{"type":"object","additionalProperties":false,"required":["dates","data_version"],"properties":{"dates":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["gregorian","hebrew"],"properties":{"gregorian":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","minLength":10,"maxLength":10},"hebrew":{"type":"object","additionalProperties":false,"required":["year","month_code","day"],"properties":{"year":{"type":"integer","minimum":5343,"maximum":5999},"month_code":{"type":"string","enum":["TISHRI","HESHVAN","KISLEV","TEVET","SHEVAT","ADAR","ADAR_I","ADAR_II","NISAN","IYAR","SIVAN","TAMMUZ","AV","ELUL"]},"day":{"type":"integer","minimum":1,"maximum":30}}}}},"minItems":1,"maxItems":128},"data_version":{"type":"string","const":"dotnet-runtime:60685192899cbd2f47534e17dc2861bfd7cb77b9"}}},"examples":[{"input":{"direction":"gregorian_to_hebrew","dates":["1583-01-01","2239-09-29","2001-01-01","2012-01-01","2011-02-05"]},"output":{"data_version":"dotnet-runtime:60685192899cbd2f47534e17dc2861bfd7cb77b9","dates":[{"gregorian":"1583-01-01","hebrew":{"year":5343,"month_code":"TEVET","day":7}},{"gregorian":"2239-09-29","hebrew":{"year":5999,"month_code":"ELUL","day":29}},{"gregorian":"2001-01-01","hebrew":{"year":5761,"month_code":"TEVET","day":6}},{"gregorian":"2012-01-01","hebrew":{"year":5772,"month_code":"TEVET","day":6}},{"gregorian":"2011-02-05","hebrew":{"year":5771,"month_code":"ADAR_I","day":1}}]}},{"input":{"direction":"hebrew_to_gregorian","dates":[{"year":5343,"month_code":"TEVET","day":7},{"year":5999,"month_code":"ELUL","day":29},{"year":5761,"month_code":"TEVET","day":6},{"year":5772,"month_code":"TEVET","day":6},{"year":5771,"month_code":"ADAR_I","day":1}]},"output":{"data_version":"dotnet-runtime:60685192899cbd2f47534e17dc2861bfd7cb77b9","dates":[{"gregorian":"1583-01-01","hebrew":{"year":5343,"month_code":"TEVET","day":7}},{"gregorian":"2239-09-29","hebrew":{"year":5999,"month_code":"ELUL","day":29}},{"gregorian":"2001-01-01","hebrew":{"year":5761,"month_code":"TEVET","day":6}},{"gregorian":"2012-01-01","hebrew":{"year":5772,"month_code":"TEVET","day":6}},{"gregorian":"2011-02-05","hebrew":{"year":5771,"month_code":"ADAR_I","day":1}}]}}],"execute_url":"/v1/tools/hebrew-civil-date-convert/versions/1.0.0/execute"}