{"id":"ini-win-format","version":"1.0.0","description":"Format sections and keys into stable Windows initialization-file text.","supported_operations":["format windows initialization profile","write private profile section text","canonical windows profile document","stable initialization file formatting","render profile sections and keys","serialize windows profile without quotes","emit lf private profile lines","format preference section profile text"],"unsupported_operations":["look up a key in existing profile text","keep enclosing quotation marks","emit CRLF or a byte order mark"],"semantics":["Grammar getprivateprofilestring-pinned-1. Sections are emitted in caller order as [name] and a LF. Each key is name=value and a LF. No blank line, no space around =, and no added quotes.","Names and values are not trimmed. Leading or trailing U+0020 or U+0009 on a name is padded_name. A trailing U+0020 on a value is trailing_blank. A value enclosed in one pair of ASCII quotes is enclosed_quotes, because retrieval would discard those marks.","ASCII A-Z duplicates of a section or of a key inside one section are rejected. A bracket in a section name, or = or a bracket in a key name, is rejected. C0 controls other than U+0009, and U+007F, are rejected. U+0009 may appear inside a value or a name.","bytes is the UTF-8 length of text. The same model always produces the same bytes. Limits are enforced on the model and on the JSON result."],"limits":{"max_input_bytes":4096,"max_sections":32,"max_keys":128,"max_name_chars":64,"max_value_chars":512,"max_output_bytes":6000,"max_depth":8,"max_nodes":1024},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["sections"],"properties":{"sections":{"type":"array","maxItems":32,"items":{"type":"object","additionalProperties":false,"required":["name","keys"],"properties":{"name":{"type":"string","minLength":1,"maxLength":64},"keys":{"type":"array","maxItems":128,"items":{"type":"object","additionalProperties":false,"required":["name","value"],"properties":{"name":{"type":"string","minLength":1,"maxLength":64},"value":{"type":"string","maxLength":512}}}}}}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["grammar","text","section_count","key_count","bytes"],"properties":{"grammar":{"type":"string","const":"getprivateprofilestring-pinned-1"},"text":{"type":"string","maxLength":8192},"section_count":{"type":"integer","minimum":0,"maximum":32},"key_count":{"type":"integer","minimum":0,"maximum":128},"bytes":{"type":"integer","minimum":0,"maximum":8192}}},"examples":[{"input":{"sections":[{"name":"section","keys":[{"name":"key","value":"string"}]}]},"output":{"grammar":"getprivateprofilestring-pinned-1","text":"[section]\nkey=string\n","section_count":1,"key_count":1,"bytes":21}},{"input":{"sections":[{"name":"Preference","keys":[{"name":"Preferred Line","value":"string"}]}]},"output":{"grammar":"getprivateprofilestring-pinned-1","text":"[Preference]\nPreferred Line=string\n","section_count":1,"key_count":1,"bytes":35}},{"input":{"sections":[{"name":"Section","keys":[{"name":"Key","value":"String"}]}]},"output":{"grammar":"getprivateprofilestring-pinned-1","text":"[Section]\nKey=String\n","section_count":1,"key_count":1,"bytes":21}}],"execute_url":"/v1/tools/ini-win-format/versions/1.0.0/execute"}