generated from okp4/template-oss
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
1,218 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "ConstructResponse", | ||
"description": "Represents the response of a [QueryMsg::Construct] query.", | ||
"type": "object", | ||
"required": [ | ||
"data", | ||
"format" | ||
], | ||
"properties": { | ||
"data": { | ||
"description": "The data serialized in the specified format.", | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/Binary" | ||
} | ||
] | ||
}, | ||
"format": { | ||
"description": "The format of the data.", | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/DataFormat" | ||
} | ||
] | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"definitions": { | ||
"Binary": { | ||
"description": "Binary is a wrapper around Vec<u8> to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec<u8>. See also <https://github.com/CosmWasm/cosmwasm/blob/main/docs/MESSAGE_TYPES.md>.", | ||
"type": "string" | ||
}, | ||
"DataFormat": { | ||
"title": "DataFormat", | ||
"description": "Represents the format in which the data are serialized, for example when returned by a query or when inserted in the store.", | ||
"oneOf": [ | ||
{ | ||
"title": "RDF XML", | ||
"description": "Output in [RDF/XML](https://www.w3.org/TR/rdf-syntax-grammar/) format.", | ||
"type": "string", | ||
"enum": [ | ||
"rdf_xml" | ||
] | ||
}, | ||
{ | ||
"title": "Turtle", | ||
"description": "Output in [Turtle](https://www.w3.org/TR/turtle/) format.", | ||
"type": "string", | ||
"enum": [ | ||
"turtle" | ||
] | ||
}, | ||
{ | ||
"title": "N-Triples", | ||
"description": "Output in [N-Triples](https://www.w3.org/TR/n-triples/) format.", | ||
"type": "string", | ||
"enum": [ | ||
"n_triples" | ||
] | ||
}, | ||
{ | ||
"title": "N-Quads", | ||
"description": "Output in [N-Quads](https://www.w3.org/TR/n-quads/) format.", | ||
"type": "string", | ||
"enum": [ | ||
"n_quads" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.