@devries-cameron20 / composio-1 / commits / 3dd9a2c52
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix(core): strip string formats strict mode rejects (#4936)

## Summary OpenAI structured outputs rejects a strict tool whose string schema carries a `format` outside its accepted list, and the 400 fails the whole request, not just that tool. The strict rewrite (`toStrictJsonSchema` in TypeScript, `to_strict_json_schema` in Python) kept every `format`. So any strict request (OpenAI Responses, OpenAI Agents, Vercel, Mastra in strict mode) that included one of these tools failed: - GitHub tools with `format: "uri"` or a custom `format: "repo.nwo"`, for example `GITHUB_CREATE_A_PULL_REQUEST`. - Any file-uploadable parameter, which gets `format: "path"` when auto upload is enabled. This is the first step of https://github.com/ComposioHQ/composio/issues/4911. Once the `/v4` builder from https://github.com/ComposioHQ/composio/pull/4919 is adopted, source `format` values will reach more requests, so the strict rewrite has to filter them first. Designated PR reviewer: [@jkomyno](mailto:alberto@composio.dev). Part of https://github.com/ComposioHQ/composio/issues/4911 ## Changes - Both strict normalizers strip `format` from a schema that admits strings (`type: "string"`, a type array containing `"string"`, or no `type`) unless it is one of `date-time`, `time`, `date`, `duration`, `email`, `hostname`, `ipv4`, `ipv6`, `uuid`. Each removal is recorded as an `unsupported-keyword-stripped` change. - Formats on number and integer schemas (`int64`, `double`, …) are kept, because the API does not check them. - A property named `format` is untouched; only the keyword is. - `contentEncoding` and `contentMediaType` are left in place: the API accepts both in strict mode. - New shared strict corpus case `string-format-outside-accepted-list-stripped`, regenerated into both language copies. - Changeset: `@composio/core` patch. The Python change ships with the Python SDK. ## Type of change - [x] Bug fix - [ ] New feature - [ ] Refactor/Chore - [ ] Documentation - [ ] Breaking change ## How Has This Been Tested? - **API contract, probed with strict functions on Chat Completions (gpt-5-mini), one property per request:** - HTTP 400 `'<value>' is not a valid format` for `uri`, `path`, `repo.nwo`, `binary`, `DATE-TIME` (the list is case-sensitive), and for `uri` inside `items`, an `anyOf` branch, and `type: ["string", "null"]`. - HTTP 200 for each of the nine accepted string formats; `int32`, `int64`, `double`, `float`, `foo`, and `uri` on integer or number schemas; `contentEncoding: "base64"`; and `contentMediaType: "image/png"`. - **After the fix:** the strict schemas of the six corpus tools that carried `uri` or `repo.nwo`, plus a `format: "path"` parameter, return HTTP 200. - **Local test runs:** - core: 1883 passed, 2 expected fail. - openai 37, openai-agents 19, vercel 15, mastra 63 passed. - Python: 2322 passed, 108 skipped. - core typecheck, eslint, prettier, ruff, and changeset validation all pass. ## Checklist - [ ] I have read the Code of Conduct and this PR adheres to it - [ ] I have read and understand every line of this diff, including any LLM-generated code - [x] Any third-party docs links or promotional content follow the [third-party links policy](https://github.com/ComposioHQ/composio/blob/next/CONTRIBUTING.md#third-party-links-in-docs) - [x] I ran linters/tests locally and they passed - [x] I updated documentation as needed - [x] I added tests or explain why not applicable - [x] I added a changeset if this change affects published packages ## Additional context `openai/lib/transform`'s `toStrictJsonSchema` throws on `contentEncoding`, but no Composio provider routes schemas through it, so this PR keeps those keywords.

Alberto Schiabel committed Oct 17, 2026 at 00:10 UTC 3dd9a2c526b6d2a89a8fb80173f1ded9b94d61cd
7 files changed +793 -3
.changeset/strict-string-formats.md new
+7
@@ -0,0 +1,7 @@
1 +---
2 +'@composio/core': patch
3 +---
4 +
5 +Strip string `format` values that OpenAI structured outputs rejects from strict tool schemas
6 +
7 +`toStrictJsonSchema` now removes a `format` on a string schema unless it is one of `date-time`, `time`, `date`, `duration`, `email`, `hostname`, `ipv4`, `ipv6`, or `uuid`. OpenAI rejects any other string format in strict mode with a 400 for the whole request, so a single tool with `format: "uri"`, a custom format such as `repo.nwo`, or the `format: "path"` that file uploads add made every strict request fail. The removal is reported as an `unsupported-keyword-stripped` change. Formats on number and integer schemas are kept, since the API does not check them.
python/composio/utils/strict_schema.py
+38 -1
@@ -4,7 +4,8 @@ Python counterpart of the TypeScript SDK's ``toStrictJsonSchema``
4 (``ts/packages/core/src/utils/jsonSchema.ts``). OpenAI's structured-output
5 contract requires *every* object node — not just the root — to list all of its
6 properties in ``required``, set ``additionalProperties: False`` and avoid
7 -annotation-only keywords. Optional fields are emulated the way OpenAI
7 +annotation-only keywords, including a string ``format`` outside the accepted
8 +list. Optional fields are emulated the way OpenAI
9 documents: the property stays, becomes required, and is widened to accept
10 ``null`` (``"type": ["string", "null"]`` or an extra ``anyOf`` branch). Nothing
11 is dropped, so the model keeps every parameter it could pass before; the strict
@@ -41,6 +42,23 @@ MAX_NULL_CHECK_NODES = 2_000
42 # Annotation-only keywords OpenAI structured outputs rejects; safe to strip.
43 STRICT_STRIP_KEYWORDS = frozenset({"examples", "default"})
44
45 +# The `format` values OpenAI structured outputs accepts on a string schema,
46 +# matched case-sensitively; any other value there is rejected with a 400.
47 +# Formats on number and integer schemas are not checked.
48 +STRICT_STRING_FORMATS = frozenset(
49 + {
50 + "date-time",
51 + "time",
52 + "date",
53 + "duration",
54 + "email",
55 + "hostname",
56 + "ipv4",
57 + "ipv6",
58 + "uuid",
59 + }
60 +)
61 +
62 # Keywords whose values are literal data, not schemas - never recursed as schemas.
63 INSTANCE_VALUE_KEYWORDS = frozenset({"const", "default", "enum", "examples"})
64
@@ -128,6 +146,15 @@ def _join_path(parent: str, key: str) -> str:
146 return f"{parent}.{key}" if parent else key
147
148
149 +def _admits_string(type_: t.Any) -> bool:
150 + """Whether a `type` value admits strings; an absent `type` admits every type."""
151 + return (
152 + type_ is None
153 + or type_ == "string"
154 + or (isinstance(type_, list) and "string" in type_)
155 + )
156 +
157 +
158 # The only keywords that can reject a ``null`` instance; every other keyword
159 # constrains strings, numbers, arrays or objects and ignores ``null``.
160 NULL_CONSTRAINT_KEYWORDS = (
@@ -426,6 +453,16 @@ class _Walker:
453 path, "unsupported-keyword-stripped", f'keyword "{key}" removed'
454 )
455 continue
456 + if (
457 + key == "format"
458 + and isinstance(child, str)
459 + and child not in STRICT_STRING_FORMATS
460 + and _admits_string(value.get("type"))
461 + ):
462 + self.record(
463 + path, "unsupported-keyword-stripped", f'format "{child}" removed'
464 + )
465 + continue
466 node[key] = child
467 if isinstance(node.get("oneOf"), list) and "anyOf" not in node:
468 node["anyOf"] = node.pop("oneOf")
python/tests/fixtures/json-schema-conversion/strict-cases.json
+207
@@ -745,6 +745,213 @@
745 }
746 ]
747 },
748 + {
749 + "id": "string-format-outside-accepted-list-stripped",
750 + "description": "A string `format` the API rejects is stripped and reported, including on a schema without `type` and for an accepted value in the wrong case; formats on numbers and a property named `format` stay.",
751 + "schema": {
752 + "type": "object",
753 + "properties": {
754 + "url": {
755 + "type": "string",
756 + "format": "uri"
757 + },
758 + "file": {
759 + "type": ["string", "null"],
760 + "format": "path"
761 + },
762 + "repos": {
763 + "type": "array",
764 + "items": {
765 + "type": "string",
766 + "format": "repo.nwo"
767 + }
768 + },
769 + "untyped": {
770 + "format": "uri"
771 + },
772 + "shouted": {
773 + "type": "string",
774 + "format": "DATE-TIME"
775 + },
776 + "count": {
777 + "type": "integer",
778 + "format": "int64"
779 + },
780 + "format": {
781 + "type": "string",
782 + "enum": ["json", "csv"]
783 + }
784 + },
785 + "required": ["url", "file", "repos", "untyped", "shouted", "count", "format"]
786 + },
787 + "strict": {
788 + "schema": {
789 + "type": "object",
790 + "properties": {
791 + "url": {
792 + "type": "string"
793 + },
794 + "file": {
795 + "type": ["string", "null"]
796 + },
797 + "repos": {
798 + "type": "array",
799 + "items": {
800 + "type": "string"
801 + }
802 + },
803 + "untyped": {},
804 + "shouted": {
805 + "type": "string"
806 + },
807 + "count": {
808 + "type": "integer",
809 + "format": "int64"
810 + },
811 + "format": {
812 + "type": "string",
813 + "enum": ["json", "csv"]
814 + }
815 + },
816 + "required": ["url", "file", "repos", "untyped", "shouted", "count", "format"],
817 + "additionalProperties": false
818 + }
819 + },
820 + "changes": [
821 + {
822 + "path": "properties.url",
823 + "reason": "unsupported-keyword-stripped"
824 + },
825 + {
826 + "path": "properties.file",
827 + "reason": "unsupported-keyword-stripped"
828 + },
829 + {
830 + "path": "properties.repos.items",
831 + "reason": "unsupported-keyword-stripped"
832 + },
833 + {
834 + "path": "properties.untyped",
835 + "reason": "unsupported-keyword-stripped"
836 + },
837 + {
838 + "path": "properties.shouted",
839 + "reason": "unsupported-keyword-stripped"
840 + }
841 + ]
842 + },
843 + {
844 + "id": "accepted-string-formats-kept",
845 + "description": "Every string `format` the API accepts is kept unchanged.",
846 + "schema": {
847 + "type": "object",
848 + "properties": {
849 + "date-time": {
850 + "type": "string",
851 + "format": "date-time"
852 + },
853 + "time": {
854 + "type": "string",
855 + "format": "time"
856 + },
857 + "date": {
858 + "type": "string",
859 + "format": "date"
860 + },
861 + "duration": {
862 + "type": "string",
863 + "format": "duration"
864 + },
865 + "email": {
866 + "type": "string",
867 + "format": "email"
868 + },
869 + "hostname": {
870 + "type": "string",
871 + "format": "hostname"
872 + },
873 + "ipv4": {
874 + "type": "string",
875 + "format": "ipv4"
876 + },
877 + "ipv6": {
878 + "type": "string",
879 + "format": "ipv6"
880 + },
881 + "uuid": {
882 + "type": "string",
883 + "format": "uuid"
884 + }
885 + },
886 + "required": [
887 + "date-time",
888 + "time",
889 + "date",
890 + "duration",
891 + "email",
892 + "hostname",
893 + "ipv4",
894 + "ipv6",
895 + "uuid"
896 + ],
897 + "additionalProperties": false
898 + },
899 + "strict": {
900 + "schema": {
901 + "type": "object",
902 + "properties": {
903 + "date-time": {
904 + "type": "string",
905 + "format": "date-time"
906 + },
907 + "time": {
908 + "type": "string",
909 + "format": "time"
910 + },
911 + "date": {
912 + "type": "string",
913 + "format": "date"
914 + },
915 + "duration": {
916 + "type": "string",
917 + "format": "duration"
918 + },
919 + "email": {
920 + "type": "string",
921 + "format": "email"
922 + },
923 + "hostname": {
924 + "type": "string",
925 + "format": "hostname"
926 + },
927 + "ipv4": {
928 + "type": "string",
929 + "format": "ipv4"
930 + },
931 + "ipv6": {
932 + "type": "string",
933 + "format": "ipv6"
934 + },
935 + "uuid": {
936 + "type": "string",
937 + "format": "uuid"
938 + }
939 + },
940 + "required": [
941 + "date-time",
942 + "time",
943 + "date",
944 + "duration",
945 + "email",
946 + "hostname",
947 + "ipv4",
948 + "ipv6",
949 + "uuid"
950 + ],
951 + "additionalProperties": false
952 + }
953 + }
954 + },
955 {
956 "id": "enum-values-are-data-not-keywords",
957 "description": "Keys inside enum/const values are data and must not be treated as keywords.",
ts/packages/core/src/utils/jsonSchema.ts
+38 -2
@@ -515,7 +515,8 @@ export function jsonSchemaToZodSchema<T extends z.ZodTypeAny>(
515 * added to it and widened to accept `null`, the emulation of optional
516 * fields that OpenAI structured outputs document.
517 * - `unsupported-keyword-stripped` — an annotation keyword the API rejects
518 - * (`default`, `examples`) was removed.
518 + * (`default`, `examples`, or a string `format` outside the accepted list)
519 + * was removed.
520 * - `one-of-converted` — `oneOf` (unsupported) became `anyOf`.
521 */
522 export type StrictSchemaChangeReason =
@@ -567,6 +568,27 @@ const MAX_STRICT_CHANGES = 50;
568 /** Annotation-only keywords OpenAI structured outputs rejects; safe to strip. */
569 const STRICT_STRIP_KEYWORDS = new Set(['examples', 'default']);
570
571 +/**
572 + * The `format` values OpenAI structured outputs accepts on a string schema,
573 + * matched case-sensitively; any other value there is rejected with a 400.
574 + * Formats on number and integer schemas are not checked.
575 + */
576 +const STRICT_STRING_FORMATS = new Set([
577 + 'date-time',
578 + 'time',
579 + 'date',
580 + 'duration',
581 + 'email',
582 + 'hostname',
583 + 'ipv4',
584 + 'ipv6',
585 + 'uuid',
586 +]);
587 +
588 +/** Whether a `type` value admits strings; an absent `type` admits every type. */
589 +const admitsString = (type: unknown): boolean =>
590 + type === undefined || type === 'string' || (Array.isArray(type) && type.includes('string'));
591 +
592 /** Keywords OpenAI structured outputs reject and that have no lossless rewrite. */
593 const STRICT_UNSUPPORTED_KEYWORDS = [
594 'allOf',
@@ -811,7 +833,8 @@ function createNullCheck(
833 * sends for such a property means "omitted"; the strict providers drop it
834 * before executing the tool (see {@link omitNullToolArguments});
835 * - `type` arrays are kept as-is (the API accepts them); `oneOf` becomes
814 - * `anyOf`; `default` and `examples` are stripped;
836 + * `anyOf`; `default`, `examples`, and a string `format` the API does
837 + * not accept are stripped;
838 * - local `$ref`s into `$defs`/`definitions` are kept (the API supports
839 * them, including recursion) and the definitions themselves are
840 * normalized; an optional `$ref` property is widened with an `anyOf`
@@ -900,6 +923,19 @@ export function toStrictJsonSchema(schema: unknown): StrictJsonSchemaResult {
923 });
924 continue;
925 }
926 + if (
927 + key === 'format' &&
928 + typeof child === 'string' &&
929 + !STRICT_STRING_FORMATS.has(child) &&
930 + admitsString(value.type)
931 + ) {
932 + recordChange({
933 + path,
934 + reason: 'unsupported-keyword-stripped',
935 + detail: `format "${child}" removed`,
936 + });
937 + continue;
938 + }
939 setOwn(node, key, child);
940 }
941 if (Array.isArray(node.oneOf) && node.anyOf === undefined) {
ts/packages/core/test/fixtures/json-schema-conversion/generate-strict-cases.mjs
+29
@@ -125,6 +125,35 @@ const cases = [
125 'Annotation keywords the API rejects are stripped and reported.',
126 obj({ name: { type: 'string', examples: ['a'], default: 'x' } }, ['name']),
127 ],
128 + [
129 + 'string-format-outside-accepted-list-stripped',
130 + 'A string `format` the API rejects is stripped and reported, including on a schema without `type` and for an accepted value in the wrong case; formats on numbers and a property named `format` stay.',
131 + obj(
132 + {
133 + url: { type: 'string', format: 'uri' },
134 + file: { type: ['string', 'null'], format: 'path' },
135 + repos: { type: 'array', items: { type: 'string', format: 'repo.nwo' } },
136 + untyped: { format: 'uri' },
137 + shouted: { type: 'string', format: 'DATE-TIME' },
138 + count: { type: 'integer', format: 'int64' },
139 + format: { type: 'string', enum: ['json', 'csv'] },
140 + },
141 + ['url', 'file', 'repos', 'untyped', 'shouted', 'count', 'format']
142 + ),
143 + ],
144 + [
145 + 'accepted-string-formats-kept',
146 + 'Every string `format` the API accepts is kept unchanged.',
147 + obj(
148 + Object.fromEntries(
149 + ['date-time', 'time', 'date', 'duration', 'email', 'hostname', 'ipv4', 'ipv6', 'uuid'].map(
150 + format => [format, { type: 'string', format }]
151 + )
152 + ),
153 + ['date-time', 'time', 'date', 'duration', 'email', 'hostname', 'ipv4', 'ipv6', 'uuid'],
154 + { additionalProperties: false }
155 + ),
156 + ],
157 [
158 'enum-values-are-data-not-keywords',
159 'Keys inside enum/const values are data and must not be treated as keywords.',
ts/packages/core/test/fixtures/json-schema-conversion/strict-cases.json
+207
@@ -745,6 +745,213 @@
745 }
746 ]
747 },
748 + {
749 + "id": "string-format-outside-accepted-list-stripped",
750 + "description": "A string `format` the API rejects is stripped and reported, including on a schema without `type` and for an accepted value in the wrong case; formats on numbers and a property named `format` stay.",
751 + "schema": {
752 + "type": "object",
753 + "properties": {
754 + "url": {
755 + "type": "string",
756 + "format": "uri"
757 + },
758 + "file": {
759 + "type": ["string", "null"],
760 + "format": "path"
761 + },
762 + "repos": {
763 + "type": "array",
764 + "items": {
765 + "type": "string",
766 + "format": "repo.nwo"
767 + }
768 + },
769 + "untyped": {
770 + "format": "uri"
771 + },
772 + "shouted": {
773 + "type": "string",
774 + "format": "DATE-TIME"
775 + },
776 + "count": {
777 + "type": "integer",
778 + "format": "int64"
779 + },
780 + "format": {
781 + "type": "string",
782 + "enum": ["json", "csv"]
783 + }
784 + },
785 + "required": ["url", "file", "repos", "untyped", "shouted", "count", "format"]
786 + },
787 + "strict": {
788 + "schema": {
789 + "type": "object",
790 + "properties": {
791 + "url": {
792 + "type": "string"
793 + },
794 + "file": {
795 + "type": ["string", "null"]
796 + },
797 + "repos": {
798 + "type": "array",
799 + "items": {
800 + "type": "string"
801 + }
802 + },
803 + "untyped": {},
804 + "shouted": {
805 + "type": "string"
806 + },
807 + "count": {
808 + "type": "integer",
809 + "format": "int64"
810 + },
811 + "format": {
812 + "type": "string",
813 + "enum": ["json", "csv"]
814 + }
815 + },
816 + "required": ["url", "file", "repos", "untyped", "shouted", "count", "format"],
817 + "additionalProperties": false
818 + }
819 + },
820 + "changes": [
821 + {
822 + "path": "properties.url",
823 + "reason": "unsupported-keyword-stripped"
824 + },
825 + {
826 + "path": "properties.file",
827 + "reason": "unsupported-keyword-stripped"
828 + },
829 + {
830 + "path": "properties.repos.items",
831 + "reason": "unsupported-keyword-stripped"
832 + },
833 + {
834 + "path": "properties.untyped",
835 + "reason": "unsupported-keyword-stripped"
836 + },
837 + {
838 + "path": "properties.shouted",
839 + "reason": "unsupported-keyword-stripped"
840 + }
841 + ]
842 + },
843 + {
844 + "id": "accepted-string-formats-kept",
845 + "description": "Every string `format` the API accepts is kept unchanged.",
846 + "schema": {
847 + "type": "object",
848 + "properties": {
849 + "date-time": {
850 + "type": "string",
851 + "format": "date-time"
852 + },
853 + "time": {
854 + "type": "string",
855 + "format": "time"
856 + },
857 + "date": {
858 + "type": "string",
859 + "format": "date"
860 + },
861 + "duration": {
862 + "type": "string",
863 + "format": "duration"
864 + },
865 + "email": {
866 + "type": "string",
867 + "format": "email"
868 + },
869 + "hostname": {
870 + "type": "string",
871 + "format": "hostname"
872 + },
873 + "ipv4": {
874 + "type": "string",
875 + "format": "ipv4"
876 + },
877 + "ipv6": {
878 + "type": "string",
879 + "format": "ipv6"
880 + },
881 + "uuid": {
882 + "type": "string",
883 + "format": "uuid"
884 + }
885 + },
886 + "required": [
887 + "date-time",
888 + "time",
889 + "date",
890 + "duration",
891 + "email",
892 + "hostname",
893 + "ipv4",
894 + "ipv6",
895 + "uuid"
896 + ],
897 + "additionalProperties": false
898 + },
899 + "strict": {
900 + "schema": {
901 + "type": "object",
902 + "properties": {
903 + "date-time": {
904 + "type": "string",
905 + "format": "date-time"
906 + },
907 + "time": {
908 + "type": "string",
909 + "format": "time"
910 + },
911 + "date": {
912 + "type": "string",
913 + "format": "date"
914 + },
915 + "duration": {
916 + "type": "string",
917 + "format": "duration"
918 + },
919 + "email": {
920 + "type": "string",
921 + "format": "email"
922 + },
923 + "hostname": {
924 + "type": "string",
925 + "format": "hostname"
926 + },
927 + "ipv4": {
928 + "type": "string",
929 + "format": "ipv4"
930 + },
931 + "ipv6": {
932 + "type": "string",
933 + "format": "ipv6"
934 + },
935 + "uuid": {
936 + "type": "string",
937 + "format": "uuid"
938 + }
939 + },
940 + "required": [
941 + "date-time",
942 + "time",
943 + "date",
944 + "duration",
945 + "email",
946 + "hostname",
947 + "ipv4",
948 + "ipv6",
949 + "uuid"
950 + ],
951 + "additionalProperties": false
952 + }
953 + }
954 + },
955 {
956 "id": "enum-values-are-data-not-keywords",
957 "description": "Keys inside enum/const values are data and must not be treated as keywords.",
ts/packages/json-schema-to-zod/test/__snapshots__/v3-output-fingerprint.test.ts.snap
+267
@@ -4723,6 +4723,273 @@ exports[`v3 output fingerprint > matches the pinned snapshot for the shared stri
4723 },
4724 "id": "default-and-examples-stripped",
4725 },
4726 + {
4727 + "fingerprint": {
4728 + "def": {
4729 + "catchall": {
4730 + "typeName": "ZodNever",
4731 + },
4732 + "shape": {
4733 + "count": {
4734 + "checks": [
4735 + {
4736 + "kind": "int",
4737 + "message": undefined,
4738 + },
4739 + ],
4740 + "typeName": "ZodNumber",
4741 + },
4742 + "file": {
4743 + "options": [
4744 + {
4745 + "checks": [],
4746 + "typeName": "ZodString",
4747 + },
4748 + {
4749 + "typeName": "ZodNull",
4750 + },
4751 + ],
4752 + "typeName": "ZodUnion",
4753 + },
4754 + "format": {
4755 + "left": {
4756 + "checks": [],
4757 + "typeName": "ZodString",
4758 + },
4759 + "right": {
4760 + "typeName": "ZodEnum",
4761 + "values": [
4762 + "json",
4763 + "csv",
4764 + ],
4765 + },
4766 + "typeName": "ZodIntersection",
4767 + },
4768 + "repos": {
4769 + "element": {
4770 + "checks": [],
4771 + "typeName": "ZodString",
4772 + },
4773 + "typeName": "ZodArray",
4774 + },
4775 + "shouted": {
4776 + "checks": [],
4777 + "typeName": "ZodString",
4778 + },
4779 + "untyped": {
4780 + "typeName": "ZodAny",
4781 + },
4782 + "url": {
4783 + "checks": [
4784 + {
4785 + "kind": "url",
4786 + },
4787 + ],
4788 + "typeName": "ZodString",
4789 + },
4790 + },
4791 + "typeName": "ZodObject",
4792 + "unknownKeys": "strict",
4793 + },
4794 + "jsonSchema": {
4795 + "$schema": "http://json-schema.org/draft-07/schema#",
4796 + "additionalProperties": false,
4797 + "properties": {
4798 + "count": {
4799 + "type": "integer",
4800 + },
4801 + "file": {
4802 + "type": [
4803 + "string",
4804 + "null",
4805 + ],
4806 + },
4807 + "format": {
4808 + "allOf": [
4809 + {
4810 + "type": "string",
4811 + },
4812 + {
4813 + "enum": [
4814 + "json",
4815 + "csv",
4816 + ],
4817 + "type": "string",
4818 + },
4819 + ],
4820 + },
4821 + "repos": {
4822 + "items": {
4823 + "type": "string",
4824 + },
4825 + "type": "array",
4826 + },
4827 + "shouted": {
4828 + "type": "string",
4829 + },
4830 + "untyped": {},
4831 + "url": {
4832 + "format": "uri",
4833 + "type": "string",
4834 + },
4835 + },
4836 + "required": [
4837 + "url",
4838 + "file",
4839 + "repos",
4840 + "shouted",
4841 + "count",
4842 + "format",
4843 + ],
4844 + "type": "object",
4845 + },
4846 + },
4847 + "id": "string-format-outside-accepted-list-stripped",
4848 + },
4849 + {
4850 + "fingerprint": {
4851 + "def": {
4852 + "catchall": {
4853 + "typeName": "ZodNever",
4854 + },
4855 + "shape": {
4856 + "date": {
4857 + "checks": [
4858 + {
4859 + "kind": "date",
4860 + "message": undefined,
4861 + },
4862 + ],
4863 + "typeName": "ZodString",
4864 + },
4865 + "date-time": {
4866 + "checks": [
4867 + {
4868 + "kind": "datetime",
4869 + "local": false,
4870 + "offset": true,
4871 + "precision": null,
4872 + },
4873 + ],
4874 + "typeName": "ZodString",
4875 + },
4876 + "duration": {
4877 + "checks": [
4878 + {
4879 + "kind": "duration",
4880 + },
4881 + ],
4882 + "typeName": "ZodString",
4883 + },
4884 + "email": {
4885 + "checks": [
4886 + {
4887 + "kind": "email",
4888 + },
4889 + ],
4890 + "typeName": "ZodString",
4891 + },
4892 + "hostname": {
4893 + "checks": [],
4894 + "typeName": "ZodString",
4895 + },
4896 + "ipv4": {
4897 + "checks": [
4898 + {
4899 + "kind": "ip",
4900 + "message": undefined,
4901 + "version": "v4",
4902 + },
4903 + ],
4904 + "typeName": "ZodString",
4905 + },
4906 + "ipv6": {
4907 + "checks": [
4908 + {
4909 + "kind": "ip",
4910 + "message": undefined,
4911 + "version": "v6",
4912 + },
4913 + ],
4914 + "typeName": "ZodString",
4915 + },
4916 + "time": {
4917 + "checks": [
4918 + {
4919 + "kind": "time",
4920 + "precision": null,
4921 + },
4922 + ],
4923 + "typeName": "ZodString",
4924 + },
4925 + "uuid": {
4926 + "checks": [
4927 + {
4928 + "kind": "uuid",
4929 + },
4930 + ],
4931 + "typeName": "ZodString",
4932 + },
4933 + },
4934 + "typeName": "ZodObject",
4935 + "unknownKeys": "strict",
4936 + },
4937 + "jsonSchema": {
4938 + "$schema": "http://json-schema.org/draft-07/schema#",
4939 + "additionalProperties": false,
4940 + "properties": {
4941 + "date": {
4942 + "format": "date",
4943 + "type": "string",
4944 + },
4945 + "date-time": {
4946 + "format": "date-time",
4947 + "type": "string",
4948 + },
4949 + "duration": {
4950 + "format": "duration",
4951 + "type": "string",
4952 + },
4953 + "email": {
4954 + "format": "email",
4955 + "type": "string",
4956 + },
4957 + "hostname": {
4958 + "type": "string",
4959 + },
4960 + "ipv4": {
4961 + "format": "ipv4",
4962 + "type": "string",
4963 + },
4964 + "ipv6": {
4965 + "format": "ipv6",
4966 + "type": "string",
4967 + },
4968 + "time": {
4969 + "format": "time",
4970 + "type": "string",
4971 + },
4972 + "uuid": {
4973 + "format": "uuid",
4974 + "type": "string",
4975 + },
4976 + },
4977 + "required": [
4978 + "date-time",
4979 + "time",
4980 + "date",
4981 + "duration",
4982 + "email",
4983 + "hostname",
4984 + "ipv4",
4985 + "ipv6",
4986 + "uuid",
4987 + ],
4988 + "type": "object",
4989 + },
4990 + },
4991 + "id": "accepted-string-formats-kept",
4992 + },
4993 {
4994 "fingerprint": {
4995 "def": {