{"id":"ipv6-parse","version":"1.0.0","description":"Parse an IPv6 address (any RFC 4291 textual form) into its 8 hextets and a 128-bit integer string.","supported_operations":["ipv6 parse","parse ipv6 address","ipv6 to hextets and integer"],"unsupported_operations":["CIDR prefixes","zone/scope IDs (e.g. %eth0)","hostnames"],"semantics":["address accepts any RFC 4291 textual form: 1-4 hex digits per group (either case, leading zeros within a group allowed), at most one \"::\" run-of-zeros compression, and an optional trailing embedded canonical dotted-decimal IPv4 suffix (e.g. \"::ffff:192.168.1.1\").","hextets is the 8 JSON integers 0-65535 in left-to-right group order (embedded IPv4, if present, is split into its final two hextets).","integer is the canonical decimal string of the 128-bit value hextets[0]*2^112 + ... + hextets[7], in 0..340282366920938463463374607431768211455.","Output is independent of input case/compression/zero-padding style; ipv6-format inverts hextets or integer back to the RFC 5952 canonical string."],"limits":{"max_address_length":45,"integer_max":"340282366920938463463374607431768211455"},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["address"],"properties":{"address":{"type":"string","maxLength":45}}},"output_schema":{"type":"object","additionalProperties":false,"required":["hextets","integer"],"properties":{"hextets":{"type":"array","minItems":8,"maxItems":8,"items":{"type":"integer","minimum":0,"maximum":65535}},"integer":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":39}}},"examples":[{"input":{"address":"2001:db8::1"},"output":{"hextets":[8193,3512,0,0,0,0,0,1],"integer":"42540766411282592856903984951653826561"}}],"execute_url":"/v1/tools/ipv6-parse/versions/1.0.0/execute"}