UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

1,322 lines (1,321 loc) 94.8 kB
export default { "rules": { "invalid-kind-value-combined": { "description": "Kind must be one of 'API' | 'Scope' | 'Project' | 'StagedPolicySequence' | 'InvokeAWSLambda' | 'ValidateAPISpecification' | 'CORS' | 'Quota' | 'Plan' | 'Product' | 'URISchemes' | 'properties' | 'Telemetry' | 'Properties' | 'LoadBalancer' | 'SetAuthorization' | 'Invoke' | 'GlobalPolicy' | 'InboundBulkHead' | 'SetMediaType' | 'InboundMessaging' | 'IAM' | 'AuthorizeUser' | 'SetContextVariable' | 'WebMethodsISService' | 'Log' | 'MonitorTraffic' | 'CacheServiceResult' | 'OutboundAlias' | 'OutboundAnonymous' | 'HTTPInvoke' | 'InvokeMessagingExtension' | 'DataMasking' | 'TransformRequest' | 'TransformResponse' | 'Route' | 'MessageConfig' | 'HTTPEndpoint' | 'MockEndpoint' | 'MockResponse' | 'ErrorProcessing' | 'Set' | 'RateLimitDef' | 'RateLimit' | 'Redact' | 'Remove' | 'Transform' | 'DataPowerAssembly' | 'Switch' | 'If' | 'OperationSwitch' | 'Try' | 'IBMCloudLogin' | 'WatsonXAIInvoke' | 'OpenAIInvoke' | 'FreeFlowPolicySequence' | 'Block' | 'TokenMediation' | 'EnforceCircuitBreaker' | 'JavaScript' | 'LuaScript' | 'Cache' | 'Antivirus' | 'SQLInjectionFilter' | 'CountLimit' | 'CountLimitDef' | 'Return' | 'Retry' | 'Throw' | 'HandlebarsTemplate' | 'ExtractIdentity' | 'Authorize' | 'Authenticate' | 'Parse' | 'test' | 'assertion' | 'environment' | 'MCPTool' | 'MCPServerConfig'", "severity": "error", "given": "$", "then": { "field": "kind", "function": "schema", "functionOptions": { "schema": { "type": "string", "enum": [ "API", "Scope", "Project", "StagedPolicySequence", "InvokeAWSLambda", "ValidateAPISpecification", "CORS", "Quota", "Plan", "Product", "URISchemes", "properties", "Telemetry", "Properties", "LoadBalancer", "SetAuthorization", "Invoke", "GlobalPolicy", "InboundBulkHead", "SetMediaType", "InboundMessaging", "IAM", "AuthorizeUser", "SetContextVariable", "WebMethodsISService", "Log", "MonitorTraffic", "CacheServiceResult", "OutboundAlias", "OutboundAnonymous", "HTTPInvoke", "InvokeMessagingExtension", "DataMasking", "TransformRequest", "TransformResponse", "Route", "MessageConfig", "HTTPEndpoint", "MockEndpoint", "MockResponse", "ErrorProcessing", "Set", "RateLimitDef", "RateLimit", "Redact", "Remove", "Transform", "DataPowerAssembly", "Switch", "If", "OperationSwitch", "Try", "IBMCloudLogin", "WatsonXAIInvoke", "OpenAIInvoke", "FreeFlowPolicySequence", "Block", "TokenMediation", "EnforceCircuitBreaker", "JavaScript", "LuaScript", "Cache", "Antivirus", "SQLInjectionFilter", "CountLimit", "CountLimitDef", "Return", "Retry", "Throw", "HandlebarsTemplate", "ExtractIdentity", "Authorize", "Authenticate", "Parse", "test", "assertion", "environment", "MCPTool", "MCPServerConfig" ] } } } }, "kind-not-exist": { "description": "Kind does not exist.", "severity": "error", "given": "$", "resolved": false, "then": { "field": "kind", "function": "truthy" } }, "invalid-kind-value": { "description": "Kind must be 'test'", "severity": "error", "given": "$", "then": { "field": "kind", "function": "schema", "functionOptions": { "schema": { "type": "string", "enum": [ "test" ] } } } }, "invalid-kind-spl-character": { "description": "kind should not be having empty or special characters", "severity": "error", "given": "$", "resolved": false, "then": { "field": "kind", "function": "pattern", "functionOptions": { "match": "^(?![\\s\\W_]+$).+$" } } }, "invalid-api-version": { "description": "apiVersion must be one of the valid values 'api.ibm.com/v1'", "severity": "error", "given": "$", "resolved": false, "then": { "field": "apiVersion", "function": "schema", "functionOptions": { "schema": { "type": "string", "enum": [ "api.ibm.com/v1" ] } } } }, "api-version-not-exist": { "description": "apiVersion does not exist.", "severity": "error", "given": "$", "resolved": false, "then": { "field": "apiVersion", "function": "truthy" } }, "metadata-not-exist": { "description": "Metadata does not exist.", "severity": "error", "given": "$", "resolved": false, "then": { "field": "metadata", "function": "truthy" } }, "metadata-whitelist-check": { "description": "Metadata should not be having empty or special characters", "severity": "error", "given": "$", "resolved": false, "then": { "field": "metadata", "function": "pattern", "functionOptions": { "match": "^(?![\\s\\W_]+$).+$" } } }, "metadata-name-not-exist": { "description": "Metadata name does not exist", "severity": "error", "given": "$.metadata", "resolved": false, "then": { "field": "name", "function": "truthy" } }, "metadata-name-whitelist-check": { "description": "Metadata name should not be having empty or special characters", "severity": "error", "given": "$.metadata", "resolved": false, "then": { "field": "name", "function": "pattern", "functionOptions": { "match": "^(?![\\s\\W_]+$).+$" } } }, "metadata-version-not-exist": { "description": "Metadata version does not exist", "severity": "error", "given": "$.metadata", "resolved": false, "then": { "field": "version", "function": "truthy" } }, "metadata-version-whitelist-check": { "description": "Metadata version should not be having empty or special characters", "severity": "error", "given": "$.metadata", "resolved": false, "then": { "field": "version", "function": "pattern", "functionOptions": { "match": "^(?![\\s\\W_]+$).+$" } } }, "metadata-namespace-not-exist": { "description": "Metadata namespace does not exist", "severity": "warn", "given": "$.metadata", "resolved": false, "then": { "field": "namespace", "function": "truthy" } }, "metadata-namespace-whitelist-check": { "description": "Metadata namespace should not be having empty or special characters", "severity": "warn", "given": "$.metadata", "resolved": false, "then": { "field": "namespace", "function": "pattern", "functionOptions": { "match": "^(?![\\s\\W_]+$).+$" } } }, "spec-details-not-exist": { "description": "Spec details does not exist", "severity": "error", "given": "$", "resolved": false, "then": { "field": "spec", "function": "truthy" } }, "spec-details-whitelist-check": { "description": "Spec should not be having empty or special characters", "severity": "error", "given": "$", "resolved": false, "then": { "field": "spec", "function": "pattern", "functionOptions": { "match": "^(?![\\s\\W_]+$).+$" } } }, "tags-not-exist": { "description": "Tag does not exist", "severity": "warn", "given": "$.metadata", "resolved": false, "then": { "field": "tags", "function": "truthy" } }, "invalid-tag-type": { "description": "Invalid Tag Type", "severity": "error", "given": "$.metadata.tags", "resolved": false, "then": { "function": "schema", "functionOptions": { "schema": { "type": "array" } } } }, "$-metadata-description-type": { "description": "The description field must be of type string", "severity": "error", "given": "$.metadata.description", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-metadata-name-required": { "description": "The name field is required in the $.metadata", "severity": "error", "given": "$.metadata", "then": { "field": "name", "function": "defined" } }, "$-metadata-name-type": { "description": "The name field must be of type string", "severity": "error", "given": "$.metadata.name", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-metadata-namespace-type": { "description": "The namespace field must be of type string", "severity": "error", "given": "$.metadata.namespace", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-metadata-tags-type": { "description": "The tags field must be of type array", "severity": "error", "given": "$.metadata.tags", "then": { "function": "schema", "functionOptions": { "schema": { "type": "array" } } } }, "$-metadata-tags-items-type": { "description": "Items in the tags array must be of type string", "severity": "error", "given": "$.metadata.tags[*]", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-metadata-type-type": { "description": "The type field must be of type string", "severity": "error", "given": "$.metadata.type", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-metadata-type-enum": { "description": "The type field must be one of: REST, SWAGGER, SOAP, GRAPHQL, ODATA", "severity": "error", "given": "$.metadata.type", "then": { "function": "schema", "functionOptions": { "schema": { "enum": [ "REST", "SWAGGER", "SOAP", "GRAPHQL", "ODATA" ] } } } }, "$-metadata-version-required": { "description": "The version field is required in the $.metadata", "severity": "error", "given": "$.metadata", "then": { "field": "version", "function": "defined" } }, "$-metadata-version-type": { "description": "The version field must be of type string", "severity": "error", "given": "$.metadata.version", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-metadata-labels-type": { "description": "The labels field must be of type object", "severity": "error", "given": "$.metadata.labels", "then": { "function": "schema", "functionOptions": { "schema": { "type": "object" } } } }, "$-metadata-labels-gatewayTypes-type": { "description": "The gatewayTypes field must be of type array", "severity": "error", "given": "$.metadata.labels.gatewayTypes", "then": { "function": "schema", "functionOptions": { "schema": { "type": "array" } } } }, "$-metadata-labels-gatewayTypes-items-type": { "description": "Items in the gatewayTypes array must be of type string", "severity": "error", "given": "$.metadata.labels.gatewayTypes[*]", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-api-required": { "description": "The api field is required in the $.spec", "severity": "error", "given": "$.spec", "then": { "field": "api", "function": "defined" } }, "$-spec-api-type": { "description": "The api field must be of type object", "severity": "error", "given": "$.spec.api", "then": { "function": "schema", "functionOptions": { "schema": { "type": "object" } } } }, "$-spec-api-$ref-oneOf": { "description": "The $ref field must match the oneOf schema definition", "severity": "error", "given": "$.spec.api.$ref", "then": { "function": "schema", "functionOptions": { "schema": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] } } } }, "$-spec-api-$endpoint-type": { "description": "The $endpoint field must be of type string", "severity": "error", "given": "$.spec.api.$endpoint", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-api-no-additional-properties": { "description": "The api object should only contain the defined properties: $ref, $endpoint", "severity": "error", "given": "$.spec.api", "then": { "function": "schema", "functionOptions": { "schema": { "additionalProperties": false, "properties": { "$ref": {}, "$endpoint": {} } } } } }, "$-spec-environment-oneOf": { "description": "The environment field must match the oneOf schema definition", "severity": "error", "given": "$.spec.environment", "then": { "function": "schema", "functionOptions": { "schema": { "oneOf": [ { "type": "object", "additionalProperties": false, "properties": { "$ref": { "type": "string" }, "variables": { "type": "array", "items": { "type": "object", "required": [ "key", "value" ], "additionalProperties": false, "properties": { "key": { "type": "string" }, "value": { "type": "string" }, "isSecret": { "type": "boolean", "default": false } }, "if": { "properties": { "isSecret": { "const": true } } }, "then": { "properties": { "value": { "type": "string", "pattern": "^\\$\\(.+\\)$", "description": "When isSecret is true, value must be wrapped as $(key)" } } } } } } }, { "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "$ref": { "type": "string" }, "variables": { "type": "array", "items": { "type": "object", "required": [ "key", "value" ], "additionalProperties": false, "properties": { "key": { "type": "string" }, "value": { "type": "string" }, "isSecret": { "type": "boolean", "default": false } }, "if": { "properties": { "isSecret": { "const": true } }, "then": { "properties": { "value": { "type": "string", "pattern": "^\\$\\(.+\\)$", "description": "When isSecret is true, value must be wrapped as $(key)" } } } } } } } } } ] } } } }, "$-spec-environment-$ref-type": { "description": "The $ref field must be of type string", "severity": "error", "given": "$.spec.environment.$ref", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-environment-variables-type": { "description": "The variables field must be of type array", "severity": "error", "given": "$.spec.environment.variables", "then": { "function": "schema", "functionOptions": { "schema": { "type": "array" } } } }, "$-spec-environment-variables-items-type": { "description": "Items in the variables array must be of type object", "severity": "error", "given": "$.spec.environment.variables[*]", "then": { "function": "schema", "functionOptions": { "schema": { "type": "object" } } } }, "$-spec-environment-variables[*]-key-type": { "description": "The key field must be of type string", "severity": "error", "given": "$.spec.environment.variables[*].key", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-environment-variables[*]-value-type": { "description": "The value field must be of type string", "severity": "error", "given": "$.spec.environment.variables[*].value", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-environment-variables[*]-isSecret-type": { "description": "The isSecret field must be of type boolean", "severity": "error", "given": "$.spec.environment.variables[*].isSecret", "then": { "function": "schema", "functionOptions": { "schema": { "type": "boolean" } } } }, "$-spec-environment-variables-no-additional-properties": { "description": "The variables object should only contain the defined properties: key, value, isSecret", "severity": "error", "given": "$.spec.environment.variables[*]", "then": { "function": "schema", "functionOptions": { "schema": { "additionalProperties": false, "properties": { "key": {}, "value": {}, "isSecret": {} } } } } }, "$-spec-environment-variables-items-conditional": { "description": "Items in the variables array must satisfy conditional validation: when isSecret is true, value must match pattern ^\\$\\(.+\\)$", "severity": "error", "given": "$.spec.environment.variables[*]", "then": { "function": "schema", "functionOptions": { "schema": { "if": { "properties": { "isSecret": { "const": true } } }, "then": { "properties": { "value": { "type": "string", "pattern": "^\\$\\(.+\\)$", "description": "When isSecret is true, value must be wrapped as $(key)" } } } } } } }, "$-spec-environment-variables-items-value-conditional-pattern": { "description": "When isSecret is true, value must be wrapped as $(key)", "message": "When isSecret is true, value must be wrapped as $(key)", "severity": "error", "given": "$.spec.environment.variables[*]", "then": { "function": "schema", "functionOptions": { "schema": { "if": { "properties": { "isSecret": { "const": true } } }, "then": { "properties": { "value": { "type": "string", "pattern": "^\\$\\(.+\\)$" } } } } } } }, "required:$.spec.environment.variables[*]:key": { "description": "The key field is required in variables array items", "severity": "error", "given": "$.spec.environment.variables[*]", "then": { "field": "key", "function": "defined" } }, "type:$.spec.environment.variables[*].key:string": { "description": "The key field in variables array items must be of type string", "severity": "error", "given": "$.spec.environment.variables[*].key", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "required:$.spec.environment.variables[*]:value": { "description": "The value field is required in variables array items", "severity": "error", "given": "$.spec.environment.variables[*]", "then": { "field": "value", "function": "defined" } }, "type:$.spec.environment.variables[*].value:string": { "description": "The value field in variables array items must be of type string", "severity": "error", "given": "$.spec.environment.variables[*].value", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "type:$.spec.environment.variables[*].isSecret:boolean": { "description": "The isSecret field in variables array items must be of type boolean", "severity": "error", "given": "$.spec.environment.variables[*].isSecret", "then": { "function": "schema", "functionOptions": { "schema": { "type": "boolean" } } } }, "no-additional-properties:$.spec.environment.variables[*]": { "description": "Items in the variables array should only contain the defined properties: key, value, isSecret", "severity": "error", "given": "$.spec.environment.variables[*]", "then": { "function": "schema", "functionOptions": { "schema": { "additionalProperties": false, "properties": { "key": {}, "value": {}, "isSecret": {} } } } } }, "$-spec-request-required": { "description": "The request field is required in the $.spec", "severity": "error", "given": "$.spec", "then": { "field": "request", "function": "defined" } }, "$-spec-request-type": { "description": "The request field must be of type array", "severity": "error", "given": "$.spec.request", "then": { "function": "schema", "functionOptions": { "schema": { "type": "array" } } } }, "$-spec-request-items-type": { "description": "Items in the request array must be of type object", "severity": "error", "given": "$.spec.request[*]", "then": { "function": "schema", "functionOptions": { "schema": { "type": "object" } } } }, "$-spec-request[*]-endpoint-type": { "description": "The endpoint field must be of type string", "severity": "error", "given": "$.spec.request[*].endpoint", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-request[*]-method-type": { "description": "The method field must be of type string", "severity": "error", "given": "$.spec.request[*].method", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-request[*]-if-oneOf": { "description": "The if field must match the oneOf schema definition", "severity": "error", "given": "$.spec.request[*].if", "then": { "function": "schema", "functionOptions": { "schema": { "oneOf": [ { "type": "boolean" }, { "type": "string" } ] } } } }, "$-spec-request[*]-stopOnFail-type": { "description": "The stopOnFail field must be of type boolean", "severity": "error", "given": "$.spec.request[*].stopOnFail", "then": { "function": "schema", "functionOptions": { "schema": { "type": "boolean" } } } }, "$-spec-request[*]-skipped-type": { "description": "The skipped field must be of type boolean", "severity": "error", "given": "$.spec.request[*].skipped", "then": { "function": "schema", "functionOptions": { "schema": { "type": "boolean" } } } }, "$-spec-request[*]-resource-type": { "description": "The resource field must be of type string", "severity": "error", "given": "$.spec.request[*].resource", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-request[*]-headers-type": { "description": "The headers field must be of type array", "severity": "error", "given": "$.spec.request[*].headers", "then": { "function": "schema", "functionOptions": { "schema": { "type": "array" } } } }, "$-spec-request[*]-headers-items-type": { "description": "Items in the headers array must be of type object", "severity": "error", "given": "$.spec.request[*].headers[*]", "then": { "function": "schema", "functionOptions": { "schema": { "type": "object" } } } }, "$-spec-request[*]-headers[*]-key-type": { "description": "The key field must be of type string", "severity": "error", "given": "$.spec.request[*].headers[*].key", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-request[*]-headers[*]-value-type": { "description": "The value field must be of type string", "severity": "error", "given": "$.spec.request[*].headers[*].value", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-request[*]-headers[*]-description-type": { "description": "The description field must be of type string", "severity": "error", "given": "$.spec.request[*].headers[*].description", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "required:$.spec.request[*].headers[*]:key": { "description": "The key field is required in headers array items", "severity": "error", "given": "$.spec.request[*].headers[*]", "then": { "field": "key", "function": "defined" } }, "type:$.spec.request[*].headers[*].key:string": { "description": "The key field in headers array items must be of type string", "severity": "error", "given": "$.spec.request[*].headers[*].key", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "required:$.spec.request[*].headers[*]:value": { "description": "The value field is required in headers array items", "severity": "error", "given": "$.spec.request[*].headers[*]", "then": { "field": "value", "function": "defined" } }, "type:$.spec.request[*].headers[*].value:string": { "description": "The value field in headers array items must be of type string", "severity": "error", "given": "$.spec.request[*].headers[*].value", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "type:$.spec.request[*].headers[*].description:string": { "description": "The description field in headers array items must be of type string", "severity": "error", "given": "$.spec.request[*].headers[*].description", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-request[*]-auth-type": { "description": "The auth field must be of type object", "severity": "error", "given": "$.spec.request[*].auth", "then": { "function": "schema", "functionOptions": { "schema": { "type": "object" } } } }, "$-spec-request[*]-auth-noauth-type": { "description": "The noauth field must be of type boolean", "severity": "error", "given": "$.spec.request[*].auth.noauth", "then": { "function": "schema", "functionOptions": { "schema": { "type": "boolean" } } } }, "$-spec-request[*]-auth-bearerToken-type": { "description": "The bearerToken field must be of type string", "severity": "error", "given": "$.spec.request[*].auth.bearerToken", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-request[*]-auth-basicAuth-type": { "description": "The basicAuth field must be of type object", "severity": "error", "given": "$.spec.request[*].auth.basicAuth", "then": { "function": "schema", "functionOptions": { "schema": { "type": "object" } } } }, "$-spec-request[*]-auth-basicAuth-username-required": { "description": "The username field is required in the $.spec.request[*].auth.basicAuth", "severity": "error", "given": "$.spec.request[*].auth.basicAuth", "then": { "field": "username", "function": "defined" } }, "$-spec-request[*]-auth-basicAuth-username-type": { "description": "The username field must be of type string", "severity": "error", "given": "$.spec.request[*].auth.basicAuth.username", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-request[*]-auth-basicAuth-password-required": { "description": "The password field is required in the $.spec.request[*].auth.basicAuth", "severity": "error", "given": "$.spec.request[*].auth.basicAuth", "then": { "field": "password", "function": "defined" } }, "$-spec-request[*]-auth-basicAuth-password-type": { "description": "The password field must be of type string", "severity": "error", "given": "$.spec.request[*].auth.basicAuth.password", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-request[*]-auth-no-additional-properties": { "description": "The auth object should only contain the defined properties: noauth, bearerToken, basicAuth", "severity": "error", "given": "$.spec.request[*].auth", "then": { "function": "schema", "functionOptions": { "schema": { "additionalProperties": false, "properties": { "noauth": {}, "bearerToken": {}, "basicAuth": {} } } } } }, "$-spec-request[*]-payload-type": { "description": "The payload field must be of type object", "severity": "error", "given": "$.spec.request[*].payload", "then": { "function": "schema", "functionOptions": { "schema": { "type": "object" } } } }, "$-spec-request[*]-payload-raw-type": { "description": "The raw field must be of type object", "severity": "error", "given": "$.spec.request[*].payload.raw", "then": { "function": "schema", "functionOptions": { "schema": { "type": "object" } } } }, "$-spec-request[*]-payload-raw-json-type": { "description": "The json field must be of type string", "severity": "error", "given": "$.spec.request[*].payload.raw.json", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-request[*]-payload-raw-js-type": { "description": "The js field must be of type string", "severity": "error", "given": "$.spec.request[*].payload.raw.js", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-request[*]-payload-raw-html-type": { "description": "The html field must be of type string", "severity": "error", "given": "$.spec.request[*].payload.raw.html", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-request[*]-payload-raw-xml-type": { "description": "The xml field must be of type string", "severity": "error", "given": "$.spec.request[*].payload.raw.xml", "then": { "function": "schema", "functionOptions": { "schema": { "type": "string" } } } }, "$-spec-request[*]-payload-raw-no-additional-properties": {