UNPKG

@autorest/codemodel

Version:
211 lines 3.71 kB
{ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "SchemaType": { "description": "possible schema types that indicate the type of schema.", "type": "string", "enum": [ "array", "dictionary", "boolean", "integer", "number", "object", "string", "unixtime", "byte-array", "binary", "char", "date", "time", "date-time", "duration", "uuid", "uri", "arm-id", "credential", "odata-query", "any", "any-object", "choice", "sealed-choice", "conditional", "sealed-conditional", "flag", "constant", "or", "xor", "not", "unknown", "group" ] }, "ImplementationLocation": { "type": "string", "enum": [ "Method", "Client", "Context" ] }, "SchemaContext": { "type": "string", "enum": [ "input", "output", "exception" ] }, "HttpMethod": { "description": "standard HTTP protocol methods", "type": "string", "enum": [ "get", "put", "post", "delete", "options", "head", "patch", "trace" ] }, "ParameterLocation": { "description": "the location that this parameter is placed in the http request", "type": "string", "enum": [ "query", "header", "cookie", "path", "body", "uri", "virtual", "none" ] }, "SecurityType": { "type": "string", "enum": [ "apiKey", "http", "oauth2", "openIdConnect" ] }, "SerializationStyle": { "description": "The Serialization Style used for the parameter.\n\nDescribes how the parameter value will be serialized depending on the type of the parameter value.", "type": "string", "enum": [ "matrix", "label", "simple", "form", "spaceDelimited", "pipeDelimited", "deepObject", "json", "xml", "binary", "tabDelimited" ] }, "QueryEncodingStyle": { "enum": [ "deepObject", "form", "pipeDelimited", "spaceDelimited" ], "type": "string" }, "PathEncodingStyle": { "enum": [ "label", "matrix", "simple" ], "type": "string" }, "StatusCode": { "enum": [ 100, 101, 102, 103, 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 421, 422, 423, 424, 425, 426, 428, 429, 431, 451, 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, 511, "default" ] }, "KnownMediaType": { "type": "string", "enum": [ "json", "xml", "form", "binary", "multipart", "text", "unknown" ] } } }