// @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js" // @generated from file pdfprofile/v2/parameters_schema.proto (package pdfprofile.v2, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; import type { Value } from "@bufbuild/protobuf/wkt"; import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt"; import type { JsonObject, Message } from "@bufbuild/protobuf"; /** * Describes the file pdfprofile/v2/parameters_schema.proto. */ export const file_pdfprofile_v2_parameters_schema: GenFile = /*@__PURE__*/ fileDesc("CiVwZGZwcm9maWxlL3YyL3BhcmFtZXRlcnNfc2NoZW1hLnByb3RvEg1wZGZwcm9maWxlLnYyIsIEChBQYXJhbWV0ZXJzU2NoZW1hEg4KBnNjaGVtYRgBIAEoCRIKCgJpZBgCIAEoCRIMCgR0eXBlGAMgASgJEg0KBXRpdGxlGAQgASgJEhMKC2Rlc2NyaXB0aW9uGAUgASgJEhAKCHJlcXVpcmVkGAYgAygJEkMKCnByb3BlcnRpZXMYByADKAsyLy5wZGZwcm9maWxlLnYyLlBhcmFtZXRlcnNTY2hlbWEuUHJvcGVydGllc0VudHJ5EiQKGmFkZGl0aW9uYWxfcHJvcGVydGllc19ib29sGAggASgISAASQAocYWRkaXRpb25hbF9wcm9wZXJ0aWVzX3NjaGVtYRgJIAEoCzIYLnBkZnByb2ZpbGUudjIuRm9ybUZpZWxkSAASPgoEZGVmcxgKIAMoCzIpLnBkZnByb2ZpbGUudjIuUGFyYW1ldGVyc1NjaGVtYS5EZWZzRW50cnlSBSRkZWZzEikKCGV4YW1wbGVzGAsgAygLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBpLCg9Qcm9wZXJ0aWVzRW50cnkSCwoDa2V5GAEgASgJEicKBXZhbHVlGAIgASgLMhgucGRmcHJvZmlsZS52Mi5Gb3JtRmllbGQ6AjgBGkUKCURlZnNFbnRyeRILCgNrZXkYASABKA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1ZRgCIAEoCzIYLnBkZnByb2ZpbGUudjIuRm9ybUZpZWxkOgI4AUISChBpdGVtc19kZWZpbml0aW9uQiIKIGFkZGl0aW9uYWxfcHJvcGVydGllc19kZWZpbml0aW9uQg0KC19taW5fbGVuZ3RoQg0KC19tYXhfbGVuZ3RoQgoKCF9wYXR0ZXJuQgoKCF9taW5pbXVtQgoKCF9tYXhpbXVtQhQKEl9leGNsdXNpdmVfbWluaW11bUIOCgxfbXVsdGlwbGVfb2ZCDwoNX2lmX2NvbmRpdGlvbkIRCg9fdGhlbl9jb25kaXRpb25CEQoPX2Vsc2VfY29uZGl0aW9uQgwKCl9taW5faXRlbXNCDAoKX21heF9pdGVtc0IPCg1fdW5pcXVlX2l0ZW1zQkNaQWJpdGJ1Y2tldC5vcmcva3Vkb3VrL2FydHdvcmtlci1iYWNrZW5kL3Byb3RvL2dlbi9nby9wZGZwcm9maWxlL3YyYgZwcm90bzM", [file_google_protobuf_struct]); /** * ParametersSchema represents a JSON Schema 2020-12 compliant parameters schema * * @generated from message pdfprofile.v2.ParametersSchema */ export type ParametersSchema = Message<"pdfprofile.v2.ParametersSchema"> & { /** * JSON Schema 2020-12 identifiers * * e.g., "https://json-schema.org/draft/2020-12/schema" * * @generated from field: string schema = 1; */ schema: string; /** * @generated from field: string id = 2; */ id: string; /** * Core JSON Schema properties * * Must be "object" * * @generated from field: string type = 3; */ type: string; /** * @generated from field: string title = 4; */ title: string; /** * @generated from field: string description = 5; */ description: string; /** * @generated from field: repeated string required = 6; */ required: string[]; /** * @generated from field: map properties = 7; */ properties: { [key: string]: FormField }; /** * @generated from oneof pdfprofile.v2.ParametersSchema.additional_properties_definition */ additionalPropertiesDefinition: { /** * @generated from field: bool additional_properties_bool = 8; */ value: boolean; case: "additionalPropertiesBool"; } | { /** * @generated from field: pdfprofile.v2.FormField additional_properties_schema = 9; */ value: FormField; case: "additionalPropertiesSchema"; } | { case: undefined; value?: undefined }; /** * Reusable definitions * * @generated from field: map defs = 10 [json_name = "$defs"]; */ defs: { [key: string]: FormField }; /** * Examples for the entire form * * @generated from field: repeated google.protobuf.Struct examples = 11; */ examples: JsonObject[]; }; /** * Describes the message pdfprofile.v2.ParametersSchema. * Use `create(ParametersSchemaSchema)` to create a new message. */ export const ParametersSchemaSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_parameters_schema, 0); /** * EnumOption represents a UI enum option (matches new-schema.ts) * * @generated from message pdfprofile.v2.EnumOption */ export type EnumOption = Message<"pdfprofile.v2.EnumOption"> & { /** * The value used in the parameter (string, number, or boolean) * * @generated from field: google.protobuf.Value value = 1; */ value?: Value; /** * The display label for this value * * @generated from field: string label = 2; */ label: string; /** * Optional description for this value * * @generated from field: string description = 3; */ description: string; }; /** * Describes the message pdfprofile.v2.EnumOption. * Use `create(EnumOptionSchema)` to create a new message. */ export const EnumOptionSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_parameters_schema, 1); /** * UIExtension represents the x-ui extension (matches new-schema.ts) * * @generated from message pdfprofile.v2.UIExtension */ export type UIExtension = Message<"pdfprofile.v2.UIExtension"> & { /** * @generated from field: string section = 1; */ section: string; /** * WidgetType: "text" | "textarea" | "number" | "select" | "radio" | "switch" | "checkbox" * * @generated from field: string widget = 2; */ widget: string; /** * @generated from field: string placeholder = 3; */ placeholder: string; /** * @generated from field: int32 rows = 4; */ rows: number; /** * @generated from field: string units = 5; */ units: string; /** * @generated from field: double step = 6; */ step: number; }; /** * Describes the message pdfprofile.v2.UIExtension. * Use `create(UIExtensionSchema)` to create a new message. */ export const UIExtensionSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_parameters_schema, 2); /** * ErrorMessages represents the x-error-messages extension (matches new-schema.ts) * * @generated from message pdfprofile.v2.ErrorMessages */ export type ErrorMessages = Message<"pdfprofile.v2.ErrorMessages"> & { /** * @generated from field: string required = 1; */ required: string; /** * @generated from field: string pattern = 2; */ pattern: string; /** * @generated from field: string min_length = 3; */ minLength: string; /** * @generated from field: string max_length = 4; */ maxLength: string; /** * @generated from field: string minimum = 5; */ minimum: string; /** * @generated from field: string maximum = 6; */ maximum: string; /** * @generated from field: string multiple_of = 7; */ multipleOf: string; /** * @generated from field: string enum = 8; */ enum: string; }; /** * Describes the message pdfprofile.v2.ErrorMessages. * Use `create(ErrorMessagesSchema)` to create a new message. */ export const ErrorMessagesSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_parameters_schema, 3); /** * FormField represents a single parameter definition (matches new-schema.ts) * * @generated from message pdfprofile.v2.FormField */ export type FormField = Message<"pdfprofile.v2.FormField"> & { /** * Core JSON Schema properties * * @generated from field: string type = 1; */ type: string; /** * @generated from field: string title = 2; */ title: string; /** * @generated from field: string description = 3; */ description: string; /** * @generated from field: google.protobuf.Value default_value = 4; */ defaultValue?: Value; /** * @generated from field: repeated google.protobuf.Value examples = 5; */ examples: Value[]; /** * @generated from field: google.protobuf.Value const_value = 6; */ constValue?: Value; /** * String validation * * @generated from field: optional int32 min_length = 7; */ minLength?: number; /** * @generated from field: optional int32 max_length = 8; */ maxLength?: number; /** * @generated from field: optional string pattern = 9; */ pattern?: string; /** * Number validation * * @generated from field: optional double minimum = 10; */ minimum?: number; /** * @generated from field: optional double maximum = 11; */ maximum?: number; /** * @generated from field: optional double exclusive_minimum = 12; */ exclusiveMinimum?: number; /** * @generated from field: double exclusive_maximum = 13; */ exclusiveMaximum: number; /** * @generated from field: optional double multiple_of = 14; */ multipleOf?: number; /** * Enum values - JSON Schema compliant (just values, not objects) * * @generated from field: repeated google.protobuf.Value enum = 15; */ enum: Value[]; /** * JSON Schema 2020-12 conditional validation * * @generated from field: optional pdfprofile.v2.FormField if_condition = 16; */ ifCondition?: FormField; /** * @generated from field: optional pdfprofile.v2.FormField then_condition = 17; */ thenCondition?: FormField; /** * @generated from field: optional pdfprofile.v2.FormField else_condition = 18; */ elseCondition?: FormField; /** * Array validation * * @generated from oneof pdfprofile.v2.FormField.items_definition */ itemsDefinition: { /** * For tuple validation, use prefix_items instead * * @generated from field: pdfprofile.v2.FormField items_single = 19; */ value: FormField; case: "itemsSingle"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated pdfprofile.v2.FormField prefix_items = 20; */ prefixItems: FormField[]; /** * @generated from field: optional int32 min_items = 21; */ minItems?: number; /** * @generated from field: optional int32 max_items = 22; */ maxItems?: number; /** * @generated from field: optional bool unique_items = 23; */ uniqueItems?: boolean; /** * Object validation * * @generated from field: map properties = 24; */ properties: { [key: string]: FormField }; /** * @generated from field: repeated string required = 25; */ required: string[]; /** * @generated from oneof pdfprofile.v2.FormField.additional_properties_definition */ additionalPropertiesDefinition: { /** * @generated from field: bool additional_properties_bool = 26; */ value: boolean; case: "additionalPropertiesBool"; } | { /** * @generated from field: pdfprofile.v2.FormField additional_properties_schema = 27; */ value: FormField; case: "additionalPropertiesSchema"; } | { case: undefined; value?: undefined }; /** * Custom extensions (prefixed with x-) * * @generated from field: pdfprofile.v2.UIExtension x_ui = 28 [json_name = "x-ui"]; */ xUi?: UIExtension; /** * @generated from field: pdfprofile.v2.ErrorMessages x_error_messages = 29 [json_name = "x-error-messages"]; */ xErrorMessages?: ErrorMessages; /** * @generated from field: repeated pdfprofile.v2.EnumOption x_enum_options = 30 [json_name = "x-enum-options"]; */ xEnumOptions: EnumOption[]; }; /** * Describes the message pdfprofile.v2.FormField. * Use `create(FormFieldSchema)` to create a new message. */ export const FormFieldSchema: GenMessage = /*@__PURE__*/ messageDesc(file_pdfprofile_v2_parameters_schema, 4);