Variable localizedStringsDocumentSchemaConst

localizedStringsDocumentSchema: {
    $defs: {
        languageStrings: {
            additionalProperties: boolean;
            description: string;
            patternProperties: { "^%[\\w\\-\\.]+%$": { $ref: string } };
            type: string;
        };
        localizedStringValue: { description: string; type: string };
        localizeKey: {
            description: string;
            pattern: string;
            tsType: string;
            type: string;
        };
        stringMetadata: {
            description: string;
            properties: {
                fallbackKey: {
                    description: string;
                    pattern: string;
                    tsType: string;
                    type: string;
                };
                notes: { description: string; type: string };
            };
            type: string;
        };
        stringsMetadata: {
            additionalProperties: boolean;
            description: string;
            patternProperties: { "^%[\\w\\-\\.]+%$": { $ref: string } };
            type: string;
        };
    };
    $schema: string;
    description: string;
    properties: {
        localizedStrings: {
            additionalProperties: { $ref: string };
            type: string;
        };
        metadata: { $ref: string };
    };
    title: string;
    type: string;
} = ...

JSON schema object that aligns with the LocalizedStringDataContribution type

Type declaration

  • $defs: {
        languageStrings: {
            additionalProperties: boolean;
            description: string;
            patternProperties: { "^%[\\w\\-\\.]+%$": { $ref: string } };
            type: string;
        };
        localizedStringValue: { description: string; type: string };
        localizeKey: {
            description: string;
            pattern: string;
            tsType: string;
            type: string;
        };
        stringMetadata: {
            description: string;
            properties: {
                fallbackKey: {
                    description: string;
                    pattern: string;
                    tsType: string;
                    type: string;
                };
                notes: { description: string; type: string };
            };
            type: string;
        };
        stringsMetadata: {
            additionalProperties: boolean;
            description: string;
            patternProperties: { "^%[\\w\\-\\.]+%$": { $ref: string } };
            type: string;
        };
    }
  • $schema: string
  • description: string
  • properties: {
        localizedStrings: {
            additionalProperties: { $ref: string };
            type: string;
        };
        metadata: { $ref: string };
    }
  • title: string
  • type: string