swagger: '2.0' info: title: Distributed Compliance Ledger - REST and gRPC Gateway docs version: master license: name: Apache 2.0 url: >- https://github.com/zigbee-alliance/distributed-compliance-ledger/blob/master/LICENSE description: >- A REST interface for state queries. CometBFT RPC endpoints are available here: https://docs.cometbft.com/v0.37/rpc/. paths: /dcl/compliance/certified-models: get: summary: Queries a list of CertifiedModel items. operationId: CertifiedModelAll responses: '200': description: A successful response. schema: type: object properties: certifiedModel: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 value: type: boolean schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/compliance/certified-models/{vid}/{pid}/{softwareVersion}/{certificationType}: get: summary: Queries a CertifiedModel by index. operationId: CertifiedModel responses: '200': description: A successful response. schema: type: object properties: certifiedModel: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 value: type: boolean schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: vid description: Model vendor ID. in: path required: true type: integer format: int32 - name: pid description: Model product ID. in: path required: true type: integer format: int32 - name: softwareVersion description: Model software version. in: path required: true type: integer format: int64 - name: certificationType description: 'Certification type. One of: zigbee, matter, aliro.' in: path required: true type: string tags: - Query /dcl/compliance/compliance-info: get: summary: Queries a list of ComplianceInfo items. operationId: ComplianceInfoAll responses: '200': description: A successful response. schema: type: object properties: complianceInfo: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 softwareVersionString: type: string maxLength: 64 cDVersionNumber: type: integer format: int64 maximum: 65535 softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string maxLength: 20480 owner: type: string history: type: array items: type: object properties: softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string cDVersionNumber: type: integer format: int64 schemaVersion: type: integer format: int64 cDCertificateId: type: string maxLength: 19 minLength: 19 certificationRoute: type: string enum: - fullTested - similarity - rapid-recert - fastTrack - ctp - family - portfolio maxLength: 64 programType: type: string enum: - endProduct - softwareComponent - compliantPlatform maxLength: 64 programTypeVersion: type: string maxLength: 64 compliantPlatformUsed: type: string title: Deprecated maxLength: 64 compliantPlatformVersion: type: string title: Deprecated maxLength: 64 transport: type: string description: >- Comma-separated list of transports; supported values: thread, wi-fi, ethernet, bluetooth, nfc. Duplicates are not allowed. maxLength: 64 familyId: type: string description: Only alphanumeric characters are allowed. maxLength: 64 supportedClusters: type: string description: >- Comma-separated list of cluster IDs, each 0x followed by 1-4 hexadecimal digits. Duplicates are not allowed. maxLength: 256 OSVersion: type: string title: Deprecated maxLength: 64 parentChild: type: string enum: - parent - child maxLength: 64 certificationIdOfSoftwareComponent: type: string title: Deprecated maxLength: 64 schemaVersion: type: integer format: int64 specificationVersion: type: integer format: int64 description: >- Encoded specification version, e.g. 0x01040200 for version 1.4.2.0. pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/compliance/compliance-info/{vid}/{pid}/{softwareVersion}/{certificationType}: get: summary: Queries a ComplianceInfo by index. operationId: ComplianceInfo responses: '200': description: A successful response. schema: type: object properties: complianceInfo: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 softwareVersionString: type: string maxLength: 64 cDVersionNumber: type: integer format: int64 maximum: 65535 softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string maxLength: 20480 owner: type: string history: type: array items: type: object properties: softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string cDVersionNumber: type: integer format: int64 schemaVersion: type: integer format: int64 cDCertificateId: type: string maxLength: 19 minLength: 19 certificationRoute: type: string enum: - fullTested - similarity - rapid-recert - fastTrack - ctp - family - portfolio maxLength: 64 programType: type: string enum: - endProduct - softwareComponent - compliantPlatform maxLength: 64 programTypeVersion: type: string maxLength: 64 compliantPlatformUsed: type: string title: Deprecated maxLength: 64 compliantPlatformVersion: type: string title: Deprecated maxLength: 64 transport: type: string description: >- Comma-separated list of transports; supported values: thread, wi-fi, ethernet, bluetooth, nfc. Duplicates are not allowed. maxLength: 64 familyId: type: string description: Only alphanumeric characters are allowed. maxLength: 64 supportedClusters: type: string description: >- Comma-separated list of cluster IDs, each 0x followed by 1-4 hexadecimal digits. Duplicates are not allowed. maxLength: 256 OSVersion: type: string title: Deprecated maxLength: 64 parentChild: type: string enum: - parent - child maxLength: 64 certificationIdOfSoftwareComponent: type: string title: Deprecated maxLength: 64 schemaVersion: type: integer format: int64 specificationVersion: type: integer format: int64 description: >- Encoded specification version, e.g. 0x01040200 for version 1.4.2.0. default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: vid description: Model vendor ID. in: path required: true type: integer format: int32 - name: pid description: Model product ID. in: path required: true type: integer format: int32 - name: softwareVersion description: Model software version. in: path required: true type: integer format: int64 - name: certificationType description: 'Certification type. One of: zigbee, matter, aliro.' in: path required: true type: string tags: - Query /dcl/compliance/device-software-compliance: get: summary: Queries a list of DeviceSoftwareCompliance items. operationId: DeviceSoftwareComplianceAll responses: '200': description: A successful response. schema: type: object properties: deviceSoftwareCompliance: type: array items: type: object properties: cDCertificateId: type: string complianceInfo: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 softwareVersionString: type: string maxLength: 64 cDVersionNumber: type: integer format: int64 maximum: 65535 softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string maxLength: 20480 owner: type: string history: type: array items: type: object properties: softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string cDVersionNumber: type: integer format: int64 schemaVersion: type: integer format: int64 cDCertificateId: type: string maxLength: 19 minLength: 19 certificationRoute: type: string enum: - fullTested - similarity - rapid-recert - fastTrack - ctp - family - portfolio maxLength: 64 programType: type: string enum: - endProduct - softwareComponent - compliantPlatform maxLength: 64 programTypeVersion: type: string maxLength: 64 compliantPlatformUsed: type: string title: Deprecated maxLength: 64 compliantPlatformVersion: type: string title: Deprecated maxLength: 64 transport: type: string description: >- Comma-separated list of transports; supported values: thread, wi-fi, ethernet, bluetooth, nfc. Duplicates are not allowed. maxLength: 64 familyId: type: string description: Only alphanumeric characters are allowed. maxLength: 64 supportedClusters: type: string description: >- Comma-separated list of cluster IDs, each 0x followed by 1-4 hexadecimal digits. Duplicates are not allowed. maxLength: 256 OSVersion: type: string title: Deprecated maxLength: 64 parentChild: type: string enum: - parent - child maxLength: 64 certificationIdOfSoftwareComponent: type: string title: Deprecated maxLength: 64 schemaVersion: type: integer format: int64 specificationVersion: type: integer format: int64 description: >- Encoded specification version, e.g. 0x01040200 for version 1.4.2.0. schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/compliance/device-software-compliance/{cDCertificateId}: get: summary: Queries a DeviceSoftwareCompliance by index. operationId: DeviceSoftwareCompliance responses: '200': description: A successful response. schema: type: object properties: deviceSoftwareCompliance: type: object properties: cDCertificateId: type: string complianceInfo: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 softwareVersionString: type: string maxLength: 64 cDVersionNumber: type: integer format: int64 maximum: 65535 softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string maxLength: 20480 owner: type: string history: type: array items: type: object properties: softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string cDVersionNumber: type: integer format: int64 schemaVersion: type: integer format: int64 cDCertificateId: type: string maxLength: 19 minLength: 19 certificationRoute: type: string enum: - fullTested - similarity - rapid-recert - fastTrack - ctp - family - portfolio maxLength: 64 programType: type: string enum: - endProduct - softwareComponent - compliantPlatform maxLength: 64 programTypeVersion: type: string maxLength: 64 compliantPlatformUsed: type: string title: Deprecated maxLength: 64 compliantPlatformVersion: type: string title: Deprecated maxLength: 64 transport: type: string description: >- Comma-separated list of transports; supported values: thread, wi-fi, ethernet, bluetooth, nfc. Duplicates are not allowed. maxLength: 64 familyId: type: string description: Only alphanumeric characters are allowed. maxLength: 64 supportedClusters: type: string description: >- Comma-separated list of cluster IDs, each 0x followed by 1-4 hexadecimal digits. Duplicates are not allowed. maxLength: 256 OSVersion: type: string title: Deprecated maxLength: 64 parentChild: type: string enum: - parent - child maxLength: 64 certificationIdOfSoftwareComponent: type: string title: Deprecated maxLength: 64 schemaVersion: type: integer format: int64 specificationVersion: type: integer format: int64 description: >- Encoded specification version, e.g. 0x01040200 for version 1.4.2.0. schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: cDCertificateId description: >- CD Certificate ID assigned during certification (exactly 19 characters). in: path required: true type: string tags: - Query /dcl/compliance/provisional-models: get: summary: Queries a list of ProvisionalModel items. operationId: ProvisionalModelAll responses: '200': description: A successful response. schema: type: object properties: provisionalModel: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 value: type: boolean schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/compliance/provisional-models/{vid}/{pid}/{softwareVersion}/{certificationType}: get: summary: Queries a ProvisionalModel by index. operationId: ProvisionalModel responses: '200': description: A successful response. schema: type: object properties: provisionalModel: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 value: type: boolean schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: vid description: Model vendor ID. in: path required: true type: integer format: int32 - name: pid description: Model product ID. in: path required: true type: integer format: int32 - name: softwareVersion description: Model software version. in: path required: true type: integer format: int64 - name: certificationType description: 'Certification type. One of: zigbee, matter, aliro.' in: path required: true type: string tags: - Query /dcl/compliance/revoked-models: get: summary: Queries a list of RevokedModel items. operationId: RevokedModelAll responses: '200': description: A successful response. schema: type: object properties: revokedModel: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 value: type: boolean schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/compliance/revoked-models/{vid}/{pid}/{softwareVersion}/{certificationType}: get: summary: Queries a RevokedModel by index. operationId: RevokedModel responses: '200': description: A successful response. schema: type: object properties: revokedModel: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 value: type: boolean schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: vid description: Model vendor ID. in: path required: true type: integer format: int32 - name: pid description: Model product ID. in: path required: true type: integer format: int32 - name: softwareVersion description: Model software version. in: path required: true type: integer format: int64 - name: certificationType description: 'Certification type. One of: zigbee, matter, aliro.' in: path required: true type: string tags: - Query /dcl/auth/accounts: get: summary: Queries a list of account items. operationId: AccountAll responses: '200': description: A successful response. schema: type: object properties: account: type: array items: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/auth/accounts/stat: get: summary: Queries a accountStat by index. operationId: AccountStat responses: '200': description: A successful response. schema: type: object properties: AccountStat: type: object properties: number: type: string format: uint64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } tags: - Query /dcl/auth/accounts/{address}: get: summary: Queries a account by index. operationId: Account responses: '200': description: A successful response. schema: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: address description: Account address (Bech32-encoded). in: path required: true type: string tags: - Query /dcl/auth/proposed-accounts: get: summary: Queries a list of pendingAccount items. operationId: PendingAccountAll responses: '200': description: A successful response. schema: type: object properties: pendingAccount: type: array items: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 pendingAccountSchemaVersion: type: integer format: int64 title: |- TODO issue 99: do we need that ??? option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/auth/proposed-accounts/{address}: get: summary: Queries a pendingAccount by index. operationId: PendingAccount responses: '200': description: A successful response. schema: type: object properties: pendingAccount: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 pendingAccountSchemaVersion: type: integer format: int64 title: |- TODO issue 99: do we need that ??? option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: address description: Account address (Bech32-encoded). in: path required: true type: string tags: - Query /dcl/auth/proposed-revocation-accounts: get: summary: Queries a list of pendingAccountRevocation items. operationId: PendingAccountRevocationAll responses: '200': description: A successful response. schema: type: object properties: pendingAccountRevocation: type: array items: type: object properties: address: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/auth/proposed-revocation-accounts/{address}: get: summary: Queries a pendingAccountRevocation by index. operationId: PendingAccountRevocation responses: '200': description: A successful response. schema: type: object properties: pendingAccountRevocation: type: object properties: address: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: address description: Account address (Bech32-encoded). in: path required: true type: string tags: - Query /dcl/auth/rejected-accounts: get: summary: Queries a list of RejectedAccount items. operationId: RejectedAccountAll responses: '200': description: A successful response. schema: type: object properties: rejectedAccount: type: array items: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 rejectedAccountSchemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/auth/rejected-accounts/{address}: get: summary: Queries a RejectedAccount by index. operationId: RejectedAccount responses: '200': description: A successful response. schema: type: object properties: rejectedAccount: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 rejectedAccountSchemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: address description: Account address (Bech32-encoded). in: path required: true type: string tags: - Query /dcl/auth/revoked-accounts: get: summary: Queries a list of RevokedAccount items. operationId: RevokedAccountAll responses: '200': description: A successful response. schema: type: object properties: revokedAccount: type: array items: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 revokeApprovals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 reason: type: string enum: - TrusteeVoting - MaliciousValidator default: TrusteeVoting revokedAccountSchemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/auth/revoked-accounts/{address}: get: summary: Queries a RevokedAccount by index. operationId: RevokedAccount responses: '200': description: A successful response. schema: type: object properties: revokedAccount: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 revokeApprovals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 reason: type: string enum: - TrusteeVoting - MaliciousValidator default: TrusteeVoting revokedAccountSchemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: address description: Account address (Bech32-encoded). in: path required: true type: string tags: - Query /dcl/dclupgrade/approved-upgrades: get: summary: Queries a list of ApprovedUpgrade items. operationId: ApprovedUpgradeAll responses: '200': description: A successful response. schema: type: object properties: approvedUpgrade: type: array items: type: object properties: plan: type: object properties: name: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. time: type: string format: date-time description: >- Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. height: type: string format: int64 description: The height at which the upgrade must be performed. info: type: string title: >- Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/dclupgrade/approved-upgrades/{name}: get: summary: Queries a ApprovedUpgrade by index. operationId: ApprovedUpgrade responses: '200': description: A successful response. schema: type: object properties: approvedUpgrade: type: object properties: plan: type: object properties: name: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. time: type: string format: date-time description: >- Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. height: type: string format: int64 description: The height at which the upgrade must be performed. info: type: string title: >- Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: name description: Upgrade plan name. in: path required: true type: string tags: - Query /dcl/dclupgrade/proposed-upgrades: get: summary: Queries a list of ProposedUpgrade items. operationId: ProposedUpgradeAll responses: '200': description: A successful response. schema: type: object properties: proposedUpgrade: type: array items: type: object properties: plan: type: object properties: name: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. time: type: string format: date-time description: >- Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. height: type: string format: int64 description: The height at which the upgrade must be performed. info: type: string title: >- Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/dclupgrade/proposed-upgrades/{name}: get: summary: Queries a ProposedUpgrade by index. operationId: ProposedUpgrade responses: '200': description: A successful response. schema: type: object properties: proposedUpgrade: type: object properties: plan: type: object properties: name: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. time: type: string format: date-time description: >- Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. height: type: string format: int64 description: The height at which the upgrade must be performed. info: type: string title: >- Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: name description: Upgrade plan name. in: path required: true type: string tags: - Query /dcl/dclupgrade/rejected-upgrades: get: summary: Queries a list of RejectedUpgrade items. operationId: RejectedUpgradeAll responses: '200': description: A successful response. schema: type: object properties: rejectedUpgrade: type: array items: type: object properties: plan: type: object properties: name: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. time: type: string format: date-time description: >- Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. height: type: string format: int64 description: The height at which the upgrade must be performed. info: type: string title: >- Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/dclupgrade/rejected-upgrades/{name}: get: summary: Queries a RejectedUpgrade by index. operationId: RejectedUpgrade responses: '200': description: A successful response. schema: type: object properties: rejectedUpgrade: type: object properties: plan: type: object properties: name: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. time: type: string format: date-time description: >- Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. height: type: string format: int64 description: The height at which the upgrade must be performed. info: type: string title: >- Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: name description: Upgrade plan name. in: path required: true type: string tags: - Query /dcl/model/models: get: summary: Queries a list of all Model items. operationId: ModelAll responses: '200': description: A successful response. schema: type: object properties: model: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 deviceTypeId: type: integer format: int32 maximum: 65535 productName: type: string maxLength: 128 productLabel: type: string maxLength: 256 partNumber: type: string maxLength: 32 commissioningCustomFlow: type: integer format: int32 maximum: 2 commissioningCustomFlowUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 commissioningModeInitialStepsHint: type: integer format: int64 commissioningModeInitialStepsInstruction: type: string maxLength: 1024 commissioningModeSecondaryStepsHint: type: integer format: int64 commissioningModeSecondaryStepsInstruction: type: string maxLength: 1024 userManualUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 supportUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 productUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 lsfUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 lsfRevision: type: integer format: int32 maximum: 65535 creator: type: string schemaVersion: type: integer format: int64 enhancedSetupFlowOptions: type: integer format: int32 enhancedSetupFlowTCUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 enhancedSetupFlowTCRevision: type: integer format: int32 maximum: 65535 enhancedSetupFlowTCDigest: type: string maxLength: 128 enhancedSetupFlowTCFileSize: type: integer format: int64 maintenanceUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 discoveryCapabilitiesBitmask: type: integer format: int64 maximum: 14 commissioningFallbackUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 icdUserActiveModeTriggerHint: type: integer format: int64 icdUserActiveModeTriggerInstruction: type: string maxLength: 1024 factoryResetStepsHint: type: integer format: int64 factoryResetStepsInstruction: type: string maxLength: 1024 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/model/models/{vid}: get: summary: Queries VendorProducts by index. operationId: VendorProducts responses: '200': description: A successful response. schema: type: object properties: vendorProducts: type: object properties: vid: type: integer format: int32 products: type: array items: type: object properties: pid: type: integer format: int32 name: type: string partNumber: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: vid description: Model vendor ID. in: path required: true type: integer format: int32 tags: - Query /dcl/model/models/{vid}/{pid}: get: summary: Queries a Model by index. operationId: Model responses: '200': description: A successful response. schema: type: object properties: model: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 deviceTypeId: type: integer format: int32 maximum: 65535 productName: type: string maxLength: 128 productLabel: type: string maxLength: 256 partNumber: type: string maxLength: 32 commissioningCustomFlow: type: integer format: int32 maximum: 2 commissioningCustomFlowUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 commissioningModeInitialStepsHint: type: integer format: int64 commissioningModeInitialStepsInstruction: type: string maxLength: 1024 commissioningModeSecondaryStepsHint: type: integer format: int64 commissioningModeSecondaryStepsInstruction: type: string maxLength: 1024 userManualUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 supportUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 productUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 lsfUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 lsfRevision: type: integer format: int32 maximum: 65535 creator: type: string schemaVersion: type: integer format: int64 enhancedSetupFlowOptions: type: integer format: int32 enhancedSetupFlowTCUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 enhancedSetupFlowTCRevision: type: integer format: int32 maximum: 65535 enhancedSetupFlowTCDigest: type: string maxLength: 128 enhancedSetupFlowTCFileSize: type: integer format: int64 maintenanceUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 discoveryCapabilitiesBitmask: type: integer format: int64 maximum: 14 commissioningFallbackUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 icdUserActiveModeTriggerHint: type: integer format: int64 icdUserActiveModeTriggerInstruction: type: string maxLength: 1024 factoryResetStepsHint: type: integer format: int64 factoryResetStepsInstruction: type: string maxLength: 1024 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: vid description: Model vendor ID. in: path required: true type: integer format: int32 - name: pid description: Model product ID. in: path required: true type: integer format: int32 tags: - Query /dcl/model/versions/{vid}/{pid}: get: summary: Queries ModelVersions by index. operationId: ModelVersions responses: '200': description: A successful response. schema: type: object properties: modelVersions: type: object properties: vid: type: integer format: int32 pid: type: integer format: int32 softwareVersions: type: array items: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: vid description: Model vendor ID. in: path required: true type: integer format: int32 - name: pid description: Model product ID. in: path required: true type: integer format: int32 tags: - Query /dcl/model/versions/{vid}/{pid}/{softwareVersion}: get: summary: Queries a ModelVersion by index. operationId: ModelVersion responses: '200': description: A successful response. schema: type: object properties: modelVersion: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 softwareVersionString: type: string maxLength: 64 cdVersionNumber: type: integer format: int32 maximum: 65535 firmwareInformation: type: string maxLength: 512 softwareVersionValid: type: boolean otaUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 otaFileSize: type: string format: uint64 otaChecksum: type: string description: Base64-encoded digest; 44-88 characters when present. maxLength: 88 otaChecksumType: type: integer format: int32 description: >- Allowed values: 1 (sha-256), 7 (sha-384), 8 (sha-512), 10 (sha3-256), 11 (sha3-384), 12 (sha3-512). minApplicableSoftwareVersion: type: integer format: int64 maxApplicableSoftwareVersion: type: integer format: int64 releaseNotesUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 creator: type: string schemaVersion: type: integer format: int64 specificationVersion: type: integer format: int64 title: >- Deprecated: will be stated/stored in ComplianceInfo record: default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: vid description: Model vendor ID. in: path required: true type: integer format: int32 - name: pid description: Model product ID. in: path required: true type: integer format: int32 - name: softwareVersion description: Model software version. in: path required: true type: integer format: int64 tags: - Query /dcl/pki/all-certificates: get: summary: Queries a list of Certificates items. operationId: CertificatesAll responses: '200': description: A successful response. schema: type: object properties: certificates: type: array items: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean - name: subjectKeyId description: >- Certificate's subject key ID in hex string format, e.g. 5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB. in: query required: false type: string tags: - Query /dcl/pki/all-certificates/{subject}: get: summary: Queries a AllCertificatesBySubject by index. operationId: AllCertificatesBySubject responses: '200': description: A successful response. schema: type: object properties: allCertificatesBySubject: type: object properties: subject: type: string subjectKeyIds: type: array items: type: string schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: subject description: Certificate's subject — base64-encoded subject DER sequence bytes. in: path required: true type: string tags: - Query /dcl/pki/all-certificates/{subject}/{subjectKeyId}: get: summary: Queries a Certificates by index. operationId: Certificates responses: '200': description: A successful response. schema: type: object properties: certificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: subject description: Certificate's subject — base64-encoded subject DER sequence bytes. in: path required: true type: string - name: subjectKeyId description: >- Certificate's subject key ID in hex string format, e.g. 5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB. in: path required: true type: string tags: - Query /dcl/pki/all-noc-certificates: get: summary: Queries a list of NocCertificates items. operationId: NocCertificatesAll responses: '200': description: A successful response. schema: type: object properties: nocCertificates: type: array items: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 tq: type: number format: float schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean - name: subjectKeyId description: >- Certificate's subject key ID in hex string format, e.g. 5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB. in: query required: false type: string tags: - Query /dcl/pki/all-noc-certificates/{subject}: get: summary: Queries a NocCertificatesBySubject by index. operationId: NocCertificatesBySubject responses: '200': description: A successful response. schema: type: object properties: nocCertificatesBySubject: type: object properties: subject: type: string subjectKeyIds: type: array items: type: string schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: subject description: Certificate's subject — base64-encoded subject DER sequence bytes. in: path required: true type: string tags: - Query /dcl/pki/all-noc-certificates/{subject}/{subjectKeyId}: get: summary: Queries a NocCertificates by index. operationId: NocCertificates responses: '200': description: A successful response. schema: type: object properties: nocCertificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 tq: type: number format: float schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: subject description: Certificate's subject — base64-encoded subject DER sequence bytes. in: path required: true type: string - name: subjectKeyId description: >- Certificate's subject key ID in hex string format, e.g. 5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB. in: path required: true type: string tags: - Query /dcl/pki/certificates: get: summary: Queries a list of ApprovedCertificates items. operationId: ApprovedCertificatesAll responses: '200': description: A successful response. schema: type: object properties: approvedCertificates: type: array items: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean - name: subjectKeyId description: >- Certificate's subject key ID in hex string format, e.g. 5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB. in: query required: false type: string tags: - Query /dcl/pki/certificates/{subject}: get: summary: Queries a ApprovedCertificatesBySubject by index. operationId: ApprovedCertificatesBySubject responses: '200': description: A successful response. schema: type: object properties: approvedCertificatesBySubject: type: object properties: subject: type: string subjectKeyIds: type: array items: type: string schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: subject description: Certificate's subject — base64-encoded subject DER sequence bytes. in: path required: true type: string tags: - Query /dcl/pki/certificates/{subject}/{subjectKeyId}: get: summary: Queries a ApprovedCertificates by index. operationId: ApprovedCertificates responses: '200': description: A successful response. schema: type: object properties: approvedCertificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: subject description: Certificate's subject — base64-encoded subject DER sequence bytes. in: path required: true type: string - name: subjectKeyId description: >- Certificate's subject key ID in hex string format, e.g. 5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB. in: path required: true type: string tags: - Query /dcl/pki/child-certificates/{issuer}/{authorityKeyId}: get: summary: Queries a ChildCertificates by index. operationId: ChildCertificates responses: '200': description: A successful response. schema: type: object properties: childCertificates: type: object properties: issuer: type: string authorityKeyId: type: string certIds: type: array items: type: object properties: subject: type: string subjectKeyId: type: string schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: issuer description: >- Issuer certificate's subject — base64-encoded subject DER sequence bytes. in: path required: true type: string - name: authorityKeyId description: >- Issuer certificate's subject key ID in hex string format, e.g. 5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB. in: path required: true type: string tags: - Query /dcl/pki/noc-ica-certificates: get: summary: Queries a list of NocIcaCertificates items. operationId: NocIcaCertificatesAll responses: '200': description: A successful response. schema: type: object properties: nocIcaCertificates: type: array items: type: object properties: vid: type: integer format: int32 certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/pki/noc-root-certificates: get: summary: Queries a list of NocRootCertificates items. operationId: NocRootCertificatesAll responses: '200': description: A successful response. schema: type: object properties: nocRootCertificates: type: array items: type: object properties: vid: type: integer format: int32 certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/pki/noc-vid-certificates/{vid}/{subjectKeyId}: get: summary: Queries a NocCertificatesByVidAndSkid by index. operationId: NocCertificatesByVidAndSkid responses: '200': description: A successful response. schema: type: object properties: nocCertificatesByVidAndSkid: type: object properties: vid: type: integer format: int32 subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 tq: type: number format: float schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: vid description: Vendor ID. in: path required: true type: integer format: int32 - name: subjectKeyId description: >- Certificate's subject key ID in hex string format, e.g. 5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB. in: path required: true type: string tags: - Query /dcl/pki/noc-vid-ica-certificates/{vid}: get: summary: Queries a NocIcaCertificates by index. operationId: NocIcaCertificates responses: '200': description: A successful response. schema: type: object properties: nocIcaCertificates: type: object properties: vid: type: integer format: int32 certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: vid description: Vendor ID. in: path required: true type: integer format: int32 tags: - Query /dcl/pki/noc-vid-root-certificates/{vid}: get: summary: Queries a NocRootCertificates by index. operationId: NocRootCertificates responses: '200': description: A successful response. schema: type: object properties: nocRootCertificates: type: object properties: vid: type: integer format: int32 certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: vid description: Vendor ID. in: path required: true type: integer format: int32 tags: - Query /dcl/pki/proposed-certificates: get: summary: Queries a list of ProposedCertificate items. operationId: ProposedCertificateAll responses: '200': description: A successful response. schema: type: object properties: proposedCertificate: type: array items: type: object properties: subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 pemCert: type: string maxLength: 20480 serialNumber: type: string owner: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certSchemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/pki/proposed-certificates/{subject}/{subjectKeyId}: get: summary: Queries a ProposedCertificate by index. operationId: ProposedCertificate responses: '200': description: A successful response. schema: type: object properties: proposedCertificate: type: object properties: subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 pemCert: type: string maxLength: 20480 serialNumber: type: string owner: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certSchemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: subject description: Certificate's subject — base64-encoded subject DER sequence bytes. in: path required: true type: string - name: subjectKeyId description: >- Certificate's subject key ID in hex string format, e.g. 5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB. in: path required: true type: string tags: - Query /dcl/pki/proposed-revocation-certificates: get: summary: Queries a list of ProposedCertificateRevocation items. operationId: ProposedCertificateRevocationAll responses: '200': description: A successful response. schema: type: object properties: proposedCertificateRevocation: type: array items: type: object properties: subject: type: string subjectKeyId: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string serialNumber: type: string revokeChild: type: boolean schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/pki/proposed-revocation-certificates/{subject}/{subjectKeyId}: get: summary: Queries a ProposedCertificateRevocation by index. operationId: ProposedCertificateRevocation responses: '200': description: A successful response. schema: type: object properties: proposedCertificateRevocation: type: object properties: subject: type: string subjectKeyId: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string serialNumber: type: string revokeChild: type: boolean schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: subject description: Certificate's subject — base64-encoded subject DER sequence bytes. in: path required: true type: string - name: subjectKeyId description: >- Certificate's subject key ID in hex string format, e.g. 5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB. in: path required: true type: string - name: serialNumber description: Certificate's serial number. in: query required: false type: string tags: - Query /dcl/pki/rejected-certificates: get: summary: Queries a list of RejectedCertificate items. operationId: RejectedCertificateAll responses: '200': description: A successful response. schema: type: object properties: rejectedCertificate: type: array items: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/pki/rejected-certificates/{subject}/{subjectKeyId}: get: summary: Queries a RejectedCertificate by index. operationId: RejectedCertificate responses: '200': description: A successful response. schema: type: object properties: rejectedCertificate: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: subject description: Certificate's subject — base64-encoded subject DER sequence bytes. in: path required: true type: string - name: subjectKeyId description: >- Certificate's subject key ID in hex string format, e.g. 5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB. in: path required: true type: string tags: - Query /dcl/pki/revocation-points: get: summary: Queries a list of PkiRevocationDistributionPoint items. operationId: PkiRevocationDistributionPointAll responses: '200': description: A successful response. schema: type: object properties: PkiRevocationDistributionPoint: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 label: type: string maxLength: 64 issuerSubjectKeyID: type: string description: >- Even number of uppercase hexadecimal characters, no whitespace. maxLength: 64 pid: type: integer format: int32 maximum: 65535 isPAA: type: boolean crlSignerCertificate: type: string maxLength: 2048 dataURL: type: string description: >- Must start with http:// or https://. Unique per (VendorID, IssuerSubjectKeyID) pair. maxLength: 256 dataFileSize: type: string format: uint64 dataDigest: type: string maxLength: 128 dataDigestType: type: integer format: int64 description: >- Allowed values: 1 (sha-256), 7 (sha-384), 8 (sha-512), 10 (sha3-256), 11 (sha3-384), 12 (sha3-512). revocationType: type: integer format: int64 description: >- Supported values: 1 (RFC5280 Certificate Revocation List). schemaVersion: type: integer format: int64 crlSignerDelegator: type: string maxLength: 2048 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/pki/revocation-points/{issuerSubjectKeyID}: get: summary: Queries a PkiRevocationDistributionPointsByIssuerSubjectKeyID by index. operationId: PkiRevocationDistributionPointsByIssuerSubjectKeyID responses: '200': description: A successful response. schema: type: object properties: pkiRevocationDistributionPointsByIssuerSubjectKeyID: type: object properties: issuerSubjectKeyID: type: string points: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 label: type: string maxLength: 64 issuerSubjectKeyID: type: string description: >- Even number of uppercase hexadecimal characters, no whitespace. maxLength: 64 pid: type: integer format: int32 maximum: 65535 isPAA: type: boolean crlSignerCertificate: type: string maxLength: 2048 dataURL: type: string description: >- Must start with http:// or https://. Unique per (VendorID, IssuerSubjectKeyID) pair. maxLength: 256 dataFileSize: type: string format: uint64 dataDigest: type: string maxLength: 128 dataDigestType: type: integer format: int64 description: >- Allowed values: 1 (sha-256), 7 (sha-384), 8 (sha-512), 10 (sha3-256), 11 (sha3-384), 12 (sha3-512). revocationType: type: integer format: int64 description: >- Supported values: 1 (RFC5280 Certificate Revocation List). schemaVersion: type: integer format: int64 crlSignerDelegator: type: string maxLength: 2048 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: issuerSubjectKeyID description: >- Issuer certificate's subject key ID — even number of uppercase hexadecimal characters with no colons, e.g. 5A880E6C3653D07FB08971A3F473790930E62BDB. in: path required: true type: string tags: - Query /dcl/pki/revocation-points/{issuerSubjectKeyID}/{vid}/{label}: get: summary: Queries a PkiRevocationDistributionPoint by index. operationId: PkiRevocationDistributionPoint responses: '200': description: A successful response. schema: type: object properties: PkiRevocationDistributionPoint: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 label: type: string maxLength: 64 issuerSubjectKeyID: type: string description: >- Even number of uppercase hexadecimal characters, no whitespace. maxLength: 64 pid: type: integer format: int32 maximum: 65535 isPAA: type: boolean crlSignerCertificate: type: string maxLength: 2048 dataURL: type: string description: >- Must start with http:// or https://. Unique per (VendorID, IssuerSubjectKeyID) pair. maxLength: 256 dataFileSize: type: string format: uint64 dataDigest: type: string maxLength: 128 dataDigestType: type: integer format: int64 description: >- Allowed values: 1 (sha-256), 7 (sha-384), 8 (sha-512), 10 (sha3-256), 11 (sha3-384), 12 (sha3-512). revocationType: type: integer format: int64 description: 'Supported values: 1 (RFC5280 Certificate Revocation List).' schemaVersion: type: integer format: int64 crlSignerDelegator: type: string maxLength: 2048 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: issuerSubjectKeyID description: >- Issuer certificate's subject key ID — even number of uppercase hexadecimal characters with no colons, e.g. 5A880E6C3653D07FB08971A3F473790930E62BDB. in: path required: true type: string - name: vid description: Vendor ID. in: path required: true type: integer format: int32 - name: label description: >- Label to disambiguate multiple revocation information partitions of a particular issuer (max 64 characters). in: path required: true type: string tags: - Query /dcl/pki/revoked-certificates: get: summary: Queries a list of RevokedCertificates items. operationId: RevokedCertificatesAll responses: '200': description: A successful response. schema: type: object properties: revokedCertificates: type: array items: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/pki/revoked-certificates/{subject}/{subjectKeyId}: get: summary: Queries a RevokedCertificates by index. operationId: RevokedCertificates responses: '200': description: A successful response. schema: type: object properties: revokedCertificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: subject description: Certificate's subject — base64-encoded subject DER sequence bytes. in: path required: true type: string - name: subjectKeyId description: >- Certificate's subject key ID in hex string format, e.g. 5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB. in: path required: true type: string tags: - Query /dcl/pki/revoked-noc-ica-certificates: get: summary: Queries a list of RevokedNocIcaCertificates items. operationId: RevokedNocIcaCertificatesAll responses: '200': description: A successful response. schema: type: object properties: revokedNocIcaCertificates: type: array items: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/pki/revoked-noc-ica-certificates/{subject}/{subjectKeyId}: get: summary: Queries a RevokedNocIcaCertificates by index. operationId: RevokedNocIcaCertificates responses: '200': description: A successful response. schema: type: object properties: revokedNocIcaCertificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: subject description: Certificate's subject — base64-encoded subject DER sequence bytes. in: path required: true type: string - name: subjectKeyId description: >- Certificate's subject key ID in hex string format, e.g. 5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB. in: path required: true type: string tags: - Query /dcl/pki/revoked-noc-root-certificates: get: summary: Queries a list of RevokedNocRootCertificates items. operationId: RevokedNocRootCertificatesAll responses: '200': description: A successful response. schema: type: object properties: revokedNocRootCertificates: type: array items: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/pki/revoked-noc-root-certificates/{subject}/{subjectKeyId}: get: summary: Queries a RevokedNocRootCertificates by index. operationId: RevokedNocRootCertificates responses: '200': description: A successful response. schema: type: object properties: revokedNocRootCertificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: subject description: Certificate's subject — base64-encoded subject DER sequence bytes. in: path required: true type: string - name: subjectKeyId description: >- Certificate's subject key ID in hex string format, e.g. 5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB. in: path required: true type: string tags: - Query /dcl/pki/revoked-root-certificates: get: summary: Queries a RevokedRootCertificates by index. operationId: RevokedRootCertificates responses: '200': description: A successful response. schema: type: object properties: revokedRootCertificates: type: object properties: certs: type: array items: type: object properties: subject: type: string subjectKeyId: type: string schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} tags: - Query /dcl/pki/root-certificates: get: summary: Queries a ApprovedRootCertificates by index. operationId: ApprovedRootCertificates responses: '200': description: A successful response. schema: type: object properties: approvedRootCertificates: type: object properties: certs: type: array items: type: object properties: subject: type: string subjectKeyId: type: string schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} tags: - Query /dcl/validator/disabled-nodes: get: summary: Queries a list of DisabledValidator items. operationId: DisabledValidatorAll responses: '200': description: A successful response. schema: type: object properties: disabledValidator: type: array items: type: object properties: address: type: string creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 disabledByNodeAdmin: type: boolean rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/validator/disabled-nodes/{address}: get: summary: Queries a DisabledValidator by index. operationId: DisabledValidator responses: '200': description: A successful response. schema: type: object properties: disabledValidator: type: object properties: address: type: string creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 disabledByNodeAdmin: type: boolean rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: address description: Validator owner/address (Bech32-encoded). in: path required: true type: string tags: - Query /dcl/validator/last-powers: get: summary: Queries a list of lastValidatorPower items. operationId: LastValidatorPowerAll responses: '200': description: A successful response. schema: type: object properties: lastValidatorPower: type: array items: type: object properties: owner: type: string power: type: integer format: int32 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/validator/last-powers/{owner}: get: summary: Queries a lastValidatorPower by index. operationId: LastValidatorPower responses: '200': description: A successful response. schema: type: object properties: lastValidatorPower: type: object properties: owner: type: string power: type: integer format: int32 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: owner description: Validator owner/address (Bech32-encoded). in: path required: true type: string tags: - Query /dcl/validator/nodes: get: summary: Queries a list of validator items. operationId: ValidatorAll responses: '200': description: A successful response. schema: type: object properties: validator: type: array items: type: object properties: owner: type: string title: the account address of validator owner description: title: description of the validator type: object properties: moniker: type: string description: a human-readable name for the validator. identity: type: string description: optional identity signature. website: type: string description: optional website link. details: type: string description: optional details. pubKey: title: the consensus public key of the tendermint validator type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } power: type: integer format: int32 title: validator consensus power jailed: type: boolean title: has the validator been removed from validator set jailedReason: type: string title: the reason of validator jailing schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/validator/nodes/{owner}: get: summary: Queries a validator by index. operationId: Validator responses: '200': description: A successful response. schema: type: object properties: validator: type: object properties: owner: type: string title: the account address of validator owner description: title: description of the validator type: object properties: moniker: type: string description: a human-readable name for the validator. identity: type: string description: optional identity signature. website: type: string description: optional website link. details: type: string description: optional details. pubKey: title: the consensus public key of the tendermint validator type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } power: type: integer format: int32 title: validator consensus power jailed: type: boolean title: has the validator been removed from validator set jailedReason: type: string title: the reason of validator jailing schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: owner description: Validator owner/address (Bech32-encoded). in: path required: true type: string tags: - Query /dcl/validator/proposed-disable-nodes: get: summary: Queries a list of ProposedDisableValidator items. operationId: ProposedDisableValidatorAll responses: '200': description: A successful response. schema: type: object properties: proposedDisableValidator: type: array items: type: object properties: address: type: string creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/validator/proposed-disable-nodes/{address}: get: summary: Queries a ProposedDisableValidator by index. operationId: ProposedDisableValidator responses: '200': description: A successful response. schema: type: object properties: proposedDisableValidator: type: object properties: address: type: string creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: address description: Validator owner/address (Bech32-encoded). in: path required: true type: string tags: - Query /dcl/validator/rejected-disable-nodes: get: summary: Queries a list of RejectedNode items. operationId: RejectedDisableValidatorAll responses: '200': description: A successful response. schema: type: object properties: rejectedValidator: type: array items: type: object properties: address: type: string creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/validator/rejected-disable-nodes/{owner}: get: summary: Queries a RejectedNode by index. operationId: RejectedDisableValidator responses: '200': description: A successful response. schema: type: object properties: rejectedValidator: type: object properties: address: type: string creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } parameters: - name: owner description: Validator owner/address (Bech32-encoded). in: path required: true type: string tags: - Query /dcl/vendorinfo/vendors: get: summary: Queries a list of vendorInfo items. operationId: VendorInfoAll responses: '200': description: A successful response. schema: type: object properties: vendorInfo: type: array items: type: object properties: vendorID: type: integer format: int32 maximum: 65535 minimum: 1 vendorName: type: string maxLength: 128 companyLegalName: type: string maxLength: 256 companyPreferredName: type: string maxLength: 256 vendorLandingPageURL: type: string description: Must be a valid HTTPS URL. maxLength: 256 creator: type: string schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: >- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. in: query required: false type: string format: byte - name: pagination.offset description: >- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. in: query required: false type: string format: uint64 - name: pagination.limit description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. in: query required: false type: string format: uint64 - name: pagination.count_total description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. in: query required: false type: boolean - name: pagination.reverse description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 in: query required: false type: boolean tags: - Query /dcl/vendorinfo/vendors/{vendorID}: get: summary: Queries a vendorInfo by index. operationId: VendorInfo responses: '200': description: A successful response. schema: type: object properties: vendorInfo: type: object properties: vendorID: type: integer format: int32 maximum: 65535 minimum: 1 vendorName: type: string maxLength: 128 companyLegalName: type: string maxLength: 256 companyPreferredName: type: string maxLength: 256 vendorLandingPageURL: type: string description: Must be a valid HTTPS URL. maxLength: 256 creator: type: string schemaVersion: type: integer format: int64 default: description: An unexpected error response. schema: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string additionalProperties: {} parameters: - name: vendorID description: Vendor ID. in: path required: true type: integer format: int32 tags: - Query definitions: cosmos.base.query.v1beta1.PageRequest: type: object properties: key: type: string format: byte description: |- key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. offset: type: string format: uint64 description: |- offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. limit: type: string format: uint64 description: >- limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. count_total: type: boolean description: >- count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. reverse: type: boolean description: >- reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 description: |- message SomeRequest { Foo some_parameter = 1; PageRequest pagination = 2; } title: |- PageRequest is to be embedded in gRPC request messages for efficient pagination. Ex: cosmos.base.query.v1beta1.PageResponse: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: |- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } google.protobuf.Any: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } google.rpc.Status: type: object properties: code: type: integer format: int32 message: type: string details: type: array items: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } zigbeealliance.distributedcomplianceledger.compliance.CertifiedModel: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 value: type: boolean schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.compliance.ComplianceHistoryItem: type: object properties: softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string cDVersionNumber: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.compliance.ComplianceInfo: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 softwareVersionString: type: string maxLength: 64 cDVersionNumber: type: integer format: int64 maximum: 65535 softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string maxLength: 20480 owner: type: string history: type: array items: type: object properties: softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string cDVersionNumber: type: integer format: int64 schemaVersion: type: integer format: int64 cDCertificateId: type: string maxLength: 19 minLength: 19 certificationRoute: type: string enum: - fullTested - similarity - rapid-recert - fastTrack - ctp - family - portfolio maxLength: 64 programType: type: string enum: - endProduct - softwareComponent - compliantPlatform maxLength: 64 programTypeVersion: type: string maxLength: 64 compliantPlatformUsed: type: string title: Deprecated maxLength: 64 compliantPlatformVersion: type: string title: Deprecated maxLength: 64 transport: type: string description: >- Comma-separated list of transports; supported values: thread, wi-fi, ethernet, bluetooth, nfc. Duplicates are not allowed. maxLength: 64 familyId: type: string description: Only alphanumeric characters are allowed. maxLength: 64 supportedClusters: type: string description: >- Comma-separated list of cluster IDs, each 0x followed by 1-4 hexadecimal digits. Duplicates are not allowed. maxLength: 256 OSVersion: type: string title: Deprecated maxLength: 64 parentChild: type: string enum: - parent - child maxLength: 64 certificationIdOfSoftwareComponent: type: string title: Deprecated maxLength: 64 schemaVersion: type: integer format: int64 specificationVersion: type: integer format: int64 description: Encoded specification version, e.g. 0x01040200 for version 1.4.2.0. zigbeealliance.distributedcomplianceledger.compliance.DeviceSoftwareCompliance: type: object properties: cDCertificateId: type: string complianceInfo: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 softwareVersionString: type: string maxLength: 64 cDVersionNumber: type: integer format: int64 maximum: 65535 softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string maxLength: 20480 owner: type: string history: type: array items: type: object properties: softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string cDVersionNumber: type: integer format: int64 schemaVersion: type: integer format: int64 cDCertificateId: type: string maxLength: 19 minLength: 19 certificationRoute: type: string enum: - fullTested - similarity - rapid-recert - fastTrack - ctp - family - portfolio maxLength: 64 programType: type: string enum: - endProduct - softwareComponent - compliantPlatform maxLength: 64 programTypeVersion: type: string maxLength: 64 compliantPlatformUsed: type: string title: Deprecated maxLength: 64 compliantPlatformVersion: type: string title: Deprecated maxLength: 64 transport: type: string description: >- Comma-separated list of transports; supported values: thread, wi-fi, ethernet, bluetooth, nfc. Duplicates are not allowed. maxLength: 64 familyId: type: string description: Only alphanumeric characters are allowed. maxLength: 64 supportedClusters: type: string description: >- Comma-separated list of cluster IDs, each 0x followed by 1-4 hexadecimal digits. Duplicates are not allowed. maxLength: 256 OSVersion: type: string title: Deprecated maxLength: 64 parentChild: type: string enum: - parent - child maxLength: 64 certificationIdOfSoftwareComponent: type: string title: Deprecated maxLength: 64 schemaVersion: type: integer format: int64 specificationVersion: type: integer format: int64 description: >- Encoded specification version, e.g. 0x01040200 for version 1.4.2.0. schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.compliance.ProvisionalModel: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 value: type: boolean schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.compliance.QueryAllCertifiedModelResponse: type: object properties: certifiedModel: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 value: type: boolean schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.compliance.QueryAllComplianceInfoResponse: type: object properties: complianceInfo: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 softwareVersionString: type: string maxLength: 64 cDVersionNumber: type: integer format: int64 maximum: 65535 softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string maxLength: 20480 owner: type: string history: type: array items: type: object properties: softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string cDVersionNumber: type: integer format: int64 schemaVersion: type: integer format: int64 cDCertificateId: type: string maxLength: 19 minLength: 19 certificationRoute: type: string enum: - fullTested - similarity - rapid-recert - fastTrack - ctp - family - portfolio maxLength: 64 programType: type: string enum: - endProduct - softwareComponent - compliantPlatform maxLength: 64 programTypeVersion: type: string maxLength: 64 compliantPlatformUsed: type: string title: Deprecated maxLength: 64 compliantPlatformVersion: type: string title: Deprecated maxLength: 64 transport: type: string description: >- Comma-separated list of transports; supported values: thread, wi-fi, ethernet, bluetooth, nfc. Duplicates are not allowed. maxLength: 64 familyId: type: string description: Only alphanumeric characters are allowed. maxLength: 64 supportedClusters: type: string description: >- Comma-separated list of cluster IDs, each 0x followed by 1-4 hexadecimal digits. Duplicates are not allowed. maxLength: 256 OSVersion: type: string title: Deprecated maxLength: 64 parentChild: type: string enum: - parent - child maxLength: 64 certificationIdOfSoftwareComponent: type: string title: Deprecated maxLength: 64 schemaVersion: type: integer format: int64 specificationVersion: type: integer format: int64 description: >- Encoded specification version, e.g. 0x01040200 for version 1.4.2.0. pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.compliance.QueryAllDeviceSoftwareComplianceResponse: type: object properties: deviceSoftwareCompliance: type: array items: type: object properties: cDCertificateId: type: string complianceInfo: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 softwareVersionString: type: string maxLength: 64 cDVersionNumber: type: integer format: int64 maximum: 65535 softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string maxLength: 20480 owner: type: string history: type: array items: type: object properties: softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string cDVersionNumber: type: integer format: int64 schemaVersion: type: integer format: int64 cDCertificateId: type: string maxLength: 19 minLength: 19 certificationRoute: type: string enum: - fullTested - similarity - rapid-recert - fastTrack - ctp - family - portfolio maxLength: 64 programType: type: string enum: - endProduct - softwareComponent - compliantPlatform maxLength: 64 programTypeVersion: type: string maxLength: 64 compliantPlatformUsed: type: string title: Deprecated maxLength: 64 compliantPlatformVersion: type: string title: Deprecated maxLength: 64 transport: type: string description: >- Comma-separated list of transports; supported values: thread, wi-fi, ethernet, bluetooth, nfc. Duplicates are not allowed. maxLength: 64 familyId: type: string description: Only alphanumeric characters are allowed. maxLength: 64 supportedClusters: type: string description: >- Comma-separated list of cluster IDs, each 0x followed by 1-4 hexadecimal digits. Duplicates are not allowed. maxLength: 256 OSVersion: type: string title: Deprecated maxLength: 64 parentChild: type: string enum: - parent - child maxLength: 64 certificationIdOfSoftwareComponent: type: string title: Deprecated maxLength: 64 schemaVersion: type: integer format: int64 specificationVersion: type: integer format: int64 description: >- Encoded specification version, e.g. 0x01040200 for version 1.4.2.0. schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.compliance.QueryAllProvisionalModelResponse: type: object properties: provisionalModel: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 value: type: boolean schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.compliance.QueryAllRevokedModelResponse: type: object properties: revokedModel: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 value: type: boolean schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.compliance.QueryGetCertifiedModelResponse: type: object properties: certifiedModel: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 value: type: boolean schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.compliance.QueryGetComplianceInfoResponse: type: object properties: complianceInfo: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 softwareVersionString: type: string maxLength: 64 cDVersionNumber: type: integer format: int64 maximum: 65535 softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string maxLength: 20480 owner: type: string history: type: array items: type: object properties: softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string cDVersionNumber: type: integer format: int64 schemaVersion: type: integer format: int64 cDCertificateId: type: string maxLength: 19 minLength: 19 certificationRoute: type: string enum: - fullTested - similarity - rapid-recert - fastTrack - ctp - family - portfolio maxLength: 64 programType: type: string enum: - endProduct - softwareComponent - compliantPlatform maxLength: 64 programTypeVersion: type: string maxLength: 64 compliantPlatformUsed: type: string title: Deprecated maxLength: 64 compliantPlatformVersion: type: string title: Deprecated maxLength: 64 transport: type: string description: >- Comma-separated list of transports; supported values: thread, wi-fi, ethernet, bluetooth, nfc. Duplicates are not allowed. maxLength: 64 familyId: type: string description: Only alphanumeric characters are allowed. maxLength: 64 supportedClusters: type: string description: >- Comma-separated list of cluster IDs, each 0x followed by 1-4 hexadecimal digits. Duplicates are not allowed. maxLength: 256 OSVersion: type: string title: Deprecated maxLength: 64 parentChild: type: string enum: - parent - child maxLength: 64 certificationIdOfSoftwareComponent: type: string title: Deprecated maxLength: 64 schemaVersion: type: integer format: int64 specificationVersion: type: integer format: int64 description: >- Encoded specification version, e.g. 0x01040200 for version 1.4.2.0. zigbeealliance.distributedcomplianceledger.compliance.QueryGetDeviceSoftwareComplianceResponse: type: object properties: deviceSoftwareCompliance: type: object properties: cDCertificateId: type: string complianceInfo: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 softwareVersionString: type: string maxLength: 64 cDVersionNumber: type: integer format: int64 maximum: 65535 softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string maxLength: 20480 owner: type: string history: type: array items: type: object properties: softwareVersionCertificationStatus: type: integer format: int64 date: type: string reason: type: string cDVersionNumber: type: integer format: int64 schemaVersion: type: integer format: int64 cDCertificateId: type: string maxLength: 19 minLength: 19 certificationRoute: type: string enum: - fullTested - similarity - rapid-recert - fastTrack - ctp - family - portfolio maxLength: 64 programType: type: string enum: - endProduct - softwareComponent - compliantPlatform maxLength: 64 programTypeVersion: type: string maxLength: 64 compliantPlatformUsed: type: string title: Deprecated maxLength: 64 compliantPlatformVersion: type: string title: Deprecated maxLength: 64 transport: type: string description: >- Comma-separated list of transports; supported values: thread, wi-fi, ethernet, bluetooth, nfc. Duplicates are not allowed. maxLength: 64 familyId: type: string description: Only alphanumeric characters are allowed. maxLength: 64 supportedClusters: type: string description: >- Comma-separated list of cluster IDs, each 0x followed by 1-4 hexadecimal digits. Duplicates are not allowed. maxLength: 256 OSVersion: type: string title: Deprecated maxLength: 64 parentChild: type: string enum: - parent - child maxLength: 64 certificationIdOfSoftwareComponent: type: string title: Deprecated maxLength: 64 schemaVersion: type: integer format: int64 specificationVersion: type: integer format: int64 description: >- Encoded specification version, e.g. 0x01040200 for version 1.4.2.0. schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.compliance.QueryGetProvisionalModelResponse: type: object properties: provisionalModel: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 value: type: boolean schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.compliance.QueryGetRevokedModelResponse: type: object properties: revokedModel: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 value: type: boolean schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.compliance.RevokedModel: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 certificationType: type: string enum: - zigbee - matter - aliro maxLength: 20 value: type: boolean schemaVersion: type: integer format: int64 cosmos.auth.v1beta1.BaseAccount: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). zigbeealliance.distributedcomplianceledger.common.Uint16Range: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 zigbeealliance.distributedcomplianceledger.dclauth.Account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclauth.AccountStat: type: object properties: number: type: string format: uint64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclauth.Grant: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclauth.PendingAccount: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 pendingAccountSchemaVersion: type: integer format: int64 title: |- TODO issue 99: do we need that ??? option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; zigbeealliance.distributedcomplianceledger.dclauth.PendingAccountRevocation: type: object properties: address: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclauth.QueryAllAccountResponse: type: object properties: account: type: array items: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.dclauth.QueryAllPendingAccountResponse: type: object properties: pendingAccount: type: array items: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 pendingAccountSchemaVersion: type: integer format: int64 title: |- TODO issue 99: do we need that ??? option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.dclauth.QueryAllPendingAccountRevocationResponse: type: object properties: pendingAccountRevocation: type: array items: type: object properties: address: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.dclauth.QueryAllRejectedAccountResponse: type: object properties: rejectedAccount: type: array items: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 rejectedAccountSchemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.dclauth.QueryAllRevokedAccountResponse: type: object properties: revokedAccount: type: array items: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 revokeApprovals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 reason: type: string enum: - TrusteeVoting - MaliciousValidator default: TrusteeVoting revokedAccountSchemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.dclauth.QueryGetAccountResponse: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclauth.QueryGetAccountStatResponse: type: object properties: AccountStat: type: object properties: number: type: string format: uint64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclauth.QueryGetPendingAccountResponse: type: object properties: pendingAccount: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 pendingAccountSchemaVersion: type: integer format: int64 title: |- TODO issue 99: do we need that ??? option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; zigbeealliance.distributedcomplianceledger.dclauth.QueryGetPendingAccountRevocationResponse: type: object properties: pendingAccountRevocation: type: object properties: address: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclauth.QueryGetRejectedAccountResponse: type: object properties: rejectedAccount: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 rejectedAccountSchemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclauth.QueryGetRevokedAccountResponse: type: object properties: revokedAccount: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 revokeApprovals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 reason: type: string enum: - TrusteeVoting - MaliciousValidator default: TrusteeVoting revokedAccountSchemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclauth.RejectedAccount: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 rejectedAccountSchemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclauth.RevokedAccount: type: object properties: account: type: object properties: base_account: type: object properties: address: type: string pub_key: type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } account_number: type: string format: uint64 sequence: type: string format: uint64 description: >- BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting). roles: type: array items: type: string description: >- Supported roles: Vendor, CertificationCenter, Trustee, NodeAdmin, VendorAdmin. title: >- NOTE. we do not user AccountRoles casting here to preserve repeated form so protobuf takes care about repeated items in generated code, (but that might be not the final solution) approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vendorID: type: integer format: int32 maximum: 65535 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 productIDs: type: array items: type: object properties: min: type: integer format: int32 maximum: 65535 max: type: integer format: int32 maximum: 65535 schemaVersion: type: integer format: int64 revokeApprovals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 reason: type: string enum: - TrusteeVoting - MaliciousValidator default: TrusteeVoting revokedAccountSchemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclauth.RevokedAccount.Reason: type: string enum: - TrusteeVoting - MaliciousValidator default: TrusteeVoting cosmos.upgrade.v1beta1.Plan: type: object properties: name: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. time: type: string format: date-time description: >- Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. height: type: string format: int64 description: The height at which the upgrade must be performed. info: type: string title: |- Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. zigbeealliance.distributedcomplianceledger.dclupgrade.ApprovedUpgrade: type: object properties: plan: type: object properties: name: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. time: type: string format: date-time description: >- Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. height: type: string format: int64 description: The height at which the upgrade must be performed. info: type: string title: >- Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclupgrade.Grant: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclupgrade.ProposedUpgrade: type: object properties: plan: type: object properties: name: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. time: type: string format: date-time description: >- Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. height: type: string format: int64 description: The height at which the upgrade must be performed. info: type: string title: >- Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclupgrade.QueryAllApprovedUpgradeResponse: type: object properties: approvedUpgrade: type: array items: type: object properties: plan: type: object properties: name: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. time: type: string format: date-time description: >- Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. height: type: string format: int64 description: The height at which the upgrade must be performed. info: type: string title: >- Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.dclupgrade.QueryAllProposedUpgradeResponse: type: object properties: proposedUpgrade: type: array items: type: object properties: plan: type: object properties: name: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. time: type: string format: date-time description: >- Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. height: type: string format: int64 description: The height at which the upgrade must be performed. info: type: string title: >- Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.dclupgrade.QueryAllRejectedUpgradeResponse: type: object properties: rejectedUpgrade: type: array items: type: object properties: plan: type: object properties: name: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. time: type: string format: date-time description: >- Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. height: type: string format: int64 description: The height at which the upgrade must be performed. info: type: string title: >- Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetApprovedUpgradeResponse: type: object properties: approvedUpgrade: type: object properties: plan: type: object properties: name: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. time: type: string format: date-time description: >- Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. height: type: string format: int64 description: The height at which the upgrade must be performed. info: type: string title: >- Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetProposedUpgradeResponse: type: object properties: proposedUpgrade: type: object properties: plan: type: object properties: name: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. time: type: string format: date-time description: >- Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. height: type: string format: int64 description: The height at which the upgrade must be performed. info: type: string title: >- Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetRejectedUpgradeResponse: type: object properties: rejectedUpgrade: type: object properties: plan: type: object properties: name: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. time: type: string format: date-time description: >- Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. height: type: string format: int64 description: The height at which the upgrade must be performed. info: type: string title: >- Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.dclupgrade.RejectedUpgrade: type: object properties: plan: type: object properties: name: type: string description: >- Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit. time: type: string format: date-time description: >- Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown. height: type: string format: int64 description: The height at which the upgrade must be performed. info: type: string title: >- Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to upgraded_client_state: description: >- Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown. type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.model.Model: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 deviceTypeId: type: integer format: int32 maximum: 65535 productName: type: string maxLength: 128 productLabel: type: string maxLength: 256 partNumber: type: string maxLength: 32 commissioningCustomFlow: type: integer format: int32 maximum: 2 commissioningCustomFlowUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 commissioningModeInitialStepsHint: type: integer format: int64 commissioningModeInitialStepsInstruction: type: string maxLength: 1024 commissioningModeSecondaryStepsHint: type: integer format: int64 commissioningModeSecondaryStepsInstruction: type: string maxLength: 1024 userManualUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 supportUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 productUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 lsfUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 lsfRevision: type: integer format: int32 maximum: 65535 creator: type: string schemaVersion: type: integer format: int64 enhancedSetupFlowOptions: type: integer format: int32 enhancedSetupFlowTCUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 enhancedSetupFlowTCRevision: type: integer format: int32 maximum: 65535 enhancedSetupFlowTCDigest: type: string maxLength: 128 enhancedSetupFlowTCFileSize: type: integer format: int64 maintenanceUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 discoveryCapabilitiesBitmask: type: integer format: int64 maximum: 14 commissioningFallbackUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 icdUserActiveModeTriggerHint: type: integer format: int64 icdUserActiveModeTriggerInstruction: type: string maxLength: 1024 factoryResetStepsHint: type: integer format: int64 factoryResetStepsInstruction: type: string maxLength: 1024 zigbeealliance.distributedcomplianceledger.model.ModelVersion: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 softwareVersionString: type: string maxLength: 64 cdVersionNumber: type: integer format: int32 maximum: 65535 firmwareInformation: type: string maxLength: 512 softwareVersionValid: type: boolean otaUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 otaFileSize: type: string format: uint64 otaChecksum: type: string description: Base64-encoded digest; 44-88 characters when present. maxLength: 88 otaChecksumType: type: integer format: int32 description: >- Allowed values: 1 (sha-256), 7 (sha-384), 8 (sha-512), 10 (sha3-256), 11 (sha3-384), 12 (sha3-512). minApplicableSoftwareVersion: type: integer format: int64 maxApplicableSoftwareVersion: type: integer format: int64 releaseNotesUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 creator: type: string schemaVersion: type: integer format: int64 specificationVersion: type: integer format: int64 title: 'Deprecated: will be stated/stored in ComplianceInfo record:' zigbeealliance.distributedcomplianceledger.model.ModelVersions: type: object properties: vid: type: integer format: int32 pid: type: integer format: int32 softwareVersions: type: array items: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.model.Product: type: object properties: pid: type: integer format: int32 name: type: string partNumber: type: string schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.model.QueryAllModelResponse: type: object properties: model: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 deviceTypeId: type: integer format: int32 maximum: 65535 productName: type: string maxLength: 128 productLabel: type: string maxLength: 256 partNumber: type: string maxLength: 32 commissioningCustomFlow: type: integer format: int32 maximum: 2 commissioningCustomFlowUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 commissioningModeInitialStepsHint: type: integer format: int64 commissioningModeInitialStepsInstruction: type: string maxLength: 1024 commissioningModeSecondaryStepsHint: type: integer format: int64 commissioningModeSecondaryStepsInstruction: type: string maxLength: 1024 userManualUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 supportUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 productUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 lsfUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 lsfRevision: type: integer format: int32 maximum: 65535 creator: type: string schemaVersion: type: integer format: int64 enhancedSetupFlowOptions: type: integer format: int32 enhancedSetupFlowTCUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 enhancedSetupFlowTCRevision: type: integer format: int32 maximum: 65535 enhancedSetupFlowTCDigest: type: string maxLength: 128 enhancedSetupFlowTCFileSize: type: integer format: int64 maintenanceUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 discoveryCapabilitiesBitmask: type: integer format: int64 maximum: 14 commissioningFallbackUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 icdUserActiveModeTriggerHint: type: integer format: int64 icdUserActiveModeTriggerInstruction: type: string maxLength: 1024 factoryResetStepsHint: type: integer format: int64 factoryResetStepsInstruction: type: string maxLength: 1024 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.model.QueryGetModelResponse: type: object properties: model: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 deviceTypeId: type: integer format: int32 maximum: 65535 productName: type: string maxLength: 128 productLabel: type: string maxLength: 256 partNumber: type: string maxLength: 32 commissioningCustomFlow: type: integer format: int32 maximum: 2 commissioningCustomFlowUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 commissioningModeInitialStepsHint: type: integer format: int64 commissioningModeInitialStepsInstruction: type: string maxLength: 1024 commissioningModeSecondaryStepsHint: type: integer format: int64 commissioningModeSecondaryStepsInstruction: type: string maxLength: 1024 userManualUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 supportUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 productUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 lsfUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 lsfRevision: type: integer format: int32 maximum: 65535 creator: type: string schemaVersion: type: integer format: int64 enhancedSetupFlowOptions: type: integer format: int32 enhancedSetupFlowTCUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 enhancedSetupFlowTCRevision: type: integer format: int32 maximum: 65535 enhancedSetupFlowTCDigest: type: string maxLength: 128 enhancedSetupFlowTCFileSize: type: integer format: int64 maintenanceUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 discoveryCapabilitiesBitmask: type: integer format: int64 maximum: 14 commissioningFallbackUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 icdUserActiveModeTriggerHint: type: integer format: int64 icdUserActiveModeTriggerInstruction: type: string maxLength: 1024 factoryResetStepsHint: type: integer format: int64 factoryResetStepsInstruction: type: string maxLength: 1024 zigbeealliance.distributedcomplianceledger.model.QueryGetModelVersionResponse: type: object properties: modelVersion: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 pid: type: integer format: int32 maximum: 65535 minimum: 1 softwareVersion: type: integer format: int64 softwareVersionString: type: string maxLength: 64 cdVersionNumber: type: integer format: int32 maximum: 65535 firmwareInformation: type: string maxLength: 512 softwareVersionValid: type: boolean otaUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 otaFileSize: type: string format: uint64 otaChecksum: type: string description: Base64-encoded digest; 44-88 characters when present. maxLength: 88 otaChecksumType: type: integer format: int32 description: >- Allowed values: 1 (sha-256), 7 (sha-384), 8 (sha-512), 10 (sha3-256), 11 (sha3-384), 12 (sha3-512). minApplicableSoftwareVersion: type: integer format: int64 maxApplicableSoftwareVersion: type: integer format: int64 releaseNotesUrl: type: string description: Must be a valid HTTPS URL. maxLength: 256 creator: type: string schemaVersion: type: integer format: int64 specificationVersion: type: integer format: int64 title: 'Deprecated: will be stated/stored in ComplianceInfo record:' zigbeealliance.distributedcomplianceledger.model.QueryGetModelVersionsResponse: type: object properties: modelVersions: type: object properties: vid: type: integer format: int32 pid: type: integer format: int32 softwareVersions: type: array items: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.model.QueryGetVendorProductsResponse: type: object properties: vendorProducts: type: object properties: vid: type: integer format: int32 products: type: array items: type: object properties: pid: type: integer format: int32 name: type: string partNumber: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.model.VendorProducts: type: object properties: vid: type: integer format: int32 products: type: array items: type: object properties: pid: type: integer format: int32 name: type: string partNumber: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.AllCertificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.AllCertificatesBySubject: type: object properties: subject: type: string subjectKeyIds: type: array items: type: string schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.ApprovedCertificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.ApprovedCertificatesBySubject: type: object properties: subject: type: string subjectKeyIds: type: array items: type: string schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.ApprovedRootCertificates: type: object properties: certs: type: array items: type: object properties: subject: type: string subjectKeyId: type: string schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.Certificate: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.CertificateIdentifier: type: object properties: subject: type: string subjectKeyId: type: string zigbeealliance.distributedcomplianceledger.pki.CertificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI zigbeealliance.distributedcomplianceledger.pki.ChildCertificates: type: object properties: issuer: type: string authorityKeyId: type: string certIds: type: array items: type: object properties: subject: type: string subjectKeyId: type: string schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.Grant: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.NocCertificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 tq: type: number format: float schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.NocCertificatesBySubject: type: object properties: subject: type: string subjectKeyIds: type: array items: type: string schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.NocCertificatesByVidAndSkid: type: object properties: vid: type: integer format: int32 subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 tq: type: number format: float schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.NocIcaCertificates: type: object properties: vid: type: integer format: int32 certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.NocRootCertificates: type: object properties: vid: type: integer format: int32 certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.PkiRevocationDistributionPoint: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 label: type: string maxLength: 64 issuerSubjectKeyID: type: string description: Even number of uppercase hexadecimal characters, no whitespace. maxLength: 64 pid: type: integer format: int32 maximum: 65535 isPAA: type: boolean crlSignerCertificate: type: string maxLength: 2048 dataURL: type: string description: >- Must start with http:// or https://. Unique per (VendorID, IssuerSubjectKeyID) pair. maxLength: 256 dataFileSize: type: string format: uint64 dataDigest: type: string maxLength: 128 dataDigestType: type: integer format: int64 description: >- Allowed values: 1 (sha-256), 7 (sha-384), 8 (sha-512), 10 (sha3-256), 11 (sha3-384), 12 (sha3-512). revocationType: type: integer format: int64 description: 'Supported values: 1 (RFC5280 Certificate Revocation List).' schemaVersion: type: integer format: int64 crlSignerDelegator: type: string maxLength: 2048 zigbeealliance.distributedcomplianceledger.pki.PkiRevocationDistributionPointsByIssuerSubjectKeyID: type: object properties: issuerSubjectKeyID: type: string points: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 label: type: string maxLength: 64 issuerSubjectKeyID: type: string description: Even number of uppercase hexadecimal characters, no whitespace. maxLength: 64 pid: type: integer format: int32 maximum: 65535 isPAA: type: boolean crlSignerCertificate: type: string maxLength: 2048 dataURL: type: string description: >- Must start with http:// or https://. Unique per (VendorID, IssuerSubjectKeyID) pair. maxLength: 256 dataFileSize: type: string format: uint64 dataDigest: type: string maxLength: 128 dataDigestType: type: integer format: int64 description: >- Allowed values: 1 (sha-256), 7 (sha-384), 8 (sha-512), 10 (sha3-256), 11 (sha3-384), 12 (sha3-512). revocationType: type: integer format: int64 description: 'Supported values: 1 (RFC5280 Certificate Revocation List).' schemaVersion: type: integer format: int64 crlSignerDelegator: type: string maxLength: 2048 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.ProposedCertificate: type: object properties: subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 pemCert: type: string maxLength: 20480 serialNumber: type: string owner: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certSchemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.ProposedCertificateRevocation: type: object properties: subject: type: string subjectKeyId: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string serialNumber: type: string revokeChild: type: boolean schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryAllApprovedCertificatesResponse: type: object properties: approvedCertificates: type: array items: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.pki.QueryAllCertificatesResponse: type: object properties: certificates: type: array items: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.pki.QueryAllNocIcaCertificatesResponse: type: object properties: nocIcaCertificates: type: array items: type: object properties: vid: type: integer format: int32 certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.pki.QueryAllNocRootCertificatesResponse: type: object properties: nocRootCertificates: type: array items: type: object properties: vid: type: integer format: int32 certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.pki.QueryAllPkiRevocationDistributionPointResponse: type: object properties: PkiRevocationDistributionPoint: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 label: type: string maxLength: 64 issuerSubjectKeyID: type: string description: Even number of uppercase hexadecimal characters, no whitespace. maxLength: 64 pid: type: integer format: int32 maximum: 65535 isPAA: type: boolean crlSignerCertificate: type: string maxLength: 2048 dataURL: type: string description: >- Must start with http:// or https://. Unique per (VendorID, IssuerSubjectKeyID) pair. maxLength: 256 dataFileSize: type: string format: uint64 dataDigest: type: string maxLength: 128 dataDigestType: type: integer format: int64 description: >- Allowed values: 1 (sha-256), 7 (sha-384), 8 (sha-512), 10 (sha3-256), 11 (sha3-384), 12 (sha3-512). revocationType: type: integer format: int64 description: 'Supported values: 1 (RFC5280 Certificate Revocation List).' schemaVersion: type: integer format: int64 crlSignerDelegator: type: string maxLength: 2048 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.pki.QueryAllProposedCertificateResponse: type: object properties: proposedCertificate: type: array items: type: object properties: subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 pemCert: type: string maxLength: 20480 serialNumber: type: string owner: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certSchemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.pki.QueryAllProposedCertificateRevocationResponse: type: object properties: proposedCertificateRevocation: type: array items: type: object properties: subject: type: string subjectKeyId: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string serialNumber: type: string revokeChild: type: boolean schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.pki.QueryAllRejectedCertificatesResponse: type: object properties: rejectedCertificate: type: array items: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.pki.QueryAllRevokedCertificatesResponse: type: object properties: revokedCertificates: type: array items: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.pki.QueryAllRevokedNocIcaCertificatesResponse: type: object properties: revokedNocIcaCertificates: type: array items: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.pki.QueryAllRevokedNocRootCertificatesResponse: type: object properties: revokedNocRootCertificates: type: array items: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.pki.QueryGetAllCertificatesBySubjectResponse: type: object properties: allCertificatesBySubject: type: object properties: subject: type: string subjectKeyIds: type: array items: type: string schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetApprovedCertificatesBySubjectResponse: type: object properties: approvedCertificatesBySubject: type: object properties: subject: type: string subjectKeyIds: type: array items: type: string schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetApprovedCertificatesResponse: type: object properties: approvedCertificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetApprovedRootCertificatesResponse: type: object properties: approvedRootCertificates: type: object properties: certs: type: array items: type: object properties: subject: type: string subjectKeyId: type: string schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetCertificatesResponse: type: object properties: certificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetChildCertificatesResponse: type: object properties: childCertificates: type: object properties: issuer: type: string authorityKeyId: type: string certIds: type: array items: type: object properties: subject: type: string subjectKeyId: type: string schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetNocCertificatesBySubjectResponse: type: object properties: nocCertificatesBySubject: type: object properties: subject: type: string subjectKeyIds: type: array items: type: string schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetNocCertificatesByVidAndSkidResponse: type: object properties: nocCertificatesByVidAndSkid: type: object properties: vid: type: integer format: int32 subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 tq: type: number format: float schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetNocCertificatesResponse: type: object properties: nocCertificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 tq: type: number format: float schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetNocIcaCertificatesResponse: type: object properties: nocIcaCertificates: type: object properties: vid: type: integer format: int32 certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetNocRootCertificatesResponse: type: object properties: nocRootCertificates: type: object properties: vid: type: integer format: int32 certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetPkiRevocationDistributionPointResponse: type: object properties: PkiRevocationDistributionPoint: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 label: type: string maxLength: 64 issuerSubjectKeyID: type: string description: Even number of uppercase hexadecimal characters, no whitespace. maxLength: 64 pid: type: integer format: int32 maximum: 65535 isPAA: type: boolean crlSignerCertificate: type: string maxLength: 2048 dataURL: type: string description: >- Must start with http:// or https://. Unique per (VendorID, IssuerSubjectKeyID) pair. maxLength: 256 dataFileSize: type: string format: uint64 dataDigest: type: string maxLength: 128 dataDigestType: type: integer format: int64 description: >- Allowed values: 1 (sha-256), 7 (sha-384), 8 (sha-512), 10 (sha3-256), 11 (sha3-384), 12 (sha3-512). revocationType: type: integer format: int64 description: 'Supported values: 1 (RFC5280 Certificate Revocation List).' schemaVersion: type: integer format: int64 crlSignerDelegator: type: string maxLength: 2048 zigbeealliance.distributedcomplianceledger.pki.QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse: type: object properties: pkiRevocationDistributionPointsByIssuerSubjectKeyID: type: object properties: issuerSubjectKeyID: type: string points: type: array items: type: object properties: vid: type: integer format: int32 maximum: 65535 minimum: 1 label: type: string maxLength: 64 issuerSubjectKeyID: type: string description: >- Even number of uppercase hexadecimal characters, no whitespace. maxLength: 64 pid: type: integer format: int32 maximum: 65535 isPAA: type: boolean crlSignerCertificate: type: string maxLength: 2048 dataURL: type: string description: >- Must start with http:// or https://. Unique per (VendorID, IssuerSubjectKeyID) pair. maxLength: 256 dataFileSize: type: string format: uint64 dataDigest: type: string maxLength: 128 dataDigestType: type: integer format: int64 description: >- Allowed values: 1 (sha-256), 7 (sha-384), 8 (sha-512), 10 (sha3-256), 11 (sha3-384), 12 (sha3-512). revocationType: type: integer format: int64 description: 'Supported values: 1 (RFC5280 Certificate Revocation List).' schemaVersion: type: integer format: int64 crlSignerDelegator: type: string maxLength: 2048 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetProposedCertificateResponse: type: object properties: proposedCertificate: type: object properties: subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 pemCert: type: string maxLength: 20480 serialNumber: type: string owner: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certSchemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetProposedCertificateRevocationResponse: type: object properties: proposedCertificateRevocation: type: object properties: subject: type: string subjectKeyId: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string serialNumber: type: string revokeChild: type: boolean schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetRejectedCertificatesResponse: type: object properties: rejectedCertificate: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetRevokedCertificatesResponse: type: object properties: revokedCertificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetRevokedNocIcaCertificatesResponse: type: object properties: revokedNocIcaCertificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetRevokedNocRootCertificatesResponse: type: object properties: revokedNocRootCertificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryGetRevokedRootCertificatesResponse: type: object properties: revokedRootCertificates: type: object properties: certs: type: array items: type: object properties: subject: type: string subjectKeyId: type: string schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.QueryNocCertificatesResponse: type: object properties: nocCertificates: type: array items: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: >- number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 tq: type: number format: float schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.pki.RejectedCertificate: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.RevokedCertificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.RevokedNocIcaCertificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.RevokedNocRootCertificates: type: object properties: subject: type: string subjectKeyId: type: string certs: type: array items: type: object properties: pemCert: type: string maxLength: 20480 serialNumber: type: string issuer: type: string authorityKeyId: type: string rootSubject: type: string rootSubjectKeyId: type: string isRoot: type: boolean owner: type: string subject: type: string maxLength: 1024 subjectKeyId: type: string maxLength: 256 approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 subjectAsText: type: string rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string maxLength: 4096 schemaVersion: type: integer format: int64 vid: type: integer format: int32 maximum: 65535 minimum: 1 certificateType: type: string enum: - DeviceAttestationPKI - OperationalPKI - VIDSignerPKI default: DeviceAttestationPKI schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.pki.RevokedRootCertificates: type: object properties: certs: type: array items: type: object properties: subject: type: string subjectKeyId: type: string schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.validator.Description: type: object properties: moniker: type: string description: a human-readable name for the validator. identity: type: string description: optional identity signature. website: type: string description: optional website link. details: type: string description: optional details. zigbeealliance.distributedcomplianceledger.validator.DisabledValidator: type: object properties: address: type: string creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 disabledByNodeAdmin: type: boolean rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.validator.Grant: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.validator.LastValidatorPower: type: object properties: owner: type: string power: type: integer format: int32 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.validator.ProposedDisableValidator: type: object properties: address: type: string creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.validator.QueryAllDisabledValidatorResponse: type: object properties: disabledValidator: type: array items: type: object properties: address: type: string creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 disabledByNodeAdmin: type: boolean rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.validator.QueryAllLastValidatorPowerResponse: type: object properties: lastValidatorPower: type: array items: type: object properties: owner: type: string power: type: integer format: int32 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.validator.QueryAllProposedDisableValidatorResponse: type: object properties: proposedDisableValidator: type: array items: type: object properties: address: type: string creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.validator.QueryAllRejectedDisableValidatorResponse: type: object properties: rejectedValidator: type: array items: type: object properties: address: type: string creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.validator.QueryAllValidatorResponse: type: object properties: validator: type: array items: type: object properties: owner: type: string title: the account address of validator owner description: title: description of the validator type: object properties: moniker: type: string description: a human-readable name for the validator. identity: type: string description: optional identity signature. website: type: string description: optional website link. details: type: string description: optional details. pubKey: title: the consensus public key of the tendermint validator type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } power: type: integer format: int32 title: validator consensus power jailed: type: boolean title: has the validator been removed from validator set jailedReason: type: string title: the reason of validator jailing schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.validator.QueryGetDisabledValidatorResponse: type: object properties: disabledValidator: type: object properties: address: type: string creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 disabledByNodeAdmin: type: boolean rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.validator.QueryGetLastValidatorPowerResponse: type: object properties: lastValidatorPower: type: object properties: owner: type: string power: type: integer format: int32 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.validator.QueryGetProposedDisableValidatorResponse: type: object properties: proposedDisableValidator: type: object properties: address: type: string creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.validator.QueryGetRejectedDisableValidatorResponse: type: object properties: rejectedValidator: type: object properties: address: type: string creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.validator.QueryGetValidatorResponse: type: object properties: validator: type: object properties: owner: type: string title: the account address of validator owner description: title: description of the validator type: object properties: moniker: type: string description: a human-readable name for the validator. identity: type: string description: optional identity signature. website: type: string description: optional website link. details: type: string description: optional details. pubKey: title: the consensus public key of the tendermint validator type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } power: type: integer format: int32 title: validator consensus power jailed: type: boolean title: has the validator been removed from validator set jailedReason: type: string title: the reason of validator jailing schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.validator.RejectedDisableValidator: type: object properties: address: type: string creator: type: string approvals: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 rejects: type: array items: type: object properties: address: type: string time: type: string format: int64 title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string schemaVersion: type: integer format: int64 schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.validator.Validator: type: object properties: owner: type: string title: the account address of validator owner description: title: description of the validator type: object properties: moniker: type: string description: a human-readable name for the validator. identity: type: string description: optional identity signature. website: type: string description: optional website link. details: type: string description: optional details. pubKey: title: the consensus public key of the tendermint validator type: object properties: '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } power: type: integer format: int32 title: validator consensus power jailed: type: boolean title: has the validator been removed from validator set jailedReason: type: string title: the reason of validator jailing schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.vendorinfo.QueryAllVendorInfoResponse: type: object properties: vendorInfo: type: array items: type: object properties: vendorID: type: integer format: int32 maximum: 65535 minimum: 1 vendorName: type: string maxLength: 128 companyLegalName: type: string maxLength: 256 companyPreferredName: type: string maxLength: 256 vendorLandingPageURL: type: string description: Must be a valid HTTPS URL. maxLength: 256 creator: type: string schemaVersion: type: integer format: int64 pagination: type: object properties: next_key: type: string format: byte description: |- next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results. total: type: string format: uint64 title: >- total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise description: |- PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } zigbeealliance.distributedcomplianceledger.vendorinfo.QueryGetVendorInfoResponse: type: object properties: vendorInfo: type: object properties: vendorID: type: integer format: int32 maximum: 65535 minimum: 1 vendorName: type: string maxLength: 128 companyLegalName: type: string maxLength: 256 companyPreferredName: type: string maxLength: 256 vendorLandingPageURL: type: string description: Must be a valid HTTPS URL. maxLength: 256 creator: type: string schemaVersion: type: integer format: int64 zigbeealliance.distributedcomplianceledger.vendorinfo.VendorInfo: type: object properties: vendorID: type: integer format: int32 maximum: 65535 minimum: 1 vendorName: type: string maxLength: 128 companyLegalName: type: string maxLength: 256 companyPreferredName: type: string maxLength: 256 vendorLandingPageURL: type: string description: Must be a valid HTTPS URL. maxLength: 256 creator: type: string schemaVersion: type: integer format: int64