@civitai/app-sdk 0.81.0 → 0.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -116,7 +116,7 @@ export { isModelSlotContext, isPageSlotContext } from './types.js';
116
116
  * in `types.ts` for which of the two it uses and why.
117
117
  */
118
118
  export { isSignedIn } from './types.js';
119
- export type { BlockContext, KnownSlotId, ModelSlotId, PageSlotContext, PageSlotId, UnknownSlotContext, BlockAnalyticsDeclaration, BlockAnalyticsEventDeclaration, BlockAnalyticsPropertyDeclaration, BlockManifest, BlockManifestGood, BlockManifestV1, BlockSettings, BlockStorageCollectionDeclaration, BlockStorageCollectionSchema, BlockStorageDeclaration, BlockStorageImport, BlockStorageIndexes, BlockStorageIndexType, BlockStoragePrivateCollectionDeclaration, BlockStorageSchemaType, BlockStorageSharedCollectionDeclaration, BlockToken, ContentRating, ManifestBooleanField, ManifestIframe, ManifestNumberField, ManifestPage, ManifestPreview, ManifestSettingField, ManifestSettings, ManifestStringField, ManifestTarget, ModelSlotContext, SettingScope, SettingWidget, Theme, ViewerInfo, BlockCheckpointInfo, BlockResourceInfo, BlockResourcePickerType, BlockSourceImage, BlockUploadedImageInfo, BlockGenerationSourceImageInfo, BlockImagePickerSource, BlockPickedImageInfo, BlockMediaKind, BlockMediaUploadInfo, BlockPendingImageInfo, BlockImageScanResult, BlockUploadPurpose, BlockNavigateScope, BlockTextToImageParams, BlockWorkflowSnapshot, BlockEstimateBatchAggregate, BlockModelSubstitution, ModelSubstitutionReason, KnownBlockWorkflowErrorCode, BlockStepToolCall, BlockTrainedEpoch, BlockPublishedModel, BuzzAccountType, ShowcaseImage, WorkflowBody, WorkflowBodyTextToImage, WorkflowBodyCustomComfy, WorkflowBodyCustomComfyRecipe, WorkflowBodyCustomComfyInline, InlineComfyNode, WorkflowBodyStep, WorkflowBodyPassThroughStep, WorkflowBodyWorkflow, WorkflowBodyWorkflowStep, WorkflowStepRef, WithWorkflowStepRefs, BlockWorkflowStepSnapshot, WorkflowStatus, BlockBuzzTransaction, BlockBuzzAccount, BlockDailyCompensationResource, BlockViewer, BlockWildcardPack, BlockWildcardPackErrorCode, BlockResourceFile, BlockResourceFileEntry, BlockResourceFileEntryFormat, BlockResourceFileErrorCode, BlockResourceFileMeta, AppWorkflow, AppWorkflowImage, BlockGatedImage, BlockCollectionFollowErrorCode, BlockCollectionFollowResult, BlockPostSource, BlockCreatePostRequest, BlockCreatePostResult, BlockCreatePostHostError, WorkflowBodyTraining, AiToolkitTrainingParams, AiToolkitTrainingParamsBase, AiToolkitPlainEcosystem, AiToolkitLrScheduler, AiToolkitOptimizerType, BlockTrainingQuote, BlockTrainingDatasetItem, BlockTrainingDataImage, BlockTrainingDataUploadResult, BlockRunTrainingHostError, BlockStepQuote, BlockModel3dOutput, BlockRunConfirmedStepHostError, } from './types.js';
119
+ export type { BlockContext, KnownSlotId, ModelSlotId, PageSlotContext, PageSlotId, UnknownSlotContext, BlockAnalyticsDeclaration, BlockAnalyticsEventDeclaration, BlockAnalyticsPropertyDeclaration, BlockManifest, BlockManifestGood, BlockManifestV1, BlockSettings, BlockStorageCollectionDeclaration, BlockStorageCollectionSchema, BlockStorageDeclaration, BlockStorageImport, BlockStorageIndexes, BlockStorageIndexType, BlockStorageMigrationKeyword, BlockStorageMigrationOp, BlockStoragePrivateCollectionDeclaration, BlockStorageSchemaType, BlockStorageSharedCollectionDeclaration, BlockToken, ContentRating, ManifestBooleanField, ManifestIframe, ManifestNumberField, ManifestPage, ManifestPreview, ManifestSettingField, ManifestSettings, ManifestStringField, ManifestTarget, ModelSlotContext, SettingScope, SettingWidget, Theme, ViewerInfo, BlockCheckpointInfo, BlockResourceInfo, BlockResourcePickerType, BlockSourceImage, BlockUploadedImageInfo, BlockGenerationSourceImageInfo, BlockImagePickerSource, BlockPickedImageInfo, BlockMediaKind, BlockMediaUploadInfo, BlockPendingImageInfo, BlockImageScanResult, BlockUploadPurpose, BlockNavigateScope, BlockTextToImageParams, BlockWorkflowSnapshot, BlockEstimateBatchAggregate, BlockModelSubstitution, ModelSubstitutionReason, KnownBlockWorkflowErrorCode, BlockStepToolCall, BlockTrainedEpoch, BlockPublishedModel, BuzzAccountType, ShowcaseImage, WorkflowBody, WorkflowBodyTextToImage, WorkflowBodyCustomComfy, WorkflowBodyCustomComfyRecipe, WorkflowBodyCustomComfyInline, InlineComfyNode, WorkflowBodyStep, WorkflowBodyPassThroughStep, WorkflowBodyWorkflow, WorkflowBodyWorkflowStep, WorkflowStepRef, WithWorkflowStepRefs, BlockWorkflowStepSnapshot, WorkflowStatus, BlockBuzzTransaction, BlockBuzzAccount, BlockDailyCompensationResource, BlockViewer, BlockWildcardPack, BlockWildcardPackErrorCode, BlockResourceFile, BlockResourceFileEntry, BlockResourceFileEntryFormat, BlockResourceFileErrorCode, BlockResourceFileMeta, AppWorkflow, AppWorkflowImage, BlockGatedImage, BlockCollectionFollowErrorCode, BlockCollectionFollowResult, BlockPostSource, BlockCreatePostRequest, BlockCreatePostResult, BlockCreatePostHostError, WorkflowBodyTraining, AiToolkitTrainingParams, AiToolkitTrainingParamsBase, AiToolkitPlainEcosystem, AiToolkitLrScheduler, AiToolkitOptimizerType, BlockTrainingQuote, BlockTrainingDatasetItem, BlockTrainingDataImage, BlockTrainingDataUploadResult, BlockRunTrainingHostError, BlockStepQuote, BlockModel3dOutput, BlockRunConfirmedStepHostError, } from './types.js';
120
120
  /**
121
121
  * Host bounds for an inline `customComfy` graph, mirrored from civitai/civitai —
122
122
  * see `WorkflowBodyCustomComfyInline.workflow`.
@@ -2745,6 +2745,54 @@ export interface BlockStorageCollectionSchema {
2745
2745
  maxItems?: number;
2746
2746
  description?: string;
2747
2747
  }
2748
+ /**
2749
+ * The schema keyword of the one breaking change an `acknowledge`
2750
+ * {@link BlockStorageMigrationOp} accepts. `'required'` is not one: a newly required field can
2751
+ * only be covered by a `default`.
2752
+ */
2753
+ export type BlockStorageMigrationKeyword = 'type' | 'const' | 'enum' | 'minimum' | 'maximum' | 'minLength' | 'maxLength' | 'minItems' | 'maxItems' | 'pattern' | 'additionalProperties' | 'properties';
2754
+ /**
2755
+ * One declarative MIGRATION op on a collection's stored documents (civitai/civitai#7661),
2756
+ * discriminated on `op`. Mirrors the canonical schema's `$defs.storageMigrationOp`.
2757
+ *
2758
+ * At submit, civitai.com compares the collection's `schema` with the previous approved
2759
+ * version's (statically; stored documents are never read) and refuses every BREAKING change
2760
+ * (a newly required property, a narrowed type / enum / const / bound / pattern,
2761
+ * `additionalProperties` closed, a declared property removed under
2762
+ * `additionalProperties: false`, or a schema added where there was none) that no op covers:
2763
+ *
2764
+ * - `default` covers a newly required property at `path`, setting `value` where the field is
2765
+ * missing (its parent object exists). `value` must match the new schema there; at most 4096
2766
+ * bytes of JSON. It is the only op that can cover a newly required property.
2767
+ * - `rename` covers a declared property removed under `additionalProperties: false`, at `from`.
2768
+ * - `remove` covers any breaking change at or under a field the new schema does not require.
2769
+ * - `acknowledge` covers exactly the one breaking change whose pointer EQUALS `path` (never a
2770
+ * prefix) with that `keyword`, and changes nothing: documents that violate it are refused on
2771
+ * their next write until reshaped. Its `path` may be `""` (the document root) and may use the
2772
+ * segment `*` for a change inside `items` or an `additionalProperties` schema (`"/tags/*"`).
2773
+ *
2774
+ * The `path` / `from` / `to` of `default`, `rename` and `remove` are JSON Pointers to one field
2775
+ * of a document's `data` (`"/meta/title"`): 1 to 15 non-empty segments, `~` written `~0` and `/`
2776
+ * written `~1`, no `*` segment. Every op is idempotent, and the fields `default`, `rename` and
2777
+ * `remove` touch must be disjoint. Only the ops that cover a breaking change of THIS version run,
2778
+ * once, when it is approved; an op that covers nothing is reported at submit and never runs.
2779
+ */
2780
+ export type BlockStorageMigrationOp = {
2781
+ op: 'default';
2782
+ path: string;
2783
+ value: unknown;
2784
+ } | {
2785
+ op: 'rename';
2786
+ from: string;
2787
+ to: string;
2788
+ } | {
2789
+ op: 'remove';
2790
+ path: string;
2791
+ } | {
2792
+ op: 'acknowledge';
2793
+ path: string;
2794
+ keyword: BlockStorageMigrationKeyword;
2795
+ };
2748
2796
  /**
2749
2797
  * A PRIVATE collection — a separate key space per viewer, read and written
2750
2798
  * only by that viewer. Carries none of the shared-only fields (`write`,
@@ -2768,6 +2816,8 @@ export interface BlockStoragePrivateCollectionDeclaration {
2768
2816
  exportable?: boolean;
2769
2817
  /** See {@link BlockStorageCollectionSchema}. */
2770
2818
  schema?: BlockStorageCollectionSchema;
2819
+ /** See {@link BlockStorageSharedCollectionDeclaration.migrations}. */
2820
+ migrations?: BlockStorageMigrationOp[];
2771
2821
  }
2772
2822
  /**
2773
2823
  * A SHARED collection — one key space for the whole app, read by every viewer
@@ -2873,6 +2923,12 @@ export interface BlockStorageSharedCollectionDeclaration {
2873
2923
  * Not allowed with `write` `'none'` (no document bodies are written there).
2874
2924
  */
2875
2925
  schema?: BlockStorageCollectionSchema;
2926
+ /**
2927
+ * 1 to 32 ops applied to the documents ALREADY STORED when this version is approved, for a
2928
+ * `schema` change that would otherwise leave them unwritable — see
2929
+ * {@link BlockStorageMigrationOp}. Not allowed with `write` `'none'`.
2930
+ */
2931
+ migrations?: BlockStorageMigrationOp[];
2876
2932
  }
2877
2933
  /**
2878
2934
  * One collection declaration — see {@link BlockManifestV1.storage}.
package/dist/index.d.ts CHANGED
@@ -25,11 +25,11 @@
25
25
  *
26
26
  * - **`./blocks`** — importing it RUNS `./safe-storage` for its side effect
27
27
  * (repairing `localStorage`/`sessionStorage` at an opaque origin). Folding
28
- * 211 symbols and that side effect into the root would make every OAuth app
28
+ * 213 symbols and that side effect into the root would make every OAuth app
29
29
  * that writes `import { exchangeCode } from '@civitai/app-sdk'` pay for the
30
30
  * Civitai-Apps contract it does not use. Blocks and OAuth apps are disjoint
31
31
  * audiences; see this package's README.
32
- * 🔴 That 211 is ASSERTED, not merely quoted — by
32
+ * 🔴 That 213 is ASSERTED, not merely quoted — by
33
33
  * `packages/civitai-app-sdk/test/export-surface.test.ts`, which pins
34
34
  * `surface.get('./blocks').size`. It said 119 here against a real 125 until
35
35
  * 2026-10-04, because the existing checks pin the root as an exact union and
package/dist/index.js CHANGED
@@ -25,11 +25,11 @@
25
25
  *
26
26
  * - **`./blocks`** — importing it RUNS `./safe-storage` for its side effect
27
27
  * (repairing `localStorage`/`sessionStorage` at an opaque origin). Folding
28
- * 211 symbols and that side effect into the root would make every OAuth app
28
+ * 213 symbols and that side effect into the root would make every OAuth app
29
29
  * that writes `import { exchangeCode } from '@civitai/app-sdk'` pay for the
30
30
  * Civitai-Apps contract it does not use. Blocks and OAuth apps are disjoint
31
31
  * audiences; see this package's README.
32
- * 🔴 That 211 is ASSERTED, not merely quoted — by
32
+ * 🔴 That 213 is ASSERTED, not merely quoted — by
33
33
  * `packages/civitai-app-sdk/test/export-surface.test.ts`, which pins
34
34
  * `surface.get('./blocks').size`. It said 119 here against a real 125 until
35
35
  * 2026-10-04, because the existing checks pin the root as an exact union and
@@ -98,6 +98,7 @@ export declare const KNOWN_GAPS: {
98
98
  readonly 'settings-meta-schema-not-vendored': string;
99
99
  readonly 'storage-server-only-rules': string;
100
100
  readonly 'storage-collection-schema-server-only-rules': string;
101
+ readonly 'storage-migrations-server-only-rules': string;
101
102
  readonly 'format-uri-not-enforced': string;
102
103
  };
103
104
  /** The canonical schema object, parsed once. Exported for tests and tooling. */
@@ -160,6 +160,15 @@ export const KNOWN_GAPS = {
160
160
  'its max, a pattern that compiles as a JavaScript regular expression with the `u` flag, ' +
161
161
  'and no pattern that can backtrack ' +
162
162
  'catastrophically. Those validate here and are refused at submit.',
163
+ 'storage-migrations-server-only-rules': 'A collection\'s `migrations` (civitai/civitai#7661): the canonical encodes each op\'s shape ' +
164
+ '(`default` / `rename` / `remove` / `acknowledge`), the JSON Pointer form of its paths, the ' +
165
+ 'acknowledge-only `""` and `*`, the `keyword` list, 1 to 32 ops and "no migrations on write ' +
166
+ 'none", and Ajv enforces those exactly. The rest is the server\'s, at submit. Which schema ' +
167
+ 'changes are breaking, and whether an op covers one, needs the PREVIOUS approved manifest, so ' +
168
+ 'a breaking change no op covers and an op that covers nothing (reported, never run) are ' +
169
+ 'decided there. So are the canonical\'s prose-only rules: a `default` value must match the new ' +
170
+ 'schema at its path and be at most 4096 bytes of JSON, and the ops must touch disjoint ' +
171
+ 'fields. All of those validate here.',
163
172
  'format-uri-not-enforced': '`assetBundleUrl` carries `format: "uri"` in addition to `pattern: "^https://"`. Ajv ignores ' +
164
173
  'unknown formats unless `ajv-formats` is installed, which would be a second optional peer for ' +
165
174
  'one field whose pattern is already enforced. The pattern IS enforced; the `uri` format is ' +
@@ -15,5 +15,5 @@
15
15
  export { defineBlock, SCHEMA_DIVERGENCES, KNOWN_GAPS, loadCanonicalSchema } from './defineBlock.js';
16
16
  export type { DefineBlockConfig } from './defineBlock.js';
17
17
  export { BlockManifestError } from '../blocks/manifestError.js';
18
- export type { BlockAnalyticsDeclaration, BlockAnalyticsEventDeclaration, BlockAnalyticsPropertyDeclaration, BlockManifest, BlockManifestGood, BlockManifestV1, BlockStorageCollectionDeclaration, BlockStorageCollectionSchema, BlockStorageDeclaration, BlockStorageImport, BlockStorageIndexes, BlockStorageIndexType, BlockStoragePrivateCollectionDeclaration, BlockStorageSchemaType, BlockStorageSharedCollectionDeclaration, } from '../blocks/types.js';
18
+ export type { BlockAnalyticsDeclaration, BlockAnalyticsEventDeclaration, BlockAnalyticsPropertyDeclaration, BlockManifest, BlockManifestGood, BlockManifestV1, BlockStorageCollectionDeclaration, BlockStorageCollectionSchema, BlockStorageDeclaration, BlockStorageImport, BlockStorageIndexes, BlockStorageIndexType, BlockStorageMigrationKeyword, BlockStorageMigrationOp, BlockStoragePrivateCollectionDeclaration, BlockStorageSchemaType, BlockStorageSharedCollectionDeclaration, } from '../blocks/types.js';
19
19
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/app-sdk",
3
- "version": "0.81.0",
3
+ "version": "0.82.0",
4
4
  "description": "OAuth + PKCE, encrypted-cookie sessions, scopes, and orchestrator helpers for building third-party Civitai apps.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -515,18 +515,25 @@
515
515
  }
516
516
  },
517
517
  "schema": {
518
- "description": "Optional. A JSON Schema SUBSET that every document's `data` in this collection must match. The server checks it on every create and update and refuses a document that does not match with 400 `schema_violation`, whose message names the first failing JSON pointer into `data` (for example \"/title\"); counters and marks are not checked. Without a schema, documents are not checked. Supported keywords only: type (object, array, string, number, integer, boolean, null, or an array of them), properties, required, additionalProperties (true, false or a schema), items (one schema for every element), enum, const, minLength, maxLength, pattern, minimum, maximum, minItems, maxItems and description; any other keyword is refused at submit with a message naming it. Keywords that do not apply to a value's type are ignored; string lengths count code points; `pattern` is a JavaScript regular expression (the \"u\" flag), unanchored, of at most 256 characters, and a schema with a `pattern` must also declare a `maxLength` of at most 1000; a pattern that can backtrack catastrophically (analysed with the \"u\" flag, as the store runs it) is refused at submit. At most 16 patterns per schema and 32 across all of the manifest's collection schemas together, schemas nested at most 16 deep, and at most 16384 bytes of JSON. Not allowed on a `write` \"none\" collection. Changing a schema does not re-check documents already stored; they are checked when next written.",
518
+ "description": "Optional. A JSON Schema SUBSET that every document's `data` in this collection must match. The server checks it on every create and update and refuses a document that does not match with 400 `schema_violation`, whose message names the first failing JSON pointer into `data` (for example \"/title\"); counters and marks are not checked. Without a schema, documents are not checked. Supported keywords only: type (object, array, string, number, integer, boolean, null, or an array of them), properties, required, additionalProperties (true, false or a schema), items (one schema for every element), enum, const, minLength, maxLength, pattern, minimum, maximum, minItems, maxItems and description; any other keyword is refused at submit with a message naming it. Keywords that do not apply to a value's type are ignored; string lengths count code points; `pattern` is a JavaScript regular expression (the \"u\" flag), unanchored, of at most 256 characters, and a schema with a `pattern` must also declare a `maxLength` of at most 1000; a pattern that can backtrack catastrophically (analysed with the \"u\" flag, as the store runs it) is refused at submit. At most 16 patterns per schema and 32 across all of the manifest's collection schemas together, schemas nested at most 16 deep, and at most 16384 bytes of JSON. Not allowed on a `write` \"none\" collection. Changing a schema does not re-check documents already stored; they are checked when next written. A change that narrows the schema against the previous approved version (a newly required property; a type, enum, const, bound or pattern narrowed; `additionalProperties` closed or newly a schema; a declared property removed under `additionalProperties: false`; or a schema added where there was none) is refused at submit unless `migrations` covers it.",
519
519
  "$ref": "#/$defs/storageCollectionSchema"
520
+ },
521
+ "migrations": {
522
+ "type": "array",
523
+ "description": "Optional. Declarative ops applied to this collection's documents ALREADY STORED in production when this version is approved, for a schema change that would otherwise leave them unwritable. Submit compares this collection's `schema` with the previous approved version's (statically; stored documents are never read) and refuses every BREAKING change no op here covers: \"default\" covers a newly required property at its `path` (`value` must match the new schema there) — the only op that can; \"rename\" covers a declared property removed under `additionalProperties: false`, at `from`; \"remove\" covers any breaking change at or under a field the new schema does not require; \"acknowledge\" covers exactly the one breaking change whose pointer is its `path` (\"\" for the document root, \"*\" for an `items` or `additionalProperties` schema, matched literally, never as a prefix) with its `keyword` and changes nothing — documents that violate it are refused on their next write until reshaped. A first schema on a collection that had none is compared with accept-anything, so each of its constraints is its own breaking change. The paths of default, rename and remove are JSON Pointers to one field of a document's data (\"/meta/title\"). Every op is idempotent, and default, rename and remove ops must touch disjoint fields, so a re-run changes nothing. Only the ops that cover a breaking change of THIS version run, once, in bounded batches; an op that covers nothing is reported at submit and never runs, so a list left in a later version is inert. Not allowed on a `write` \"none\" collection. 1 to 32 ops.",
524
+ "minItems": 1,
525
+ "maxItems": 32,
526
+ "items": { "$ref": "#/$defs/storageMigrationOp" }
520
527
  }
521
528
  },
522
529
  "allOf": [
523
530
  {
524
- "$comment": "No document body is ever written in a write:\"none\" collection, so a schema there would check nothing.",
531
+ "$comment": "No document body is ever written in a write:\"none\" collection, so a schema there would check nothing and a migration would migrate nothing.",
525
532
  "if": {
526
533
  "required": ["write"],
527
534
  "properties": { "write": { "const": "none" } }
528
535
  },
529
- "then": { "properties": { "schema": false } }
536
+ "then": { "properties": { "schema": false, "migrations": false } }
530
537
  },
531
538
  {
532
539
  "$comment": "A shared collection must state its write policy; a private one carries none of the shared-only fields.",
@@ -645,6 +652,80 @@
645
652
  "if": { "required": ["pattern"] },
646
653
  "then": { "required": ["maxLength"], "properties": { "maxLength": { "maximum": 1000 } } }
647
654
  },
655
+ "storageMigrationPath": {
656
+ "type": "string",
657
+ "description": "A JSON Pointer to one field of a document's data: 1 to 15 non-empty segments, each \"/\" then the field name with ~ written ~0 and / written ~1. No \"*\" segment.",
658
+ "maxLength": 512,
659
+ "pattern": "^(/([^/~]|~[01])+){1,15}$",
660
+ "not": { "pattern": "/\\*(/|$)" }
661
+ },
662
+ "storageMigrationOp": {
663
+ "description": "One migration op. See `storage.collections.<name>.migrations`.",
664
+ "oneOf": [
665
+ {
666
+ "type": "object",
667
+ "additionalProperties": false,
668
+ "required": ["op", "path", "value"],
669
+ "properties": {
670
+ "op": { "const": "default" },
671
+ "path": { "$ref": "#/$defs/storageMigrationPath" },
672
+ "value": {
673
+ "description": "Set where the field is missing (its parent object exists). Must match the new schema at `path`; at most 4096 bytes of JSON."
674
+ }
675
+ }
676
+ },
677
+ {
678
+ "type": "object",
679
+ "additionalProperties": false,
680
+ "required": ["op", "from", "to"],
681
+ "properties": {
682
+ "op": { "const": "rename" },
683
+ "from": { "$ref": "#/$defs/storageMigrationPath" },
684
+ "to": { "$ref": "#/$defs/storageMigrationPath" }
685
+ }
686
+ },
687
+ {
688
+ "type": "object",
689
+ "additionalProperties": false,
690
+ "required": ["op", "path"],
691
+ "properties": {
692
+ "op": { "const": "remove" },
693
+ "path": { "$ref": "#/$defs/storageMigrationPath" }
694
+ }
695
+ },
696
+ {
697
+ "type": "object",
698
+ "additionalProperties": false,
699
+ "required": ["op", "path", "keyword"],
700
+ "properties": {
701
+ "op": { "const": "acknowledge" },
702
+ "path": {
703
+ "type": "string",
704
+ "description": "The JSON Pointer of the one breaking change accepted, matched EXACTLY (never as a prefix): \"\" for a change at the document root, or up to 15 non-empty segments, where the segment \"*\" is the pointer of a change inside `items` or an `additionalProperties` schema (\"/tags/*\").",
705
+ "maxLength": 512,
706
+ "pattern": "^(/([^/~]|~[01])+){0,15}$"
707
+ },
708
+ "keyword": {
709
+ "description": "The schema keyword of the one breaking change accepted at `path`. A newly required field (\"required\") cannot be acknowledged: cover it with a \"default\".",
710
+ "enum": [
711
+ "type",
712
+ "const",
713
+ "enum",
714
+ "minimum",
715
+ "maximum",
716
+ "minLength",
717
+ "maxLength",
718
+ "minItems",
719
+ "maxItems",
720
+ "pattern",
721
+ "additionalProperties",
722
+ "properties"
723
+ ]
724
+ }
725
+ }
726
+ }
727
+ ]
728
+ },
648
729
  "storageCollectionSchemaType": {
649
730
  "enum": ["object", "array", "string", "number", "integer", "boolean", "null"]
650
731
  }