import { Schema } from "@dxos/codec-protobuf"; import * as dxos_registry from "./dxos/registry"; import * as dxos_type from "./dxos/type"; import * as google_protobuf from "./google/protobuf"; import substitutions from "../substitutions"; export interface TYPES { "dxos.registry.Record": dxos_registry.Record; "dxos.registry.Record.Extension": dxos_registry.Record.Extension; "dxos.registry.Record.Type": dxos_registry.Record.Type; "dxos.type.App": dxos_type.App; "dxos.type.App.Web": dxos_type.App.Web; "dxos.type.AppServer": dxos_type.AppServer; "dxos.type.Bot": dxos_type.Bot; "dxos.type.BotFactory": dxos_type.BotFactory; "dxos.type.File": dxos_type.File; "dxos.type.IPFS": dxos_type.IPFS; "dxos.type.KUBE": dxos_type.KUBE; "dxos.type.Repo": dxos_type.Repo; "dxos.type.Service": dxos_type.Service; "dxos.type.Signal": dxos_type.Signal; "dxos.type.StateMachine": dxos_type.StateMachine; "google.protobuf.DescriptorProto": google_protobuf.DescriptorProto; "google.protobuf.DescriptorProto.ExtensionRange": google_protobuf.DescriptorProto.ExtensionRange; "google.protobuf.DescriptorProto.ReservedRange": google_protobuf.DescriptorProto.ReservedRange; "google.protobuf.EnumDescriptorProto": google_protobuf.EnumDescriptorProto; "google.protobuf.EnumDescriptorProto.EnumReservedRange": google_protobuf.EnumDescriptorProto.EnumReservedRange; "google.protobuf.EnumOptions": google_protobuf.EnumOptions; "google.protobuf.EnumValueDescriptorProto": google_protobuf.EnumValueDescriptorProto; "google.protobuf.EnumValueOptions": google_protobuf.EnumValueOptions; "google.protobuf.ExtensionRangeOptions": google_protobuf.ExtensionRangeOptions; "google.protobuf.FieldDescriptorProto": google_protobuf.FieldDescriptorProto; "google.protobuf.FieldDescriptorProto.Label": google_protobuf.FieldDescriptorProto.Label; "google.protobuf.FieldDescriptorProto.Type": google_protobuf.FieldDescriptorProto.Type; "google.protobuf.FieldOptions": google_protobuf.FieldOptions; "google.protobuf.FieldOptions.CType": google_protobuf.FieldOptions.CType; "google.protobuf.FieldOptions.JSType": google_protobuf.FieldOptions.JSType; "google.protobuf.FileDescriptorProto": google_protobuf.FileDescriptorProto; "google.protobuf.FileDescriptorSet": google_protobuf.FileDescriptorSet; "google.protobuf.FileOptions": google_protobuf.FileOptions; "google.protobuf.FileOptions.OptimizeMode": google_protobuf.FileOptions.OptimizeMode; "google.protobuf.GeneratedCodeInfo": google_protobuf.GeneratedCodeInfo; "google.protobuf.GeneratedCodeInfo.Annotation": google_protobuf.GeneratedCodeInfo.Annotation; "google.protobuf.MessageOptions": google_protobuf.MessageOptions; "google.protobuf.MethodDescriptorProto": google_protobuf.MethodDescriptorProto; "google.protobuf.MethodOptions": google_protobuf.MethodOptions; "google.protobuf.MethodOptions.IdempotencyLevel": google_protobuf.MethodOptions.IdempotencyLevel; "google.protobuf.OneofDescriptorProto": google_protobuf.OneofDescriptorProto; "google.protobuf.OneofOptions": google_protobuf.OneofOptions; "google.protobuf.ServiceDescriptorProto": google_protobuf.ServiceDescriptorProto; "google.protobuf.ServiceOptions": google_protobuf.ServiceOptions; "google.protobuf.SourceCodeInfo": google_protobuf.SourceCodeInfo; "google.protobuf.SourceCodeInfo.Location": google_protobuf.SourceCodeInfo.Location; "google.protobuf.Timestamp": google_protobuf.Timestamp; "google.protobuf.UninterpretedOption": google_protobuf.UninterpretedOption; "google.protobuf.UninterpretedOption.NamePart": google_protobuf.UninterpretedOption.NamePart; } export interface SERVICES { } export const schemaJson = JSON.parse("{\"nested\":{\"dxos\":{\"nested\":{\"registry\":{\"nested\":{\"Record\":{\"oneofs\":{\"kind\":{\"oneof\":[\"type\",\"payload\"],\"comment\":null}},\"fields\":{\"created\":{\"type\":\"google.protobuf.Timestamp\",\"id\":1,\"comment\":\"Record creation timetstamp.\"},\"displayName\":{\"type\":\"string\",\"id\":2,\"comment\":\"Optional human-readable name of record.\"},\"description\":{\"type\":\"string\",\"id\":3,\"comment\":\"Optional record description.\"},\"tags\":{\"rule\":\"repeated\",\"type\":\"string\",\"id\":4,\"comment\":\"Optional record tags.\"},\"type\":{\"type\":\"Type\",\"id\":100,\"comment\":\"Type record variant.\"},\"payload\":{\"type\":\"Extension\",\"id\":101,\"comment\":\"Data record variant.\"}},\"nested\":{\"Extension\":{\"fields\":{\"typeRecord\":{\"type\":\"bytes\",\"id\":1,\"comment\":\"CID of type record.\"},\"data\":{\"type\":\"bytes\",\"id\":2,\"comment\":\"Serialized payload data.\"}},\"comment\":\"Data with a reference to a type record that defines the encoding.\"},\"Type\":{\"fields\":{\"messageName\":{\"type\":\"string\",\"id\":1,\"comment\":\"FQ protobuf message name.\"},\"protobufDefs\":{\"type\":\"string\",\"id\":2,\"comment\":\"Set of protobuf messages encoded in JSON.\"},\"protobufIpfsCid\":{\"type\":\"string\",\"id\":3,\"comment\":\"CID of protobuf source file.\"}},\"comment\":\"Types are system records that define protocol-buffer schema of other records.\"}},\"comment\":null}}},\"type\":{\"nested\":{\"App\":{\"oneofs\":{\"kind\":{\"oneof\":[\"web\"],\"comment\":null}},\"fields\":{\"version\":{\"type\":\"string\",\"id\":1,\"comment\":\"Optional **semver 2.0** compliant record version.\\nShould conform to the semver regex (see https://semver.org/).\"},\"license\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"repos\":{\"rule\":\"repeated\",\"type\":\"Repo\",\"id\":3,\"comment\":null},\"bundle\":{\"type\":\"bytes\",\"id\":4,\"comment\":\"App bundle content Id in the CID v0 format (https://docs.ipfs.io/concepts/content-addressing/#identifier-formats).\"},\"web\":{\"type\":\"Web\",\"id\":100,\"comment\":null},\"extension\":{\"type\":\"Record.Extension\",\"id\":200,\"comment\":null}},\"nested\":{\"Web\":{\"fields\":{\"indexFile\":{\"type\":\"string\",\"id\":1,\"comment\":\"Optional relative path in resource to entrypoint, defaults to index.html.\"},\"entryPoint\":{\"type\":\"string\",\"id\":2,\"comment\":\"Optional relative path in resource to entrypoint, defaults to main.js.\"}},\"comment\":null}},\"comment\":null},\"AppServer\":{\"fields\":{\"url\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"extension\":{\"type\":\"Record.Extension\",\"id\":100,\"comment\":null}},\"comment\":null},\"Bot\":{\"fields\":{\"version\":{\"type\":\"string\",\"id\":1,\"comment\":\"Optional **semver 2.0** compliant record version.\\nShould conform to the semver regex (see https://semver.org/).\"},\"license\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"repos\":{\"rule\":\"repeated\",\"type\":\"Repo\",\"id\":3,\"comment\":null},\"bundle\":{\"type\":\"bytes\",\"id\":4,\"comment\":\"Bot bundle content Id in the CID v0 format (https://docs.ipfs.io/concepts/content-addressing/#identifier-formats).\"},\"localPath\":{\"type\":\"string\",\"id\":5,\"comment\":\"This would be the path to the bot executable in bot-factory's file-system.\"},\"extension\":{\"type\":\"Record.Extension\",\"id\":100,\"comment\":null}},\"comment\":null},\"BotFactory\":{\"fields\":{\"topic\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"extension\":{\"type\":\"Record.Extension\",\"id\":100,\"comment\":null}},\"comment\":null},\"File\":{\"fields\":{\"contentType\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"fileName\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"bundle\":{\"type\":\"bytes\",\"id\":3,\"comment\":\"File content Id in the CID v0 format (https://docs.ipfs.io/concepts/content-addressing/#identifier-formats).\"},\"extension\":{\"type\":\"Record.Extension\",\"id\":100,\"comment\":null}},\"comment\":null},\"IPFS\":{\"fields\":{\"protocol\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"addresses\":{\"rule\":\"repeated\",\"type\":\"string\",\"id\":2,\"comment\":null},\"extension\":{\"type\":\"Record.Extension\",\"id\":100,\"comment\":null}},\"comment\":null},\"KUBE\":{\"fields\":{\"url\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"extension\":{\"type\":\"Record.Extension\",\"id\":100,\"comment\":null}},\"comment\":null},\"Repo\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"url\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"version\":{\"type\":\"string\",\"id\":3,\"comment\":null}},\"comment\":null},\"Service\":{\"fields\":{\"type\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"kube\":{\"type\":\"bytes\",\"id\":2,\"comment\":null},\"extension\":{\"type\":\"Record.Extension\",\"id\":100,\"comment\":null}},\"comment\":null},\"Signal\":{\"fields\":{\"bootstrap\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"url\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"extension\":{\"type\":\"Record.Extension\",\"id\":100,\"comment\":null}},\"comment\":null},\"StateMachine\":{\"fields\":{\"mutationProtobufDefs\":{\"type\":\"string\",\"id\":1,\"comment\":\"Set of protobuf messages encoded in JSON.\"},\"snapshotProtobufDefs\":{\"type\":\"string\",\"id\":2,\"comment\":\"Set of protobuf messages encoded in JSON.\"},\"codeIpfsCid\":{\"type\":\"bytes\",\"id\":3,\"comment\":null}},\"comment\":null}}}}},\"google\":{\"nested\":{\"protobuf\":{\"options\":{\"go_package\":\"google.golang.org/protobuf/types/descriptorpb\",\"java_package\":\"com.google.protobuf\",\"java_outer_classname\":\"DescriptorProtos\",\"csharp_namespace\":\"Google.Protobuf.Reflection\",\"objc_class_prefix\":\"GPB\",\"cc_enable_arenas\":true,\"optimize_for\":\"SPEED\"},\"nested\":{\"DescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"field\":{\"rule\":\"repeated\",\"type\":\"FieldDescriptorProto\",\"id\":2,\"comment\":null},\"extension\":{\"rule\":\"repeated\",\"type\":\"FieldDescriptorProto\",\"id\":6,\"comment\":null},\"nestedType\":{\"rule\":\"repeated\",\"type\":\"DescriptorProto\",\"id\":3,\"comment\":null},\"enumType\":{\"rule\":\"repeated\",\"type\":\"EnumDescriptorProto\",\"id\":4,\"comment\":null},\"extensionRange\":{\"rule\":\"repeated\",\"type\":\"ExtensionRange\",\"id\":5,\"comment\":null},\"oneofDecl\":{\"rule\":\"repeated\",\"type\":\"OneofDescriptorProto\",\"id\":8,\"comment\":null},\"options\":{\"type\":\"MessageOptions\",\"id\":7,\"comment\":null},\"reservedRange\":{\"rule\":\"repeated\",\"type\":\"ReservedRange\",\"id\":9,\"comment\":null},\"reservedName\":{\"rule\":\"repeated\",\"type\":\"string\",\"id\":10,\"comment\":null}},\"nested\":{\"ExtensionRange\":{\"fields\":{\"start\":{\"type\":\"int32\",\"id\":1,\"comment\":null},\"end\":{\"type\":\"int32\",\"id\":2,\"comment\":null},\"options\":{\"type\":\"ExtensionRangeOptions\",\"id\":3,\"comment\":null}},\"comment\":null},\"ReservedRange\":{\"fields\":{\"start\":{\"type\":\"int32\",\"id\":1,\"comment\":null},\"end\":{\"type\":\"int32\",\"id\":2,\"comment\":null}},\"comment\":null}},\"comment\":null},\"EnumDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"value\":{\"rule\":\"repeated\",\"type\":\"EnumValueDescriptorProto\",\"id\":2,\"comment\":null},\"options\":{\"type\":\"EnumOptions\",\"id\":3,\"comment\":null},\"reservedRange\":{\"rule\":\"repeated\",\"type\":\"EnumReservedRange\",\"id\":4,\"comment\":null},\"reservedName\":{\"rule\":\"repeated\",\"type\":\"string\",\"id\":5,\"comment\":null}},\"nested\":{\"EnumReservedRange\":{\"fields\":{\"start\":{\"type\":\"int32\",\"id\":1,\"comment\":null},\"end\":{\"type\":\"int32\",\"id\":2,\"comment\":null}},\"comment\":null}},\"comment\":null},\"EnumOptions\":{\"fields\":{\"allowAlias\":{\"type\":\"bool\",\"id\":2,\"comment\":null},\"deprecated\":{\"type\":\"bool\",\"id\":3,\"options\":{\"default\":false},\"comment\":null},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999,\"comment\":null}},\"extensions\":[[1000,536870911]],\"reserved\":[[5,5]],\"comment\":null},\"EnumValueDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"number\":{\"type\":\"int32\",\"id\":2,\"comment\":null},\"options\":{\"type\":\"EnumValueOptions\",\"id\":3,\"comment\":null}},\"comment\":null},\"EnumValueOptions\":{\"fields\":{\"deprecated\":{\"type\":\"bool\",\"id\":1,\"options\":{\"default\":false},\"comment\":null},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999,\"comment\":null}},\"extensions\":[[1000,536870911]],\"comment\":null},\"ExtensionRangeOptions\":{\"fields\":{\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999,\"comment\":null}},\"extensions\":[[1000,536870911]],\"comment\":null},\"FieldDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"number\":{\"type\":\"int32\",\"id\":3,\"comment\":null},\"label\":{\"type\":\"Label\",\"id\":4,\"comment\":null},\"type\":{\"type\":\"Type\",\"id\":5,\"comment\":null},\"typeName\":{\"type\":\"string\",\"id\":6,\"comment\":null},\"extendee\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"defaultValue\":{\"type\":\"string\",\"id\":7,\"comment\":null},\"oneofIndex\":{\"type\":\"int32\",\"id\":9,\"comment\":null},\"jsonName\":{\"type\":\"string\",\"id\":10,\"comment\":null},\"options\":{\"type\":\"FieldOptions\",\"id\":8,\"comment\":null},\"proto3Optional\":{\"type\":\"bool\",\"id\":17,\"comment\":null}},\"nested\":{\"Label\":{\"values\":{\"LABEL_OPTIONAL\":1,\"LABEL_REQUIRED\":2,\"LABEL_REPEATED\":3},\"comment\":null,\"comments\":{\"LABEL_OPTIONAL\":null,\"LABEL_REQUIRED\":null,\"LABEL_REPEATED\":null}},\"Type\":{\"values\":{\"TYPE_DOUBLE\":1,\"TYPE_FLOAT\":2,\"TYPE_INT64\":3,\"TYPE_UINT64\":4,\"TYPE_INT32\":5,\"TYPE_FIXED64\":6,\"TYPE_FIXED32\":7,\"TYPE_BOOL\":8,\"TYPE_STRING\":9,\"TYPE_GROUP\":10,\"TYPE_MESSAGE\":11,\"TYPE_BYTES\":12,\"TYPE_UINT32\":13,\"TYPE_ENUM\":14,\"TYPE_SFIXED32\":15,\"TYPE_SFIXED64\":16,\"TYPE_SINT32\":17,\"TYPE_SINT64\":18},\"comment\":null,\"comments\":{\"TYPE_DOUBLE\":null,\"TYPE_FLOAT\":null,\"TYPE_INT64\":null,\"TYPE_UINT64\":null,\"TYPE_INT32\":null,\"TYPE_FIXED64\":null,\"TYPE_FIXED32\":null,\"TYPE_BOOL\":null,\"TYPE_STRING\":null,\"TYPE_GROUP\":null,\"TYPE_MESSAGE\":null,\"TYPE_BYTES\":null,\"TYPE_UINT32\":null,\"TYPE_ENUM\":null,\"TYPE_SFIXED32\":null,\"TYPE_SFIXED64\":null,\"TYPE_SINT32\":null,\"TYPE_SINT64\":null}}},\"comment\":null},\"FieldOptions\":{\"fields\":{\"ctype\":{\"type\":\"CType\",\"id\":1,\"options\":{\"default\":\"STRING\"},\"comment\":null},\"packed\":{\"type\":\"bool\",\"id\":2,\"comment\":null},\"jstype\":{\"type\":\"JSType\",\"id\":6,\"options\":{\"default\":\"JS_NORMAL\"},\"comment\":null},\"lazy\":{\"type\":\"bool\",\"id\":5,\"options\":{\"default\":false},\"comment\":null},\"deprecated\":{\"type\":\"bool\",\"id\":3,\"options\":{\"default\":false},\"comment\":null},\"weak\":{\"type\":\"bool\",\"id\":10,\"options\":{\"default\":false},\"comment\":null},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999,\"comment\":null}},\"extensions\":[[1000,536870911]],\"reserved\":[[4,4]],\"nested\":{\"CType\":{\"values\":{\"STRING\":0,\"CORD\":1,\"STRING_PIECE\":2},\"comment\":null,\"comments\":{\"STRING\":null,\"CORD\":null,\"STRING_PIECE\":null}},\"JSType\":{\"values\":{\"JS_NORMAL\":0,\"JS_STRING\":1,\"JS_NUMBER\":2},\"comment\":null,\"comments\":{\"JS_NORMAL\":null,\"JS_STRING\":null,\"JS_NUMBER\":null}}},\"comment\":null},\"FileDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"package\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"dependency\":{\"rule\":\"repeated\",\"type\":\"string\",\"id\":3,\"comment\":null},\"publicDependency\":{\"rule\":\"repeated\",\"type\":\"int32\",\"id\":10,\"options\":{\"packed\":false},\"comment\":null},\"weakDependency\":{\"rule\":\"repeated\",\"type\":\"int32\",\"id\":11,\"options\":{\"packed\":false},\"comment\":null},\"messageType\":{\"rule\":\"repeated\",\"type\":\"DescriptorProto\",\"id\":4,\"comment\":null},\"enumType\":{\"rule\":\"repeated\",\"type\":\"EnumDescriptorProto\",\"id\":5,\"comment\":null},\"service\":{\"rule\":\"repeated\",\"type\":\"ServiceDescriptorProto\",\"id\":6,\"comment\":null},\"extension\":{\"rule\":\"repeated\",\"type\":\"FieldDescriptorProto\",\"id\":7,\"comment\":null},\"options\":{\"type\":\"FileOptions\",\"id\":8,\"comment\":null},\"sourceCodeInfo\":{\"type\":\"SourceCodeInfo\",\"id\":9,\"comment\":null},\"syntax\":{\"type\":\"string\",\"id\":12,\"comment\":null}},\"comment\":null},\"FileDescriptorSet\":{\"fields\":{\"file\":{\"rule\":\"repeated\",\"type\":\"FileDescriptorProto\",\"id\":1,\"comment\":null}},\"comment\":null},\"FileOptions\":{\"fields\":{\"javaPackage\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"javaOuterClassname\":{\"type\":\"string\",\"id\":8,\"comment\":null},\"javaMultipleFiles\":{\"type\":\"bool\",\"id\":10,\"options\":{\"default\":false},\"comment\":null},\"javaGenerateEqualsAndHash\":{\"type\":\"bool\",\"id\":20,\"options\":{\"deprecated\":true},\"comment\":null},\"javaStringCheckUtf8\":{\"type\":\"bool\",\"id\":27,\"options\":{\"default\":false},\"comment\":null},\"optimizeFor\":{\"type\":\"OptimizeMode\",\"id\":9,\"options\":{\"default\":\"SPEED\"},\"comment\":null},\"goPackage\":{\"type\":\"string\",\"id\":11,\"comment\":null},\"ccGenericServices\":{\"type\":\"bool\",\"id\":16,\"options\":{\"default\":false},\"comment\":null},\"javaGenericServices\":{\"type\":\"bool\",\"id\":17,\"options\":{\"default\":false},\"comment\":null},\"pyGenericServices\":{\"type\":\"bool\",\"id\":18,\"options\":{\"default\":false},\"comment\":null},\"phpGenericServices\":{\"type\":\"bool\",\"id\":42,\"options\":{\"default\":false},\"comment\":null},\"deprecated\":{\"type\":\"bool\",\"id\":23,\"options\":{\"default\":false},\"comment\":null},\"ccEnableArenas\":{\"type\":\"bool\",\"id\":31,\"options\":{\"default\":true},\"comment\":null},\"objcClassPrefix\":{\"type\":\"string\",\"id\":36,\"comment\":null},\"csharpNamespace\":{\"type\":\"string\",\"id\":37,\"comment\":null},\"swiftPrefix\":{\"type\":\"string\",\"id\":39,\"comment\":null},\"phpClassPrefix\":{\"type\":\"string\",\"id\":40,\"comment\":null},\"phpNamespace\":{\"type\":\"string\",\"id\":41,\"comment\":null},\"phpMetadataNamespace\":{\"type\":\"string\",\"id\":44,\"comment\":null},\"rubyPackage\":{\"type\":\"string\",\"id\":45,\"comment\":null},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999,\"comment\":null}},\"extensions\":[[1000,536870911]],\"reserved\":[[38,38]],\"nested\":{\"OptimizeMode\":{\"values\":{\"SPEED\":1,\"CODE_SIZE\":2,\"LITE_RUNTIME\":3},\"comment\":null,\"comments\":{\"SPEED\":null,\"CODE_SIZE\":null,\"LITE_RUNTIME\":null}}},\"comment\":null},\"GeneratedCodeInfo\":{\"fields\":{\"annotation\":{\"rule\":\"repeated\",\"type\":\"Annotation\",\"id\":1,\"comment\":null}},\"nested\":{\"Annotation\":{\"fields\":{\"path\":{\"rule\":\"repeated\",\"type\":\"int32\",\"id\":1,\"comment\":null},\"sourceFile\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"begin\":{\"type\":\"int32\",\"id\":3,\"comment\":null},\"end\":{\"type\":\"int32\",\"id\":4,\"comment\":null}},\"comment\":null}},\"comment\":null},\"MessageOptions\":{\"fields\":{\"messageSetWireFormat\":{\"type\":\"bool\",\"id\":1,\"options\":{\"default\":false},\"comment\":null},\"noStandardDescriptorAccessor\":{\"type\":\"bool\",\"id\":2,\"options\":{\"default\":false},\"comment\":null},\"deprecated\":{\"type\":\"bool\",\"id\":3,\"options\":{\"default\":false},\"comment\":null},\"mapEntry\":{\"type\":\"bool\",\"id\":7,\"comment\":null},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999,\"comment\":null}},\"extensions\":[[1000,536870911]],\"reserved\":[[8,8],[9,9]],\"comment\":null},\"MethodDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"inputType\":{\"type\":\"string\",\"id\":2,\"comment\":null},\"outputType\":{\"type\":\"string\",\"id\":3,\"comment\":null},\"options\":{\"type\":\"MethodOptions\",\"id\":4,\"comment\":null},\"clientStreaming\":{\"type\":\"bool\",\"id\":5,\"options\":{\"default\":false},\"comment\":null},\"serverStreaming\":{\"type\":\"bool\",\"id\":6,\"options\":{\"default\":false},\"comment\":null}},\"comment\":null},\"MethodOptions\":{\"fields\":{\"deprecated\":{\"type\":\"bool\",\"id\":33,\"options\":{\"default\":false},\"comment\":null},\"idempotencyLevel\":{\"type\":\"IdempotencyLevel\",\"id\":34,\"options\":{\"default\":\"IDEMPOTENCY_UNKNOWN\"},\"comment\":null},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999,\"comment\":null}},\"extensions\":[[1000,536870911]],\"nested\":{\"IdempotencyLevel\":{\"values\":{\"IDEMPOTENCY_UNKNOWN\":0,\"NO_SIDE_EFFECTS\":1,\"IDEMPOTENT\":2},\"comment\":null,\"comments\":{\"IDEMPOTENCY_UNKNOWN\":null,\"NO_SIDE_EFFECTS\":null,\"IDEMPOTENT\":null}}},\"comment\":null},\"OneofDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"options\":{\"type\":\"OneofOptions\",\"id\":2,\"comment\":null}},\"comment\":null},\"OneofOptions\":{\"fields\":{\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999,\"comment\":null}},\"extensions\":[[1000,536870911]],\"comment\":null},\"ServiceDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"method\":{\"rule\":\"repeated\",\"type\":\"MethodDescriptorProto\",\"id\":2,\"comment\":null},\"options\":{\"type\":\"ServiceOptions\",\"id\":3,\"comment\":null}},\"comment\":null},\"ServiceOptions\":{\"fields\":{\"deprecated\":{\"type\":\"bool\",\"id\":33,\"options\":{\"default\":false},\"comment\":null},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999,\"comment\":null}},\"extensions\":[[1000,536870911]],\"comment\":null},\"SourceCodeInfo\":{\"fields\":{\"location\":{\"rule\":\"repeated\",\"type\":\"Location\",\"id\":1,\"comment\":null}},\"nested\":{\"Location\":{\"fields\":{\"path\":{\"rule\":\"repeated\",\"type\":\"int32\",\"id\":1,\"comment\":null},\"span\":{\"rule\":\"repeated\",\"type\":\"int32\",\"id\":2,\"comment\":null},\"leadingComments\":{\"type\":\"string\",\"id\":3,\"comment\":null},\"trailingComments\":{\"type\":\"string\",\"id\":4,\"comment\":null},\"leadingDetachedComments\":{\"rule\":\"repeated\",\"type\":\"string\",\"id\":6,\"comment\":null}},\"comment\":null}},\"comment\":null},\"Timestamp\":{\"fields\":{\"seconds\":{\"type\":\"int64\",\"id\":1},\"nanos\":{\"type\":\"int32\",\"id\":2}},\"comment\":null},\"UninterpretedOption\":{\"fields\":{\"name\":{\"rule\":\"repeated\",\"type\":\"NamePart\",\"id\":2,\"comment\":null},\"identifierValue\":{\"type\":\"string\",\"id\":3,\"comment\":null},\"positiveIntValue\":{\"type\":\"uint64\",\"id\":4,\"comment\":null},\"negativeIntValue\":{\"type\":\"int64\",\"id\":5,\"comment\":null},\"doubleValue\":{\"type\":\"double\",\"id\":6,\"comment\":null},\"stringValue\":{\"type\":\"bytes\",\"id\":7,\"comment\":null},\"aggregateValue\":{\"type\":\"string\",\"id\":8,\"comment\":null}},\"nested\":{\"NamePart\":{\"fields\":{\"namePart\":{\"rule\":\"required\",\"type\":\"string\",\"id\":1,\"comment\":null},\"isExtension\":{\"rule\":\"required\",\"type\":\"bool\",\"id\":2,\"comment\":null}},\"comment\":null}},\"comment\":null}}}}}}}"); export const schema = Schema.fromJson(schemaJson, substitutions);